Deployment fails because of 500 Internal Server Error from hosted.mender.io

After starting a deployment based on an artifact generated by hosted.mender.io, the client on the target repeatedly logs the following:

Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=error msg="Error receiving scheduled update data: failed to check update info on the server. Response: &{500 Internal Server Error 500 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[66] Content-Type:[application/json] Date:[Sat, 19 Nov 2022 12:29:37 GMT] Referrer-Policy:[no-referrer] Server:[nginx] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Content-Type-Options:[nosniff] X-Xss-Protection:[1; mode=block]] 0x80f0d0 66 [] false false map[] 0xbf6000 <nil>}"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=error msg="Update check failed: transient error: failed to check update info on the server. Response: &{500 Internal Server Error 500 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[66] Content-Type:[application/json] Date:[Sat, 19 Nov 2022 12:29:37 GMT] Referrer-Policy:[no-referrer] Server:[nginx] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Content-Type-Options:[nosniff] X-Xss-Protection:[1; mode=block]] 0x80f0d0 66 [] false false map[] 0xbf6000 <nil>}"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=error msg="Error receiving scheduled update data: failed to check update info on the server. Response: &{500 Internal Server Error 500 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[66] Content-Type:[application/json] Date:[Sat, 19 Nov 2022 12:29:37 GMT] Referrer-Policy:[no-referrer] Server:[nginx] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Content-Type-Options:[nosniff] X-Xss-Protection:[1; mode=block]] 0x80f0d0 66 [] false false map[] 0xbf6000 <nil>}"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=error msg="Update check failed: transient error: failed to check update info on the server. Response: &{500 Internal Server Error 500 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[66] Content-Type:[application/json] Date:[Sat, 19 Nov 2022 12:29:37 GMT] Referrer-Policy:[no-referrer] Server:[nginx] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Content-Type-Options:[nosniff] X-Xss-Protection:[1; mode=block]] 0x80f0d0 66 [] false false map[] 0xbf6000 <nil>}"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=info msg="State transition: update-check [Sync] -> error [Error]"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=info msg="State transition: update-check [Sync] -> error [Error]"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=info msg="Handling error state, current error: transient error: failed to check update info on the server. Response: &{500 Internal Server Error 500 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[66] Content-Type:[application/json] Date:[Sat, 19 Nov 2022 12:29:37 GMT] Referrer-Policy:[no-referrer] Server:[nginx] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Content-Type-Options:[nosniff] X-Xss-Protection:[1; mode=block]] 0x80f0d0 66 [] false false map[] 0xbf6000 <nil>}"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=info msg="State transition: error [Error] -> idle [Idle]"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=info msg="State transition: idle [Idle] -> check-wait [Idle]"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=info msg="Handling error state, current error: transient error: failed to check update info on the server. Response: &{500 Internal Server Error 500 HTTP/1.1 1 1 map[Connection:[keep-alive] Content-Length:[66] Content-Type:[application/json] Date:[Sat, 19 Nov 2022 12:29:37 GMT] Referrer-Policy:[no-referrer] Server:[nginx] Strict-Transport-Security:[max-age=31536000; includeSubDomains; preload] X-Content-Type-Options:[nosniff] X-Xss-Protection:[1; mode=block]] 0x80f0d0 66 [] false false map[] 0xbf6000 <nil>}"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=info msg="State transition: error [Error] -> idle [Idle]"
Nov 19 12:29:40 buildroot mender[6756]: time="2022-11-19T12:29:40Z" level=info msg="State transition: idle [Idle] -> check-wait [Idle]"

Hi @pamolloy,

Please share the mail address you used for the account or the tenant idea (privately, use a DM) so we can investigate the source of the error on the backend side. There is no single common reason that could be triggered by the user.

Greetz,
Josef

A post was split to a new topic: Device reapproval after update