Vismar / CinderBot

Desktop twitch bot.
http://cinderbot.com/en/
GNU General Public License v3.0
7 stars 2 forks source link

Connection lost #24

Closed Vismar closed 7 years ago

Vismar commented 7 years ago

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

Vismar commented 7 years ago

Solution was implemented. Need to be tested (run app and leave it be for a while).

Vismar commented 7 years ago

Result

App was launched 12+ hours ago, still working perfectly. That means solution was right,

Root cause

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.