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

Cannot Connect To Telethon #256

Open
ibr2020 opened this issue Nov 3, 2021 · 1 comment
Open

Cannot Connect To Telethon #256

ibr2020 opened this issue Nov 3, 2021 · 1 comment

Comments

@ibr2020
Copy link

ibr2020 commented Nov 3, 2021

telethon was working fine but suddenly when i try connect to telethon using client.connect() or client.start() I get the following error

WARNING:telethon.network.mtprotosender:Connection error 5 during auth_key gen: ConnectionError: Not connected
INFO:telethon.network.connection.connection:<class 'OSError'> during disconnect: [WinError 121]The semaphore timeout period has expired

Could anyone help me please..
I am using Telethon from yemen..windows8
I Updated Telethon Version to 1.23.0 and the problem unsolved
I Updated pip Version to 21.3.1 and the problem unsolved
python Version 3.8.6

@seriyps
Copy link

seriyps commented Nov 3, 2021

Could you show us the code you use to connect with Telethon? What arguments you pass to client = TelegramClient(...)?

Also, are you able to connect with regular telegram client to the same proxy?

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