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

Signing in with telethon makes it kick me out of my account #4253

Closed
3 tasks done
GEOEGII555 opened this issue Nov 12, 2023 · 1 comment
Closed
3 tasks done

Signing in with telethon makes it kick me out of my account #4253

GEOEGII555 opened this issue Nov 12, 2023 · 1 comment

Comments

@GEOEGII555
Copy link

GEOEGII555 commented Nov 12, 2023

Code that causes the issue

import telethon
client = telethon.client.TelegramClient(...)
client.start()
client.run_until_disconnected()

Expected behavior

Should just do nothing except for connecting to Telegram.

Actual behavior

After 5 seconds, I get logged out from Telegram on all of my devices. I log back in, and it kicks me out again after some time, even if I stop Telethon.

At first I thought that it was a Telegram bug, but then I waited a day and it stopped. Stopped, until I tried to use Telethon again. After I tried using it again, the same stuff started happening - kicking me out of my account.

Traceback

No response

Telethon version

1.32.0

Python version

Python 3.11.6

Operating system (including distribution name and version)

Windows 11 Pro

Other details

No response

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.
@Lonami
Copy link
Member

Lonami commented Nov 12, 2023

Duplicate of #4051. Nothing the library can do about it.

@Lonami Lonami closed this as completed Nov 12, 2023
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