mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-04-22 10:02:03 +03:00
Created having problem in python 3.6 (markdown)
parent
3ba306df4f
commit
a1835b95b1
16
having-problem-in-python-3.6.md
Normal file
16
having-problem-in-python-3.6.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
Traceback (most recent call last):
|
||||
File "C:\Users\Googliness\AppData\Local\Programs\Python\Python36\telegrame.py", line 8, in <module>
|
||||
client = TelegramClient('session_name', api_id, api_hash).start()
|
||||
File "C:\Users\Googliness\AppData\Local\Programs\Python\Python36\lib\site-packages\telethon\client\auth.py", line 111, in start
|
||||
else self.loop.run_until_complete(coro)
|
||||
File "C:\Users\Googliness\AppData\Local\Programs\Python\Python36\lib\asyncio\base_events.py", line 466, in run_until_complete
|
||||
return future.result()
|
||||
File "C:\Users\Googliness\AppData\Local\Programs\Python\Python36\lib\site-packages\telethon\client\auth.py", line 118, in _start
|
||||
await self.connect()
|
||||
File "C:\Users\Googliness\AppData\Local\Programs\Python\Python36\lib\site-packages\telethon\client\telegrambaseclient.py", line 307, in connect
|
||||
self.session.server_address, self.session.port)
|
||||
File "C:\Users\Googliness\AppData\Local\Programs\Python\Python36\lib\site-packages\telethon\network\mtprotosender.py", line 126, in connect
|
||||
await self._connect()
|
||||
File "C:\Users\Googliness\AppData\Local\Programs\Python\Python36\lib\site-packages\telethon\network\mtprotosender.py", line 251, in _connect
|
||||
.format(self._retries))
|
||||
ConnectionError: Connection to Telegram failed 5 times
|
Loading…
Reference in New Issue
Block a user