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

Auto restart return an Exception #65

Open
3 tasks done
X-Gorn opened this issue May 26, 2024 · 0 comments
Open
3 tasks done

Auto restart return an Exception #65

X-Gorn opened this issue May 26, 2024 · 0 comments

Comments

@X-Gorn
Copy link

X-Gorn commented May 26, 2024

Checklist

  • I am sure the error is coming from Pyrogram's code and not elsewhere
  • I have searched in the issue tracker for similar bug reports, including closed ones
  • I ran pip3 install -U https://github.com/pyrogram/pyrogram/archive/master.zip and reproduced the issue using the latest development version

Description

The auto restart fails and bot stopped working.

Steps to reproduce

Make the bot having connection error and throwing OSError.

Code example

No response

Logs

Task exception was never retrieved
future: <Task finished name='Task-218707' coro=<Session.restart() done, defined at /usr/local/lib/python3.9/site-packages/pyrogram/session/session.py:183> exception=RuntimeError('read() called while another coroutine is already waiting for incoming data')>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant