I have 2 servers , one for test , one for production:
Integration 3.6.3
Mender-Client master
Mender-Artifact 3.10.2
GUI 3.6.2
And mender client 3.5.2
prod config:
{
"InventoryPollIntervalSeconds": 28800,
"RetryPollIntervalSeconds": 300,
"ServerURL": "<redacted>",
"TenantToken": "dummy",
"UpdatePollIntervalSeconds": 300
}
test config:
{
"InventoryPollIntervalSeconds": 300,
"RetryPollIntervalSeconds": 300,
"ServerURL": "<redacted>",
"TenantToken": "dummy",
"UpdatePollIntervalSeconds": 300
}
The problem is that on the test server which is the exact same version, online check-ins work, but in the other server it doesn’t.
The first reporting when the client starts up works and it shows up as pending, but subsequent requests don’t seem to update the online status:
Client logs:
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=info msg="State transition: check-wait [Idle] -> update-check [Sync]"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=info msg="Device unauthorized; attempting reauthorization"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=error msg="Failed to authorize with \"https://<redacted>\": authentication request rejected server error message: dev auth: unauthorized"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=error msg="Error receiving scheduled update data: update check request failed: transient error: authorization request failed"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=error msg="Update check failed: transient error: update check request failed: transient error: authorization request failed"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=info msg="State transition: update-check [Sync] -> error [Error]"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=info msg="Handling error state, current error: transient error: update check request failed: transient error: authorization request failed"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=info msg="State transition: error [Error] -> idle [Idle]"
Sep 11 12:36:28 <redacted> mender[448]: time="2024-09-11T12:36:28Z" level=info msg="State transition: idle [Idle] -> check-wait [Idle]"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=info msg="State transition: check-wait [Idle] -> update-check [Sync]"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=info msg="Device unauthorized; attempting reauthorization"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=error msg="Failed to authorize with \"https://<redacted>\": authentication request rejected server error message: dev auth: unauthorized"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=warning msg="Reauthorization failed with error: transient error: authorization request failed"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=error msg="Error receiving scheduled update data: update check request failed: transient error: authorization request failed"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=error msg="Update check failed: transient error: update check request failed: transient error: authorization request failed"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=info msg="State transition: update-check [Sync] -> error [Error]"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=info msg="Handling error state, current error: transient error: update check request failed: transient error: authorization request failed"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=info msg="State transition: error [Error] -> idle [Idle]"
Sep 11 12:41:28 <redacted> mender[448]: time="2024-09-11T12:41:28Z" level=info msg="State transition: idle [Idle] -> check-wait [Idle]"
The mender in my custom OS should not differ.
I know for a fact that the mender client is running and updating and that I have internet access. If I restart the client, the status will be updated.
Thanks!