Error on GVM Tasks Dashboard

I am having an a continual issue running all the latest code and compiling on Ubuntu 20.04. After initial install everything runs fine with no issues. I reboot the server and perform a restart of the system waiting for the .sock (socket file) to appear before starting gvmd and gsad. On the GUI everything works except the tasks screen. I get the error " An internal error occurred while getting resources list. The current list of resources is not available. Diagnostics: Failure to receive response from manager daemon." on the tasks dashboard. Therefore I cannot view previous tasks or newly created tasks. I am getting the following in the gsad.log file:

gsad main:WARNING:2020-07-16 16h31.28 UTC:1586: MHD: Error: received handshake message out of context
gsad main:WARNING:2020-07-16 16h31.28 UTC:1586: MHD: Error: received handshake message out of context
gsad main:WARNING:2020-07-16 16h31.28 UTC:1586: MHD: Error: received handshake message out of context
gsad main:WARNING:2020-07-16 16h31.38 UTC:1586: MHD: Error: received handshake message out of context
gsad main:WARNING:2020-07-16 16h32.08 UTC:1586: MHD: Error: received handshake message out of context

And in my gvmd.log file I am seeing:

md gmp:UNKNOWN:2020-07-16 16h44.06 UTC:2535: handle_get_tasks: GET_TASKS: error finding task scanner, aborting
md gmp:UNKNOWN:2020-07-16 16h45.07 UTC:2596: handle_get_tasks: GET_TASKS: error finding task scanner, aborting
md gmp:UNKNOWN:2020-07-16 16h46.08 UTC:2708: handle_get_tasks: GET_TASKS: error finding task scanner, aborting
md gmp:UNKNOWN:2020-07-16 16h47.09 UTC:2759: handle_get_tasks: GET_TASKS: error finding task scanner, aborting
md gmp:UNKNOWN:2020-07-16 16h48.10 UTC:2804: handle_get_tasks: GET_TASKS: error finding task scanner, aborting

Anyone else having this issue?

This has nothing to do with your issue and can just be ignored.

It seems gvmd has a wrong reference to the scanner for the task. Not sure what happened here. I’ve never seen this error before. Are you able to create a new task and scan with it?

Btw. please always post which versions of our software you are using exactly. Latest code can be anything. For example latest code is for me our master branches and the master branches can break very often.

1 Like

Sorry I am running

gvm 9.0.1
gsad 9.0.1
gvm-libs 11.0.1
openvas 7.0.1
osp 1.0.1

I tried installing on 18.0.4 and have the same issue. I will say my restart script deletes everything in

/var/log/gvm
/var/run
/var/lib/gvm/gvmd/gnupg

I delete and recreate the scanner each time I restart. Not sure if this is necessary though.

Hope this helps.

Rainiur