Open ogrady opened 5 years ago
Note: I have also tried removing the version requirement from the ts3
package. The error still remains with the latest version ts3==1.0.11
.
Awesome details here. Reading what you have so far it almost sounds like the Bot tries to rejoin but is seeing its old session still timing out. Will try to check into it.
I have poked around a little more and several users seem to have/ had problems with the used ts3
library, which seem to have gone away randomly. One user reports using ts3 v2
resolves his issues (https://github.com/benediktschmitt/py-ts3/issues/77#issuecomment-465211642).
The interface has changed quite a bit between versions, but I will attempt to do a quick port to the new version and see if that resolves the timeouts.
Good news is, with https://github.com/benediktschmitt/py-ts3/tree/v2 the bot doesn't seem to die. Bad news is, of course, since I had to touch basically every part of the bot, I have to do a whole lot of retesting. I will try to get that done asap and push the changes to my fork which I can pr to the main repository if you want.
I have now for a while tried to battle the timeouts on the bot.
which unfortunately has this follow-up exception that prevents self-healing:
It happens with:
I have already tried changing the
keepalive
value in https://github.com/metalfiiish/ts-gw2-verifyBot/blob/master/TS3Bot.py#L364 to no avail.I realise that this seems to be a problem with the underlying library, but I just wanted to check if there is perhaps a known solution to this.