Closed Vismar closed 7 years ago
Solution was implemented. Need to be tested (run app and leave it be for a while).
App was launched 12+ hours ago, still working perfectly. That means solution was right,
After some research I've come to conclusion, that socket was closed externally on router or another hardware because of inactive connection. Hope implemented solution will work perfectly without any upgrades in distant future.
Description
If chat is inactive (no messages from bot or viewers), after a few minutes bot stops receiving messages, but connection is still active. Root cause of that problem not clear, because bot do not received any messages about lost connection, disconnecting from channel or anything else. But may be described solution will help.
Solution