Hi,
I ran into following error when I try to onboard a new device.
Authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized
Jan 12 13:20:42 imx8mq-itx-p-c444 mender[491]: time="2021-01-12T13:20:42Z" level=error msg="Authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized"
Jan 12 13:20:42 imx8mq-itx-p-c444 mender[491]: time="2021-01-12T13:20:42Z" level=error msg="Authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized"
Jan 12 13:20:42 imx8mq-itx-p-c444 mender[491]: time="2021-01-12T13:20:42Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]"
Jan 12 13:20:47 imx8mq-itx-p-c444 mender[491]: time="2021-01-12T13:20:47Z" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]"
Jan 12 13:20:47 imx8mq-itx-p-c444 mender[491]: time="2021-01-12T13:20:47Z" level=error msg="Authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized"
Jan 12 13:20:47 imx8mq-itx-p-c444 mender[491]: time="2021-01-12T13:20:47Z" level=error msg="Authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized"
Jan 12 13:20:47 imx8mq-itx-p-c444 mender[491]: time="2021-01-12T13:20:47Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]"
Also I referred the Hub and output of /usr/share/mender/identity/mender-device-identity
is,
using interface /sys/class/net/eth0
mac=00:01:45:09:ca:7c
and my mender.conf
is:
{
"InventoryPollIntervalSeconds": 5,
"RetryPollIntervalSeconds": 5,
"ServerURL": "https://hosted.mender.io",
"TenantToken": "MENDER_TENET_TOKEN",
"UpdatePollIntervalSeconds": 5
}
Any help would be much appreciated.
UPDATE 1:
When I try using other account (hosted.mender.io) it is working fine. Is it something related to Mender accounts?