Hi,
i have a tegra tx2 running mender-client on yocto zeus. I set MENDER_UPDATE_POLL_INTERVAL_SECONDS = "0"
because i wanted the user of the device to start update manually. Since then i experience that the update takes like 10 minutes longer where all the time is spend after reboot waiting for the server (-> includes logs)
There is a warning about UpdatePollIntervalSeconds is not defined
(but it is set to 0).
Aug 06 14:17:34 jetson-tx2 mender[5013]: time="2020-08-06T14:17:34Z" level=error msg="Failed to send status report to server: transient error: reporting status failed: Put https://hosted.mender.io/api/devices/v1/deployments/device/deployments/81800fdf-b769-481e-9439-bf6b42f7a31c/status: dial tcp: lookup hosted.mender.io on [::1]:53: server misbehaving" module=state
Aug 06 14:17:34 jetson-tx2 mender[5013]: time="2020-08-06T14:17:34Z" level=info msg="State transition: update-commit [ArtifactCommit_Enter] -> update-pre-commit-status-report-retry [ArtifactCommit_Enter]" module=mender
Aug 06 14:17:34 jetson-tx2 mender[5013]: time="2020-08-06T14:17:34Z" level=warning msg="UpdatePollIntervalSeconds is not defined" module=mender
[ 10 minutes]
Aug 06 14:27:34 jetson-tx2 mender[5013]: time="2020-08-06T14:27:34Z" level=info msg="State transition: update-pre-commit-status-report-retry [ArtifactCommit_Enter] -> update-commit [ArtifactCommit_Enter]" module=mender
...
...
Successful update
I get those msg="Failed to send status report to server
error every time i deploy an artifact. Also, when i manually run mender send-inventory
i don’t have to wait those 10 minutes.
Does anyone know how these things are connected? Is it possibly a bad idea to set the polling interval to 0?