alexbers / mtprotoproxy

Async MTProto proxy for Telegram
MIT License
1.59k stars 351 forks source link

Cannot Connect To Telethon #256

Open ibr2020 opened 3 years ago

ibr2020 commented 3 years ago

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 commented 3 years ago

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?