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

Connection Refused #1

Open
luke2103 opened this issue Jun 1, 2021 · 0 comments
Open

Connection Refused #1

luke2103 opened this issue Jun 1, 2021 · 0 comments

Comments

@luke2103
Copy link

luke2103 commented Jun 1, 2021

Hey guys! I really like your project and i was trying to run it on my PopOS but even after configuring torrc file I'm getting "ConnectionRefusedError: [Errno 111] Connection refused".

There is no documentation. Can you please explain the configuration to run this project. Thank you!

This is the error thrown by running main.py -

Traceback (most recent call last):
File "/home/lukesh/my_project/venv/lib/python3.8/site-packages/stem/socket.py", line 398, in _make_socket
control_socket.connect((self._control_addr, self._control_port))
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback` (most recent call last):
File "main.py", line 1, in
from crawl_bot import Crawl_bot
File "/home/lukesh/Tor_Spider/crawl_bot.py", line 14, in
with Controller.from_port(port=9051) as controller:
File "/home/lukesh/my_project/venv/lib/python3.8/site-packages/stem/control.py", line 998, in from_port
control_port = stem.socket.ControlPort(address, port)
File "/home/lukesh/my_project/venv/lib/python3.8/site-packages/stem/socket.py", line 372, in init
self.connect()
File "/home/lukesh/my_project/venv/lib/python3.8/site-packages/stem/socket.py", line 243, in connect
self._socket = self._make_socket()
File "/home/lukesh/my_project/venv/lib/python3.8/site-packages/stem/socket.py", line 401, in _make_socket
raise stem.SocketError(exc)
stem.SocketError: [Errno 111] Connection refused

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