GVM-CLI [ Remote closed the connection | Failed to parse client XML: Error ]

The gvm stays inside a docker and I am connecting to it through this method. After I start a task, I am calling get_report() after each 10 seconds. There are some things that are pretty strange:

  • a simple get_report() doesn’t give any exceptions, but the problem is that I get just a small percentage of the results shown on GSA. Meanwhile, get_report() with filters (filter="levels=hml min_qod=70 apply_overrides=0 rows=-1") gives better results, but after 10-15 mins it crashes with the exception I mentioned in my last posts
  • before each get_report() I check is_connected() and is_authenticated() and both return every time true, even before the last get_report() call that throws Only command GET_VERSION is allowed before AUTHENTICATE