VMmanager Knowledge Base

Script terminates with the error “No complete agent response found”

Description

A virtual machine (VM) script containing the wget command terminates with an error 

No complete agent response found in ... bytes: Numerical result out of range

The error occurs because the script fails to transmit a return code 0 (successful completion) and the QEMU Guest Agent software becomes unavailable.

Solution

When running the wget utility, enable debugging mode with logging. In this mode return codes are transmitted more correctly. Example command: 

wget -d --append-output=/tmp/wget_debug.log https://example.com/some_file.txt

The logs will be saved on the VM in the /tmp directory and deleted after the VM reboot.