Hi, we have installed version 2.2 of Mender in production, with CA certificate.
The mender client is up to date, from mender-client_2.1.1-1_armhf.deb.
The device is a Raspberrypi cm3 Raspbian based.
The device has the certificate in server.crt of /etc/mender/mender.conf, since without it, and omitting the certificate in mender.conf as it puts in the documentation, we were not able to connect, by saying that the certificate It was not validated by a trusted authority, when it is.
Of course on the server side we have final wilcard domain certificate, along with the intermediate certificate concatenated in server.crt
I don’t know at what point we may be failing, or that we may have bad about it.
I would like to know why you can give that error, and if it is correct that you have to give the certificate to the client, it is a certificate authority that we have on the server with our domain.
Thanks in advance, and congratulations on the project
(Mender accept the device, but show this error, when click on accept)
When I accept a pending device, the error goes out but accepts it equally, however when decomissing the error comes out and does not execute it.
If I can make dissmis to the device, and there is no error.
There was a problem updating the device authorization status: cannot PUT / api / management / v2 / devauth / devices / 5ddbafb4c71c970001c2dfae / auth / 5ddbb046c71c970001c2dfb3 / status (500) ... [Request ID: 4356254d]
There was a problem decommissioning the device: cannot DELETE /api/management/v2/devauth/devices/5ddbafb4c71c970001c2dfae (500)... [Request ID: 5cc10952]
in the client side :
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: **level=error msg="Error receiving scheduled update data: (request_id: ): client not authorized server error message: failed to parse server response: invalid character '<' looking for beginning of value" module=mender**
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: time="2019-11-25T11:43:19+01:00" level=info msg="State transition: update-check [Sync] -> error [Error]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: time="2019-11-25T11:43:19+01:00" level=info msg="handling error state, current error: transient error: (request_id: ): client not authorized server error message: failed to parse server response: invalid character '<' looking f
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: time="2019-11-25T11:43:19+01:00" level=info msg="State transition: error [Error] -> idle [Idle]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: time="2019-11-25T11:43:19+01:00" level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: time="2019-11-25T11:43:19+01:00" level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: **level=error msg="update check failed: transient error: (request_id: ): client not authorized server error message: failed to parse server response: invalid character '<' looking for beginning of value" module=state**
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: level=info msg="State transition: update-check [Sync] -> error [Error]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: level=info msg="handling error state, current error: transient error: (request_id: ): client not authorized server error message: failed to parse server response: invalid character '<' looking for beginning of value" module=sta
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: level=info msg="State transition: error [Error] -> idle [Idle]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: level=info msg="State transition: idle [Idle] -> authorize-wait [Idle]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: level=info msg="State transition: authorize-wait [Idle] -> authorize [Sync]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: **level=error msg="authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized" module=state**
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: time="2019-11-25T11:43:19+01:00" level=error msg="authorize failed: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized" module=state
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: time="2019-11-25T11:43:19+01:00" level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" module=mender
nov 25 11:43:19 ftr-B827EB118CFF mender[24812]: level=info msg="State transition: authorize [Sync] -> authorize-wait [Idle]" module=mender
nov 25 15:32:01 ftr-B827EB118CFF mender[896]: time="2019-11-25T15:32:01+01:00" level=info msg="Device unauthorized; attempting reauthorization" module=client
nov 25 15:32:02 ftr-B827EB118CFF mender[896]: level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized" module=client
nov 25 15:32:02 ftr-B827EB118CFF mender[896]: time="2019-11-25T15:32:02+01:00" level=warning msg="Reauthorization failed with error: transient error: authorization request failed: (request_id: ): authentication request rejected server error message: dev auth: unauthorized" module=client
nov 25 15:32:02 ftr-B827EB118CFF mender[896]: level=error msg="got unexpected HTTP status when submitting to inventory: 401" module=client_inventory
nov 25 15:32:02 ftr-B827EB118CFF mender[896]: time="2019-11-25T15:32:02+01:00" level=error msg="got unexpected HTTP status when submitting to inventory: 401" module=client_inventory
nov 25 15:32:02 ftr-B827EB118CFF mender[896]: level=warning msg="failed to refresh inventory: failed to submit inventory data: (request_id: ): inventory submit failed, bad status 401 server error message: failed to parse server response: invalid character '<' looking for beginning of value" module=state
nov 25 15:32:02 ftr-B827EB118CFF mender[896]: time="2019-11-25T15:32:02+01:00" level=warning msg="failed to refresh inventory: failed to submit inventory data: (request_id: ): inventory submit failed, bad status 401 server error message: failed to parse server response: invalid character '<' looking for beginning of value" module=state
nov 25 15:32:02 ftr-B827EB118CFF mender[896]: level=info msg="State transition: inventory-update [Sync] -> check-wait [Idle]" module=mender
nov 25 15:32:02 ftr-B827EB118CFF mender[896]: time="2019-11-25T15:32:02+01:00" level=info msg="State transition: inventory-update [Sync] -> check-wait [Idle]" module=mender
Edit: @mirzak: formatting