Closed HeroadZ closed 1 month ago
Messages from bots have a very low priority on the server side of Telegram (i.e. Telegram DCs). When a Telegram DC is under high server loads ("service degradation"), bot messages are dropped severely. As a result, the DC asks bots not to send more messages by returning FloodWaitError
with an absurd delay.
We can do nothing but wait for the DC to recover from the service degradation.
~Currently, DC5 is under service degradation and @RSStT_Bot is also suffering from the same error.~ Your bot also seems to belong to DC5.
Thank you for detailed response!
Is it possible to solve this problem by recreating a bot of other DC(seems like assigned randomly)? This problem has existed for at least half year, I don't think it will be solved recently lol
Is it possible to solve this problem by recreating a bot of other DC(seems like assigned randomly)?
AFAIK, a bot is created at the same DC as its creator, i.e., if your Telegram account belongs to DC5, all your bots will belong to DC5 too.
This problem has existed for at least half year, I don't think it will be solved recently lol
It has existed for several years. Generally, a service degradation will be resolved within a day, and @RSStT_Bot works all fine now.
Generally, a service degradation will be resolved within a day
But my bot won't respond to any command forever once the error occurred. What do I need to do to make sure it will be recovered?
What do I need to do to make sure it will be recovered?
Once the service degradation comes to an end, restart the bot.
restart the bot
Could you tell me the detailed steps to restart the bot? Do you mean restarting the docker container? Or restarting the telegram bot by some command within Telegram client?
restart RSStT, i.e., restart the docker container if it is deployed via docker.
Describe the bug
only the first command will be executed after restarting.
To Reproduce
docker compose up -d
Screenshots
Feed URL
Expected behavior
Important log