pyTelegramBotAPI icon indicating copy to clipboard operation
pyTelegramBotAPI copied to clipboard

Error timeout not working as expected on async

Open coder2020official opened this issue 1 year ago • 1 comments

There have been reports saying that error timeout is not working as expected in async during 429 issues.

coder2020official avatar Aug 11 '24 15:08 coder2020official

This is true. Any exception is ignored in infinity polling. If a token is revoked while running, e.g. it becomes compromised and Telegram revokes it, the 401 error is also ignored and polling keeps retrying despite spamming that it's unauthorized in the logs.

Here is an example of 429 being ignored. IMG_20240815_152956_314

All-The-Foxes avatar Aug 15 '24 19:08 All-The-Foxes

Is it still actual?

Badiboy avatar Sep 18 '24 09:09 Badiboy

couldn't reproduce.

coder2020official avatar Sep 18 '24 13:09 coder2020official