estebanpdl / telegram-tracker

The package connects to Telegram's API to generate JSON files containing data for channels, including information and posts. It allows you to search for specific channels or a set of channels provided in a text file, with one channel per line.
337 stars 62 forks source link

[WinError 10054] #9

Closed barripdmx closed 2 months ago

barripdmx commented 1 year ago

Hello. I have followed the steps and I can't get it to work. It gives me this error:

Init program at Wed Sep 27 09:34:04 2023

Attempt 1 at connecting failed: ConnectionResetError: [WinError 10054] Se ha forzado la interrupción de una conexión existente por el host remoto Attempt 2 at connecting failed: ConnectionAbortedError: [WinError 10053] Se ha anulado una conexión establecida por el software en su equipo host Server closed the connection: [WinError 10054] Se ha forzado la interrupción de una conexión existente por el host remoto Connection error 3 during auth_key gen: ConnectionResetError: [WinError 10054] Se ha forzado la interrupción de una conexión existente por el host remoto Attempt 4 at connecting failed: ConnectionAbortedError: [WinError 10053] Se ha anulado una conexión establecida por el software en su equipo host Attempt 5 at connecting failed: ConnectionAbortedError: [WinError 10053] Se ha anulado una conexión establecida por el software en su equipo host Attempt 6 at connecting failed: ConnectionResetError: [WinError 10054] Se ha forzado la interrupción de una conexión existente por el host remoto Traceback (most recent call last): File "main.py", line 119, in client = loop.run_until_complete( File "C:\Users\barri\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete return future.result() File "F:\Telegram\telegram-tracker-main\api__init__.py", line 26, in get_connection await client.connect() File "C:\Users\barri\AppData\Local\Programs\Python\Python38\lib\site-packages\telethon\client\telegrambaseclient.py", line 544, in connect if not await self._sender.connect(self._connection( File "C:\Users\barri\AppData\Local\Programs\Python\Python38\lib\site-packages\telethon\network\mtprotosender.py", line 134, in connect await self._connect() File "C:\Users\barri\AppData\Local\Programs\Python\Python38\lib\site-packages\telethon\network\mtprotosender.py", line 260, in _connect raise ConnectionError('Connection to Telegram failed {} time(s)'.format(self._retries)) ConnectionError: Connection to Telegram failed 5 time(s)

Any ideas?