-
Notifications
You must be signed in to change notification settings - Fork 150
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
Error on engine while executing task #265
Comments
Hi @albertcp - sorry to hear it's not working. To doublecheck:
|
Hi @derpadoo, First of all, thank you for your time. I have checked everything you asked me. Below, you can find the results:
Answer: 1.03
Answer: I activated the service So I suppose the way it executes is using the python script:
Answer: Yes,
Answer: I access that URL and checked the info is correct.
Answer: Engine files are in I hope all questions are answered as expected. Best regards. |
Appreciate you taking the time to provide that info. When you ran the Ansible playbook, what did you have this value set to? scantron/ansible-playbooks/group_vars/all Line 25 in ee8e22e
An explanation of that setting can be found in this section From your original screenshots, it looks like the engine authenticates properly, but just to be sure, let's try the following. It looks like the "scan_engine" value in
Since you're using the service, you can run |
First of all, thank you for your quick respone.
Do I need to set the value to False?
The image is taken from the engine.log More info:
Photograph of the Token in DJANGO ADMINISTRATION PAGE: |
Ahh, I see it. The I updated the I need to update https://github.com/rackerlabs/scantron/blob/master/ansible-playbooks/roles/engine/templates/engine_config.json For your fix, add the highlighted portion below: "http_useragent": "user-agent",
"supported_scan_binaries": [
"nmap",
"masscan"
] |
Merged in #266 |
@albertcp I'll wait to ensure it works for you before closing this one out. |
@derpadoo Thank you so much for everything!!! It Works!!!! |
Hi everyone!
I have a problem with the target scanning on the engine.
I've set up scantron on virtual machines. One VM for the console and other VM for the engine. It's all working, ssh tunnels are created, crontabs are executing correctly...
The thing is when I create a new scan. It can be created and the status is pending:
Then, the status changes to error. When I see the engine log, this is what is showing:
I checked the code of engine.py and there is some problem with the field "config_data"... I don't know what can be the error.
If someone can help me I will be very gratefull.
The text was updated successfully, but these errors were encountered: