We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to use django-telegram bot but during the running phase I have this error frequently:
ERROR 2018-05-29 16:28:47,375 apps Error : RetryAfter() after this message the system doesn't work, this is the message during the chat:
ERROR 2018-05-29 16:28:47,375 apps Error : RetryAfter()
WARNING 2018-05-29 16:28:55,619 views Request for not found token : XXXXXXXXXXXXXX [29/May/2018 16:28:55]"POST /prefix/XXXXXXXXXXXXXXXX/ HTTP/1.1" 200 2
The result is that I don't receive any message in telegram.
I think the problem is in the rapidly sequence of instruction in apps.py file during the setWebhook phase . A possible solution that I finded is this:
setted = bot.setWebhook(hookurl, certificate=certificate, timeout=timeout, max_connections=max_connections, allowed_updates=allowed_updates) time.sleep(5) webhook_info = bot.getWebhookInfo()
I added to time.sleep function and now the system seems to work.
The text was updated successfully, but these errors were encountered:
Have you find any other solution? When I add that line, sends me a 404 page.
Sorry, something went wrong.
@newton21890 Best approach to solve it PR #10
No branches or pull requests
I'm trying to use django-telegram bot but during the running phase I have this error frequently:
ERROR 2018-05-29 16:28:47,375 apps Error : RetryAfter()
after this message the system doesn't work, this is the message during the chat:
The result is that I don't receive any message in telegram.
I think the problem is in the rapidly sequence of instruction in apps.py file during the setWebhook phase .
A possible solution that I finded is this:
I added to time.sleep function and now the system seems to work.
The text was updated successfully, but these errors were encountered: