Closed premnathdey closed 4 years ago
Can You help me why I am getting this error? I had used with and without a VPN but both doesn't work for me.
In your code getdata.py at line 19, why did you provided proxy? Should I change it! If yes then kindly tell me the process.
Hi, telegram need proxy to connect. I guess my proxy I fix in my code in my code is expired. You can search "mtproxy list free" and choice it yourself.
Could anyone give a detailed walkthrough on how to do it from the start? would be a great help thank you
Hi, telegram need proxy to connect. I guess my proxy I fix in my code in my code is expired. You can search "mtproxy list free" and choice it yourself.
I #ed the proxy yet unable to run the code without errors. 'client': <telethon.client.telegramclient.TelegramClient object at 0x000001B455CF6F28>} This is the error i get.
Could anyone give a detailed walkthrough on how to do it from the start? would be a great help thank you
https://www.youtube.com/watch?v=Kv0pGqawZPI
Follow this youtube tutorial
Could anyone give a detailed walkthrough on how to do it from the start? would be a great help thank you
https://www.youtube.com/watch?v=Kv0pGqawZPI
Follow this youtube tutorial
Nice =))
Simple, you need remove proxy in code. see new file init_session.py
WARNING:telethon.network.mtprotosender:Attempt 1 at connecting failed: TimeoutError: WARNING:telethon.network.mtprotosender:Attempt 2 at connecting failed: TimeoutError: WARNING:telethon.network.mtprotosender:Attempt 3 at connecting failed: TimeoutError: WARNING:telethon.network.mtprotosender:Attempt 4 at connecting failed: TimeoutError: WARNING:telethon.network.mtprotosender:Connection error 5 during auth_key gen: ConnectionError: Not connected WARNING:telethon.network.mtprotosender:Connection error 6 during auth_key gen: ConnectionError: Not connected Traceback (most recent call last): File "getonlygroup.py", line 21, in
client.connect()
File "/opt/anaconda3/lib/python3.7/site-packages/telethon/sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "/opt/anaconda3/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
return future.result()
File "/opt/anaconda3/lib/python3.7/site-packages/telethon/client/telegrambaseclient.py", line 478, in connect
proxy=self._proxy
File "/opt/anaconda3/lib/python3.7/site-packages/telethon/network/mtprotosender.py", line 125, in connect
await self._connect()
File "/opt/anaconda3/lib/python3.7/site-packages/telethon/network/mtprotosender.py", line 250, in _connect
raise ConnectionError('Connection to Telegram failed {} time(s)'.format(self._retries))
ConnectionError: Connection to Telegram failed 5 time(s)