Getting error 'There was an error sending this message to your bot: HTTP status code GatewayTimeout ' email channel in MS bot - botframework

I have published a bot in bot framework and it is working in test window of the bot framework. Then I configured the bot with email channel with office 365 mail. I am getting the error:
There was an error sending this message to your bot: HTTP status code GatewayTimeout

You probably have this message because you did not use your endpoint for some time. One possibility to try to avoid those timeout is to set your published bot to Always On on Azure

Related

Azure bot framework Slack channel "Slack API error" because of token_expired

I have a self-hosted Azure bot with a Slack channel. The bot is able to send proactive messages and respond to user mentions after I authorized it with Slack. However, this stops working after some period of inactivity. The request via botbuilder sdk results in "Slack API error" and the underlying error appears to be token_expired.
await turnContext.sendActivity({ text: 'Some message...', textFormat: 'markdown' });
I assumed that token refresh should be fully handled within the framework. Has anyone encountered this issue? Is there some specific configuration that is required?

Send message from telegram bot to viber bot

I have a bot working on Laravel Framework, there is a need to send a message to Viber bot. Is it possible?
As I know Telegram doesn't support API to sending messages to external systems like Viber.
But you always can send message from Telegram bot to your server, and then forward this message from server to Viber.

How to request undelivered messages in BotFramework?

I can send a message to Skype user and I can receive message from him. But I can't get messages that user sent to bot while server is down.
For example, Facebook Messenger Platform will resend the webhook event every 20 seconds, until a 200 OK response is received. Viber also used webhook url. But Skype does not resend to my bot at least 15 minuts.
I realized a simple Echo Bot. The bot messaging endpoint isn't Azure. The bot is not published, but can be added to Skype contacts. I use REST API.
Any help is welcome. Sorry for my bad English

MS bot not working on Skype for Business

I have registered an MS bot on over Skype for business channel, the bot was searchable and responding for few days but no I am getting below error in "Bot Channel registration">channels> issues
"There was an error sending this message to your bot: HTTP status code NotFound".
On SFB I get error
"Error happened in Skype for Business service when reaching bot service".
Bot is hosted over azure in web API working and fine in Web channel, whereas with SFB its not hitting the API endpoint.
Every time I send a message from skype for businesss, I get the same error on bot channel registration.
Environment is a hybrid of Lync 2010 and Skype for business online and after registration bot was searchable and responding to users on SFB online.
What could be the possible reason for this error?
For my situation I realized that if I dont change messaging endpoint area everything goes well.I mean I was adding Microsoft App Id to my endpoint like https://myendpoint/{{MicrosoftAppId}} after bot created .It is because you can have your microsoft app id after you create the bot.What is awkard is that despite messaging endpoint looks an editable area when I change it I am falling into error place where my endpoint is never called[again webchannel works fine , it looks Skype For Business needs some refactoring]. However I found that if I dont change this endpoint url bot works fine for Skype For Business and my endpoint is hit successfully .So keep your messaging endpoint constant and set it only when creating your bot.

Microsoft botframework and Slack configuration

I'm using Microsoft's botframework to create a Slack bot, however I'm running into 2 problems.
When I do "Test connection to your bot" I'm getting
InternalServerError
no_text
When I type in the test chat console on the botframework page, the messages are received in my slack general channel. However, when I as a user in my slack and type in the general channel, whatever I type the bot also generate the same message. i.e.
me: Hello
bot: Hello
I think it's how I set up my configuration for the slack bot app and/or the messaging endpoint of my botframework bot.
Thanks.

Resources