Open emilva opened 5 years ago
Hi ! How do you start the PatrowlManager ? if you've started with the docker-compose, the python application won't be able to reach the 'localhost'. You'd rather have to set the host address (host.docker.internal, ip address of docker0 iface, ...)
Hi,
Same problem for me. launch PatrowlManager with start-server :
./start-server.sh postgres db started. Nothing to do supervisord started. Nothing to do No changes detected Operations to perform: Apply all migrations: admin, assets, auth, authtoken, contenttypes, django_celery_beat, django_celery_results, engines, events, findings, rules, scans, sessions, settings, users Running migrations: No migrations to apply.
0 static files copied to '/data/PatrowlManager/staticfiles', 209 unmodified. [2019-06-12 09:14:54 +0000] [125644] [INFO] Starting gunicorn 19.9.0 [2019-06-12 09:14:54 +0000] [125644] [INFO] Listening at: http://0.0.0.0:8000 (125644) [2019-06-12 09:14:54 +0000] [125644] [INFO] Using worker: sync [2019-06-12 09:14:54 +0000] [125649] [INFO] Booting worker with pid: 125649
Launch engine-nmap :+1:
env/bin/python engine-nmap.py
But in console, stay in error :/
ok find the error. the correct url for engine is : http://127.0.0.1:5001/engines/nmap/
But in remote not working :/
The "info" work
Hi, i have the same problem, I can launch Patrowl and nmap, the servers are running, can display the results, but when i create an engine, it's in error state. I tried both ip 0.0.0.0 and 127.0.0.1, also i can't display the engine info.
Hello,
It is the same for me, have you a solution for this problem ?
Thank you.
Same problem
Same problem for me too. I've tried both ip 0.0.0.0 and 127.0.0.1 as well :-/
I notice that you run your scanners in docker using:
usr/bin/python3 /usr/bin/gunicorn engine-nmap:app -b 0.0.0.0:5001 --access-logfile -
which makes it hard to debug the issue. Maybe gunicorn is writing an error log. Maybe it's better to write to a file? Also for the error log.
Hi, cool project you have made, it looks really useful!
I am trying to follow the docs on how to add a new scan-engine, but it always fails. Any pointers on what might be wrong?
Details:
This is one of the many configurations I have tried:
The result is always Error:
When I visit
http://localhost:5101/engines/nmap/
I get a simple json object{page: "index"}
. So the URL in the config must be correct?