question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Direct Line] Bot not responding to user messages. Giving Directline error : "[500] Internal Server Error"

See original GitHub issue

Bot 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:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:27 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
nwhitmontcommented, Dec 18, 2017

Update: We found the problem and have implemented a fix.

Performance should be improving now.

1reaction
nwhitmontcommented, Dec 19, 2017

Thanks for confirming guys.

Closing as resolved.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found