Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torpy.cell_socket:timed out Error #46

Open
charith111 opened this issue Feb 6, 2023 · 0 comments
Open

torpy.cell_socket:timed out Error #46

charith111 opened this issue Feb 6, 2023 · 0 comments

Comments

@charith111
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant