Log spam on getUpdates when BOT token is wrong / revoked
See original GitHub issueHello, with the latest version (4.3.0) i’m experiencing loops caused by wrong tokens on my BOTS. I have a BOT where users can configure their own BOT, so they enter their own token, and if they revoke the token I start getting a huge spam in logs:
INFO: Update listener error for request {"method":"getUpdates"} with response 401 Unauthorized
Jun 13, 2019 8:41:56 PM okhttp3.internal.platform.Platform log
INFO: Update listener error for request {"method":"getUpdates"} with response 401 Unauthorized
Jun 13, 2019 8:41:56 PM okhttp3.internal.platform.Platform log
INFO: Update listener error for request {"method":"getUpdates"} with response 401 Unauthorized
Jun 13, 2019 8:41:57 PM okhttp3.internal.platform.Platform log
INFO: Update listener error for request {"method":"getUpdates"} with response 401 Unauthorized
As you can see I get about 4 per second, so it’s like it’s looping. Is there any way to intercept this and kill the update listener?
Thanks a lot!
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Help on telegram extension "Error while getting Updates ...
I found the solution. revoke your bot token and create a new, that prevents all old instances from working naturally.
Read more >Conflict: terminated by other getUpdates request; make sure ...
This happens when 2 different clients send getUpdates method to Telegram servers for one bot token. You should make sure you're not running ......
Read more >Telegram bot + GoogleSheets: solving some problems
The API currently supports two ways to handle bot updates: getUpdates and setWebhook. getUpdates is a pull mechanism, setWebhook is a push ...
Read more >A Cable for You, Sir! :: In Focus - Luxriot
It will give them complete control over your bot. If you think the token has been compromised, ask the botfather to revoke the...
Read more >Telegram bot Go service doesn't deploy - Render community
I can't figured out what wrong with the service. Logs: Conflict: terminated by other getUpdates request; make sure that only one bot ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Released in
4.3.1
New usage is:No, I’m on 4.3.1. Shall I update?