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

Telegram bot doesnt seem to be working properly since v3

Open Orbyt opened this issue 10 years ago • 7 comments

Recently upgraded to v3 and redeployed to telegram. When starting a new converstation, I get the following in bold:

"Sorry, MyBot is forbidden for us to talk to."

I did not find any information on this error from Telegram, and since i've only seen this happen since upgrading to v3 I would assume the issue is something on BotBuilder's end. Has anyone seen this error?

Edit: Seems to be related: https://github.com/Microsoft/BotBuilder/issues/618#issuecomment-231798914

Orbyt avatar Jul 16 '16 00:07 Orbyt

Hi @Orbyt, this error message is returned when the connector tries to send your bot a message, and your bot service returns a 401 (Unauthorized) or a 403 (Forbidden). This could happen for a number of reasons. We are requiring https endpoints now. Is your bot using http by chance?

eanders-ms avatar Jul 16 '16 05:07 eanders-ms

@eanders-MS No, the messaging endpoint is https. What else could cause this error?

Also note, the bot seems to work fine on both the emulator and Facebook Messenger.

Edit: If it was returning a 401 or 403 http error wouldnt I see that in my Azure dashboard? I dont see any errors listed there.

Orbyt avatar Jul 16 '16 17:07 Orbyt

We're tracing down some issues in the auth validation path.

Is your bot written in C#, Node.js, or another language?

dandriscoll avatar Jul 17 '16 00:07 dandriscoll

@dandriscoll Node.js

Orbyt avatar Jul 17 '16 16:07 Orbyt

I also get this with my Node.js bot(v3). It actually works fine for a bit and will just hit 403s all of a sudden. When I then resubmit the same auth key it works again for a bit. My bot is running on https on an Azure free account.

pietie avatar Jul 18 '16 04:07 pietie

We're still working to track down intermittent auth issues. We've added additional instrumentation to the Telegram channel. Are you still seeing the problem there?

eanders-ms avatar Jul 20 '16 06:07 eanders-ms

@Orbyt @pietie @alisiikh We've recently made some updates, do you still see the issue?

danmarshall avatar Jul 26 '16 02:07 danmarshall