mender server: v2.7 production open-source
Architecture: Debian X86 Ubuntu18.4
mender convert: v2.4.0
mender-connect: latest
I have set up a self-hosted mender server: v2.7 production-grade successfully. I have also created a mender client image using the mender_convert v2.4.0 tool. Here Deployment status is showing “Pending” and the device-side getting below error.
Below log using the command on target device journalctl -f -u mender-client.service as
May 03 05:50:13 alto-VirtualBox mender[25725]: time=“2021-05-03T05:50:13-04:00” level=error msg=“Error receiving scheduled update data: (request_id: ): Invalid response received from server server error message: failed to parse server response: json: cannot unmarshal object into Go struct field .error of type string”
May 03 05:50:13 alto-VirtualBox mender[25725]: time=“2021-05-03T05:50:13-04:00” level=error msg=“Update check failed: transient error: (request_id: ): Invalid response received from server server error message: failed to parse server response: json: cannot unmarshal object into Go struct field .error of type string”
May 03 05:50:13 alto-VirtualBox mender[25725]: time=“2021-05-03T05:50:13-04:00” level=info msg=“State transition: update-check [Sync] → error [Error]”
May 03 05:50:13 alto-VirtualBox mender[25725]: time=“2021-05-03T05:50:13-04:00” level=info msg=“Handling error state, current error: transient error: (request_id: ): Invalid response received from server server error message: failed to parse server response: json: cannot unmarshal object into Go struct field .error of type string”
can anyone assist me to resolve this error?