-
-
Notifications
You must be signed in to change notification settings - Fork 498
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
VulnscanServerError: Connection refused (OpenVAS) #67
Comments
which version of OpenVAS are you using? |
Hi As I'm having the same error with a server using Ubuntu 16.04 and official deb packages:
|
Ok so, OpenVAS9 (version 7.0.3) on Ubuntu only use a socket file by default.
|
I guess you should update the configuration to point this configuration and also, allow the Archery admin to specify the TCP port to be used for each API (OpenVAS, ZAP, ...) to avoid this confusion |
Hi @faichelbaum, Thanks for your feedback. Is it possible for you to update the README file and create a pull request? I really appreciate your contribution to the project and I hope you would help us in the future too. |
@Xeyk the last PR that got merge will fix your issue:
|
Sorry about the late response, guys. I had to put this project on hold at work for a while. @faichelbaum - It looks like I'm still getting the error after updating. Here is the latest message:
Here's a pic of my openvas settings. I made new user through openvasmd called "archery" with admin rights. Openvas and Archery are running on the same server. |
Can you share your OpenVAS manager configuration (not the GSA one) |
@Xeyk Please use docker-compose. Updated docker-compose.yml file which would allow you to create a OpenVAS & ZAP scanner. |
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 812, in __bootstrap_inner
self.run()
File "/usr/lib64/python2.7/threading.py", line 765, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/nf3985/archerysec/networkscanners/views.py", line 177, in openvas_scanner
scanner = openvas.connect()
File "/home/nf3985/archerysec/scanners/scanner_plugin/network_scanner/openvas_plugin.py", line 56, in connect
str(lod_ov_pass))
File "/usr/lib/python2.7/site-packages/openvas_lib/init.py", line 511, in init
raise VulnscanServerError("Error while connecting to the server: %s" % e.message)
VulnscanServerError: Error while connecting to the server: [Errno 111] Connection refused
I keep getting this even though I have Archerysec installed on the same server as OpenVas. I have verified correct username and password for admin as I am able to log in with GSAD.
I have tried using 127.0.0.1, localhost, 0.0.0.0, 10.0.1.15 (internal IP of server) but have not had any luck. Have you seen anyone have this issue before?
The text was updated successfully, but these errors were encountered: