Authorization failed

Hello?
I’m testing a mender client. I’m performing preauthorization via GCP platform with https://hosted.mender.io’. The preauth is successful and yet the device is not showing in the list of “Pending” devices. When the device is on I have the following error message with mender logs. I’ve also tried to perform preauth manually but no luck.

mender[5634]: time="2020-06-25T11:19:36Z" level=error msg="authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: Unauthorized" mod ule=state

I’ve a custom mender-device-identity script.
My mender.conf looks like this

{"InventoryPollIntervalSeconds": 1800, "RetryPollIntervalSeconds": 300, "RootfsPartA": "/dev/mmcblk0p1", "RootfsPartB": "/dev/mmcblk0p29", "ServerURL": "https://hosted.mender.io", "TenantToken": "dummy", "UpdatePollIntervalSeconds": 1800}

What I’m missing here?

Ok I managed to have authorization! It was TenantToken that’s wrong

1 Like