This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
Assertion fails in ReadTransport when used in conjunction with python-telegram-bot #73
Labels
bug
A crash or error in behavior.
Describe the bug
When using python-telegram-bot with gbulb installed, a stacktrace in gbulbs transport.py will be logged on some of the API calls. The bot continues to poll for updates. From my limited tests, all the messages seem to be successfully received as well. So for my case this is not really an error. But if the incoming connection is not fully consumed, this might have an impact on other applications though.
Steps to reproduce
Get a telegram bot token and run the following minimal telegram bot with the TELEGRAM_TOKEN env set to the token:
An AssertionError in ReadTransport._loop_reading will be logged
Expected behavior
No error message
Screenshots
No response
Environment
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: