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

Infinity freeze #4324

Open
3 tasks done
devopsalexandr opened this issue Mar 10, 2024 · 1 comment
Open
3 tasks done

Infinity freeze #4324

devopsalexandr opened this issue Mar 10, 2024 · 1 comment

Comments

@devopsalexandr
Copy link

Code that causes the issue

// work with ended session
async with client:
                await client.connect()
                me = await client.get_me()

Expected behavior

Error was thrown if you use ended session

Actual behavior

Infinity freeze if you use ended session

Traceback

No response

Telethon version

1.32.1

Python version

3.9

Operating system (including distribution name and version)

Windows 11

Other details

telethon.network.mtprotosender:Connection closed while receiving data: 4 bytes read on a total of 8 expected bytes

Checklist

  • The error is in the library's code, and not in my own.
  • I have searched for this issue before posting it and there isn't an open duplicate.
  • I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.
@voronoff2803
Copy link

same thing!
await client.connect() stuck in infinite loop

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

No branches or pull requests

2 participants