You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you don't handle the timeouts, the connection will timeout after the default 300 seconds (5 minutes).
I don't know, how you have implemented this feature into your website, so I can't tell you what you need to change to avoid any kind of timeouts on the website. The above code will only avoid timeouts of the bot itself, when nothing happens for a specific time.
Hi,
I used the example of Creating a simple bot that listens for events but when I write to the bot I always get a timeout on my website.
I'm using Cloudflare, could that be the problem?
The text was updated successfully, but these errors were encountered: