Authentication request rejected server error message: dev auth: un authorized

Hi,

I’m working on project basically convert existing LFS (LinuxFromScratch) mender build which is running in production to yocto based. I’ve created signed artifact upload to hosted mender server where device with “old firmware” was already authorized. After update when system boot from “yocto” build update cannot be finished due errors like:

May 29 20:18:23 orange-pi-pc-plus mender[420]: time="2019-05-29T20:18:23Z" level=error msg="authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: un
authorized" module=state
May 29 20:18:23 orange-pi-pc-plus mender[420]: time="2019-05-29T20:18:23Z" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" module=mender

and it try after few minutes but it never succeed. Any ideas how to debug that why server reject authorize new build? Thanks a lot.

This sounds like the device identity changes, I would check what the /usr/share/mender/identify/device-identity script returns before and after update,

Thanks. Old version return some other data like updated one. But still when adding exact same lines still have an issue.

Ok it looks like I need to accept then device again and everything is fine then. Thanks a lot.