500 server error using facebook
Bot Info
- Bot handle: informatics-lab-sol
- App ID: c0dd83ca-0370-4310-96a6-c418c924870f
- SDK Platform: Node.js
- SDK Version: 3.9.1
- Active Channels: Facebook
- Deployment Environment: aws ec2
Issue Description
My service is returning 500s constantly
Error: Request to 'https://state.botframework.com/v3/botstate/facebook/users/1420943404688109' failed: [500] Internal Server Error
I am experiencing the same thing. Is there a status page somewhere?
I found this page, but it shows the service as being up.
https://azure.microsoft.com/en-gb/status/
Same error 500 here. Like 3 hours ago, we started to have this kind of errors in both our development (own openstack servers) and production environments (azure North EU). Azure services status page does not show any alarm. Any help is appreciated...
Thanks for reporting this. We will investigate, and report back our findings asap.
(Note, the azure status page does not show Bot Framework connector status. We are working on a status page.)
the service is up, but it keeps having the same issue.. Thanks Eric,hope we find it soon,because it was all of the sudden without any change..
can you give us any more information?
Would appreciate an update soon, as we have a release slated for later this afternoon that will be impacted...
I have the exact same issue and this is a serious, high priority bug for our users. We have an enormous launch to thousands of people in just 2 hours...
I went into chatconnector.js and printed the body response back from Microsoft, and I get this
{ error:
{ code: 'ServiceError',
message: 'Null properties cannot be encrypted. Please assign a default value to the property if you wish to encrypt it.' } }
Error: Request to 'https://state.botframework.com/v3/botstate/facebook/users/2014981635209074' failed: [500] Internal Server Error
at Request._callback (/app/node_modules/botbuilder/lib/bots/ChatConnector.js:514:46)
at Request.self.callback (/app/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.
Likewise here. We have a user study and demo this afternoon. This is a very serious problem.
We are actively investigating this. Will update when we have more details
We're also experiencing the issue and its having a fairly large impact to us.
ddos? Big brother, speak to us. ETA? Seems like SMS chat works, slack should not. Also guess it is on FB and Slack side.
Looks like it has started working.
Yes, confirmed. My dev and prod bots are working again! Thanks!
We were experiencing similar issues earlier; looks like things have settled now. Is there any change of getting a status page anytime soon?
Oh wow, thank goodness, up and running 1.5 hours before our launch. Hopefully it's stabilized now.
Yes, thank you! Back up and running now. Any information on what caused this?
There was an issue with null values in bot properties. We have done a rollback to fix the issue and are working on a hot fix to correct it permanently.
Thank you everyone, for reporting this to us. Please open a new issue if you run into any new problems.
Everyone please note: "By default, the Bot Framework SDK for .NET stores state data using the Bot Framework State service, which is intended for prototyping only and is not designed for use by bots in a production environment." https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-state
Please consider using the Azure Extensions, or implementing a custom state client: https://blog.botframework.com/2017/07/18/saving-state-azure-extensions/
Note: Bots using a custom state client did not experience these issues on September 15th.