sachin
sachin

Reputation: 43

Getting Unable to Connect error on Azure Bot

I have an Azure Bot deployed and running on Directline channel on web page. The bot works well but leaving the bot a few mins idle, results in an error with the message "Unable to connect". I need to refresh the page to restart the bot. How can I avoid this timeout?

Upvotes: 2

Views: 655

Answers (1)

AP01
AP01

Reputation: 850

As the documentation states, Direct Line connections persist for a set amount of time until they timeout. Once the connection has closed, you will need to reconnect to the conversation to regain connection with the bot. Refreshing the page has a similar effect in that you are establishing a new connection with the bot.

Upvotes: 2

Related Questions