-
What version of pyTelegramBotAPI are you using? 3.7.4
-
What OS are you using? probably Raspbian
-
What version of python are you using? 3.6.9
A user of a bot of mine has problems where a long running instance is crashing regularly (ModischFabrications/MineGramBot#4). The issue seems to be in the session handling of pyTelegramBotAPI. I already looked at #483, but it does not seem to fix this problem. See the log attached to the issue for details.
A easy fix would be to wrap my call to bot.polling(none_stop=True) in a while loop and restart on error, but this is hardly a solution.