DedSecInside/TorBot

Connection Refused Error

CYB3RMX opened this issue · 8 comments

Describe the bug
I tried to execute program from terminal there is no error but when I try to open web interface and crawl any of onion links my browser throws connection refused error.

To Reproduce
Steps to reproduce the behavior:

  1. Start tor service manually: sudo systemctl start tor.service
  2. Go to the torbot-frontend directory: cd src/torbot-frontend/
  3. Starting angular app with: ng serve --open
  4. Try to make simple request via web application

Expected behavior
Not any connection errors while crawling onion links

Screenshots
tracker

Desktop (please complete the following information):

  • OS: Parrot OS
  • Browser: Chromium
  • Version: latest

The problem is due to not running the api.
Go to the src/api.
You can find endpoints.py in the folder, run it. This will solve the issue.

Steps to fix error: Once you run ng serve. In another terminal
cd src/api
python3 endpoints.py

@masterugwee Thanks for the reply. I finally to open the program everything is fine but when I try to send any query I encounter this error:
mali

Strange, I guess there might be some indentation error. Can you update and try again.

Seems like an issue with LinkNode @KingAkeem can you take a look at this?

The links property for LinkNodes was replaced with a get_children method so that the metadata could be loaded dynamically. It looks like the front-end code is still referencing the old links property instead of using the get_children method. I'm not familiar with the UI code but wherever the links are being pulled will need to use the get_children method instead of trying to access the links member variable.

TorBot/src/modules/link.py

Lines 119 to 122 in f95eacc

def get_children(self):
if not self._loaded:
self.load_data()
return self._children
Here's a link to the get_children method. It will return a list of LinkNode objects which are the children of that node.

I'd like to help out more here but I don't know how to use the GUI and there are no instructions, can anyone help out?

Front-end is not ready for use