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

Skype Error: internal channel failure

Open Noc2 opened this issue 9 years ago • 7 comments

In last few days I sometimes get the following message (I think since I updated to 3.5.5): “There was an error completing this request due to an internal channel failure.”

It appears only on skype. Facebook Messenger seems to work fine. Does anyone know what this means?

Noc2 avatar Mar 21 '17 20:03 Noc2

Tips to troubleshoot and consider attaching a debugger or using App Insights to get more details.

fanidamj-zz avatar Mar 27 '17 18:03 fanidamj-zz

@Noc2 Could you please share your bot msa app id, and I will search backend logs for errors. Thank you!

konstlut avatar Mar 31 '17 12:03 konstlut

Microsoft App ID is 64ba2a82-af90-43f0-8aea-42a95405a1ba Since a few days I’m using App Insights, but I couldn’t determine the exact source of the problem. I’m currently rewriting a lot of the code of my bot. I hope that will improve the performance and solve this problem. At the beginning, I came up with my own solution for multiple dialogs, state, and IScorable, which probably wasn’t a good idea ;-).

Noc2 avatar Mar 31 '17 19:03 Noc2

@Noc2 can you please check if you still experience this issue? We made some fixes recently and couldn't find any new channel failures with your bot since then.

aery-aery avatar Apr 07 '17 10:04 aery-aery

Thanks. Problem seems to be solved.

Noc2 avatar Apr 09 '17 14:04 Noc2

Since the last week, I have this issue again. After some further testing with ngrok, I think the problem appears when Request.CreateResponse(HttpStatusCode.OK) isn’t send in a certain time window (around 10 seconds, probably because of slow API calls). Getting another error message, in this case, might be helpful.

Noc2 avatar Apr 20 '17 11:04 Noc2

I am having the same issue. Getting the message There was an error completing this request due to an internal channel failure.
I am using ngrok to debug my bot code at the ngrok endpoint OPTIONS /api/messages is being invoked instead on POST/api/messages. Any help?

annevah avatar Feb 26 '18 07:02 annevah