-
-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FloodWaitError #542
Comments
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 We can do nothing but wait for the DC to recover from the service degradation.
|
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 |
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.
It has existed for several years. Generally, a service degradation will be resolved within a day, and @RSStT_Bot works all fine now. |
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? |
Once the service degradation comes to an end, 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
Tip
A clear and concise description of what the bug is.
only the first command will be executed after restarting.
To Reproduce
Tip
Steps to reproduce the behavior.
docker compose up -d
Screenshots
Tip
If applicable, upload screenshots to help explain your problem.
Feed URL
Tip
If applicable, provide the feed URL that causes the bug.
Expected behavior
Tip
A clear and concise description of what you expected to happen.
Important log
Important
Rerun RSStT with
DEBUG=1
set in the environment variables, and paste the log below.If you are using Docker, you can get the log by executing:
The text was updated successfully, but these errors were encountered: