Closed CYB3RMX closed 2 years ago
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:
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 LinkNode
s 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.
https://github.com/DedSecInside/TorBot/blob/f95eacc5f73bec8a83c059a3cb4b0b091ec7429c/src/modules/link.py#L119-L122 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
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:
sudo systemctl start tor.service
cd src/torbot-frontend/
ng serve --open
Expected behavior Not any connection errors while crawling onion links
Screenshots
Desktop (please complete the following information):