icedream / ts3bot-control

(Stalled. "voicybot" will replace this repository eventually.) The control application for the open-sourced TeamSpeak3 Bot.
4 stars 1 forks source link

Bind failure not being caught properly leads to bot no longer responding #33

Open icedream opened 8 years ago

icedream commented 8 years ago
bot_1 | warn: [TS3Client] TeamSpeak3 unexpectedly terminated!
bot_1 | warn: [TS3Client] Restarting in 5 seconds...
bot_1 | info: [Main] TS3 query now ready.
bot_1 | error: [TS3Client] Query: bind failed on 127.0.0.1:25639

For details, see comments.

icedream commented 8 years ago

After investigating this issue it seems that the TS3 client reports back that its process has been terminated, however it keeps running with the error_report binary as its child. Conclusion of this is that this is a result of a client crash. The reasons for this are still unknown however the crash seems to happen more often (not always) when the bot is idling for a long time.

Main priority should be for now to get the bot to restart the client properly, avoiding the bind failure by actively terminating all left-over processes by the old client. After that is in place, we can debug further to fix the TeamSpeak3 client crash itself, if possible.