torpyorg / torpy

Pure python Tor client implementation
Apache License 2.0
411 stars 53 forks source link

torpy.cell_socket:timed out Error #46

Open charith111 opened 1 year ago

charith111 commented 1 year ago

Hi, I'm getting this error: ERROR:torpy.cell_socket:timed out ERROR:root:[ignored] Traceback (most recent call last): File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\cell_socket.py", line 63, in connect self._socket.connect((self._router.ip, self._router.or_port)) File "C:\ProgramData\Anaconda3\lib\ssl.py", line 1343, in connect self._real_connect(addr, False) File "C:\ProgramData\Anaconda3\lib\ssl.py", line 1330, in _real_connect super().connect(addr) socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\utils.py", line 79, in newfn return func(*args, *kwargs) File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\consesus.py", line 235, in renew raw_string = self.download_consensus(prev_hash) File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\consesus.py", line 183, in newfn return func(args, **kwargs) File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\consesus.py", line 390, in download_consensus with self._get_dir_client() as dir_client: File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\consesus.py", line 375, in _get_dir_client self._dir_guard, self._dir_circuit = self._create_dir_circuit(purpose='Internal dir client') File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\consesus.py", line 365, in _create_dir_circuit guard = TorGuard(router, purpose=purpose) File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\guard.py", line 66, in init self.__tor_socket.connect() File "C:\Users\hari.k\AppData\Roaming\Python\Python39\site-packages\torpy\cell_socket.py", line 69, in connect raise TorSocketConnectError(e) torpy.cell_socket.TorSocketConnectError: timed out WARNING:torpy.utils:Retry with another router...

What's the issue and How can I resolve it? Someone please help me with this.

Thanks