-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
RuntimeError: readexactly() called while another coroutine is already waiting for incoming data #4314
Comments
Don't really know why this happens. I have never been able to reproduce it. Telegram might be closing the connection. I doubt I'll look into this any time soon. |
this is my main code,when i run it , i got the error said above frequently。you can try to run this code at least 20min, maybe you can reproduce this error. |
The problem is not in the code, maybe the internet or the ip is dirty |
Code that causes the issue
the code is:
Expected behavior
I was using "msg.download_media" in a loop,the error appear frequently. how can i do to resolve it
Actual behavior
msg.download_media
Traceback
No response
Telethon version
1.33.1
Python version
3.9.18
Operating system (including distribution name and version)
mac os 11.1
Other details
No response
Checklist
pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip
and triggered the bug in the latest version.The text was updated successfully, but these errors were encountered: