Skip to content
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

Telegram bot stops receiving update events from the server, if bot has been running for a long time #223

Closed
zamazan4ik opened this issue Jul 2, 2020 · 0 comments · Fixed by #227
Assignees
Labels
K-bug Kind: bug

Comments

@zamazan4ik
Copy link

Hi!

I've wrote one telegram bot: https://github.com/ZaMaZaN4iK/codedetection-telegram/blob/master/src/main.rs

I've found one issue: if the bot wasn't triggered a long time (like several days), bot doesn't receive messages from Telegram server anymore. Restarting helps.

I've the same issue in C++ library for Telegram - tgbot-cpp. Also you can find the same issues in other libraries for Telegram.

For fixing it you should tweak connection to the Telegram server.

@zamazan4ik zamazan4ik changed the title Telegram bot stopping receiving update events from the server, if bot is running a long time Telegram bot stops receiving update events from the server, if bot has been running for a long time Jul 2, 2020
@Hirrolot Hirrolot added the K-bug Kind: bug label Jul 2, 2020
@Hirrolot Hirrolot self-assigned this Jul 3, 2020
Hirrolot added a commit that referenced this issue Jul 7, 2020
WaffleLapkin added a commit that referenced this issue Nov 1, 2022
Improve url-to-message creation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
K-bug Kind: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants