[Direct Line] Bot not responding to user messages. Giving Directline error : "[500] Internal Server Error"
See original GitHub issueBot Info
- SDK Platform: NodeJS
- SDK Version: 3.12.0
- Active Channels: Direct Line, Facebook
- Deployment Environment: Manual deployment in VMs of Azure IaaS
- Region of bot deployment: West Europe
Issue Description
Bot suddenly stopped working. It is not responding to user messages randomly. Showing below errors in logs:
Error: Request to 'https://directline.botframework.com/v3/conversations/<some-id>/activities/<some-id>' failed: [500] Internal Server Error
at Request._callback (/usr/src/app/node_modules/bot-services/node_modules/botbuilder/lib/bots/ChatConnector.js:535:46)
at Request.self.callback (/usr/src/app/node_modules/bot-services/node_modules/request/request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:194:7)
at Request.<anonymous> (/usr/src/app/node_modules/bot-services/node_modules/request/request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:191:7)
at IncomingMessage.<anonymous> (/usr/src/app/node_modules/bot-services/node_modules/request/request.js:1091:12)
at Object.onceWrapper (events.js:293:19)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)
Code Example
Reproduction Steps
Expected Behavior
Actual Results
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:27 (4 by maintainers)
Top Results From Across the Web
[Direct Line] Bot not responding to user messages. Giving ...
[Direct Line] Bot not responding to user messages. Giving Directline error : "[500] Internal Server Error" #3948.
Read more >c# - Getting an "Internal Server Error" when trying to post ...
However, I then attempt to post a message to the thread, and I'm getting a "Internal Server Error", error code 500. The only...
Read more >Troubleshooting Azure Bot Service bots - Microsoft Learn
Direct Line 3.0 returns HTTP status code 502 when it tries to contact your bot but the request doesn't complete successfully. This error...
Read more >Known issues - Microsoft Open Source
If you experience a HTTP 500 (server error) error when invoking a Skill with an exception message as shown: Exception Message: Error invoking...
Read more >Failed To Connect (500) To Bot Framework Using Direct Line
Consistent 500 Server Error When using postActivity function of DirectLine object the ReactWebChat component of botframework-webchat with a DirectLine ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Update: We found the problem and have implemented a fix.
Performance should be improving now.
Thanks for confirming guys.
Closing as resolved.