botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Performance] Refresh Access Token Failed with Status code: 400

Open sharmadine opened this issue 9 years ago • 22 comments

System Information (Required)

  • SDK Language: NODE
  • SDK Version: 3.7.0
  • Development Environment: LOCALHOST, AZURE_APP_SERVICE

Issue Description

Our Production Bot is deployed and configured for FB, Slack, Skype, Web. It was working perfectly well across channels. There's no new code / release to the prod env.

Since 30 mins, the bot is down with errors in log files - refresh access token issue. Please find the log entries below.

I am not sure what's the issue. The Bot just stopped working, which seems some issues with Token Issue / Refresh API Endpoints.

2017-07-25T18:25:04.264999000Z Error: Refresh access token failed with status code: 400
2017-07-25T18:25:04.265192000Z     at Request._callback (/usr/src/app/node_modules/botbuilder/lib/bots/ChatConnector.js:489:28)
2017-07-25T18:25:04.265351000Z     at Request.self.callback (/usr/src/app/node_modules/request/request.js:187:22)
2017-07-25T18:25:04.265478000Z     at emitTwo (events.js:106:13)
2017-07-25T18:25:04.265627000Z     at Request.emit (events.js:194:7)
2017-07-25T18:25:04.265760000Z     at Request.<anonymous> (/usr/src/app/node_modules/request/request.js:1044:10)
2017-07-25T18:25:04.265870000Z     at emitOne (events.js:96:13)
2017-07-25T18:25:04.266006000Z     at Request.emit (events.js:191:7)
2017-07-25T18:25:04.266130000Z     at IncomingMessage.<anonymous> (/usr/src/app/node_modules/request/request.js:965:12)
2017-07-25T18:25:04.266257000Z     at emitNone (events.js:91:20)
2017-07-25T18:25:04.266393000Z     at IncomingMessage.emit (events.js:188:7)
2017-07-25T18:25:04.266521000Z     at endReadableNT (_stream_readable.js:975:12)
2017-07-25T18:25:04.266649000Z     at _combinedTickCallback (internal/process/next_tick.js:80:11)
2017-07-25T18:25:04.266826000Z     at process._tickDomainCallback (internal/process/next_tick.js:128:9)2017-07-25T18:25:04.264999000Z Error: Refresh access token failed with status code: 400
2017-07-25T18:25:04.265192000Z     at Request._callback (/usr/src/app/node_modules/botbuilder/lib/bots/ChatConnector.js:489:28)
2017-07-25T18:25:04.265351000Z     at Request.self.callback (/usr/src/app/node_modules/request/request.js:187:22)
2017-07-25T18:25:04.265478000Z     at emitTwo (events.js:106:13)
2017-07-25T18:25:04.265627000Z     at Request.emit (events.js:194:7)
2017-07-25T18:25:04.265760000Z     at Request.<anonymous> (/usr/src/app/node_modules/request/request.js:1044:10)
2017-07-25T18:25:04.265870000Z     at emitOne (events.js:96:13)
2017-07-25T18:25:04.266006000Z     at Request.emit (events.js:191:7)
2017-07-25T18:25:04.266130000Z     at IncomingMessage.<anonymous> (/usr/src/app/node_modules/request/request.js:965:12)
2017-07-25T18:25:04.266257000Z     at emitNone (events.js:91:20)
2017-07-25T18:25:04.266393000Z     at IncomingMessage.emit (events.js:188:7)
2017-07-25T18:25:04.266521000Z     at endReadableNT (_stream_readable.js:975:12)
2017-07-25T18:25:04.266649000Z     at _combinedTickCallback (internal/process/next_tick.js:80:11)
2017-07-25T18:25:04.266826000Z     at process._tickDomainCallback (internal/process/next_tick.js:128:9)

sharmadine avatar Jul 25 '17 19:07 sharmadine

@sharmadine Thanks for reporting. We are experiencing a service interruption and we've got multiple engineers looking into it. Will update you when we have more details.

nwhitmont avatar Jul 25 '17 19:07 nwhitmont

Hi @nwhitmont

Same here Thank you for fast response. We will wait

Cartman720 avatar Jul 25 '17 19:07 Cartman720

Also having the issue.

rrdelaney avatar Jul 25 '17 19:07 rrdelaney

+1, for myself and my clients.

srozga avatar Jul 25 '17 19:07 srozga

+1 Let us know when it is fixed

toxtli avatar Jul 25 '17 19:07 toxtli

+1, arg

mdeshields avatar Jul 25 '17 19:07 mdeshields

+1 bot is on mute

10p30pl3 avatar Jul 25 '17 19:07 10p30pl3

+1

ericvanisko avatar Jul 25 '17 19:07 ericvanisko

+1

stevefox avatar Jul 25 '17 20:07 stevefox

+1

luis-sambiase avatar Jul 25 '17 20:07 luis-sambiase

+1

xjose97x avatar Jul 25 '17 20:07 xjose97x

plus one

rcarmonad avatar Jul 25 '17 20:07 rcarmonad

same here

LeonBirk avatar Jul 25 '17 20:07 LeonBirk

We all know that it is still in Preview, but, for those who have their Bots under BotFramework infraestructure... how do you explain this downtime to your customers?

RodrigoRVieira avatar Jul 25 '17 20:07 RodrigoRVieira

same

binhpht avatar Jul 25 '17 20:07 binhpht

+1

mpuchi avatar Jul 25 '17 21:07 mpuchi

I seem to have improved

yavuzKomecoglu avatar Jul 25 '17 21:07 yavuzKomecoglu

The incident has been resolved, bots should be back to normal activity now.

nwhitmont avatar Jul 25 '17 21:07 nwhitmont

Yes, the bot is alive again... thanks.

sharmadine avatar Jul 25 '17 21:07 sharmadine

my bot is still not replying?

xjose97x avatar Jul 25 '17 21:07 xjose97x