I am now experiencing this error on all 4 of my test devices, including one with a production
-type build image.
The last 2 devices started the error at the exact same time - during the release of a new version, actually before the error I reported yesterday (I just hadn’t noticed it yet). Strangely enough, it seems to have happened before anything actually changed on-device: the error starts before the image download completes.
Here’s a resin_supervisor
log from one of the two devices:
May 12 19:38:58 929f4c2 [api] GET /v1/healthy 200 - 4.076 ms
May 12 19:43:58 929f4c2 [api] GET /v1/healthy 200 - 5.091 ms
May 12 19:45:34 929f4c2 [debug] Attempting container log timestamp flush...
May 12 19:45:34 929f4c2 [debug] Container log timestamp flush complete
May 12 19:46:26 929f4c2 [event] Event: Update notification {}
May 12 19:46:26 929f4c2 [api] POST /v1/update 204 - 22.892 ms
May 12 19:46:27 929f4c2 [info] Applying target state
May 12 19:46:27 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:46:27 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:46:27 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:46:27 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:46:27 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:46:27 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:46:27 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:46:27 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:46:27 929f4c2 [debug] Replacing container for service bleuberrypi because of config changes:
May 12 19:46:27 929f4c2 [debug] Non-array fields: {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","workingDir":""}}
May 12 19:46:27 929f4c2 [debug] Replacing container for service bleuberrypi because of config changes:
May 12 19:46:27 929f4c2 [debug] Non-array fields: {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","workingDir":""}}
May 12 19:46:27 929f4c2 [event] Event: Delta image download {"image":{"name":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","imageId":3607352,"releaseId":1796667,"dependent":0,"dockerImageId":null}}
May 12 19:46:28 929f4c2 [debug] delta([bleuberrypi] registry2.balena-cloud.com/v2/115619be84c203142e230edc6ad528d8@sha256:ef1f82d530c286f3f5d6d645820e6e579782424976e6623100960abe293d4335): Starting delta to registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41
May 12 19:46:28 929f4c2 [error] Error from the API: 401
May 12 19:46:28 929f4c2 [error] Non-200 response from the API! Status code: 401 - message: Error
May 12 19:46:28 929f4c2 [error] at /usr/src/app/dist/app.js:22:554770
May 12 19:46:28 929f4c2 [error] at runMicrotasks (<anonymous>)
May 12 19:46:28 929f4c2 [error] at processTicksAndRejections (internal/process/task_queues.js:97:5)
May 12 19:46:28 929f4c2 [error] at async /usr/src/app/dist/app.js:22:554078
May 12 19:46:28 929f4c2 [error] at async /usr/src/app/dist/app.js:22:555600
May 12 19:46:38 929f4c2 [error] Error from the API: 401
May 12 19:46:38 929f4c2 [error] Non-200 response from the API! Status code: 401 - message: Error
May 12 19:46:38 929f4c2 [error] at /usr/src/app/dist/app.js:22:554770
May 12 19:46:38 929f4c2 [error] at runMicrotasks (<anonymous>)
May 12 19:46:38 929f4c2 [error] at processTicksAndRejections (internal/process/task_queues.js:97:5)
May 12 19:46:38 929f4c2 [error] at async /usr/src/app/dist/app.js:22:554078
May 12 19:46:38 929f4c2 [error] at async /usr/src/app/dist/app.js:22:555600
May 12 19:46:48 929f4c2 [error] Error from the API: 401
May 12 19:46:48 929f4c2 [error] Non-200 response from the API! Status code: 401 - message: Error
May 12 19:46:48 929f4c2 [error] at /usr/src/app/dist/app.js:22:554770
May 12 19:46:48 929f4c2 [error] at runMicrotasks (<anonymous>)
May 12 19:46:48 929f4c2 [error] at processTicksAndRejections (internal/process/task_queues.js:97:5)
May 12 19:46:48 929f4c2 [error] at async /usr/src/app/dist/app.js:22:554078
May 12 19:46:48 929f4c2 [error] at async /usr/src/app/dist/app.js:22:555600
May 12 19:46:49 929f4c2 [event] Event: Delta still processing remotely. {}
May 12 19:46:49 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:46:49 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:46:50 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:46:50 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:46:50 929f4c2 [debug] Replacing container for service bleuberrypi because of config changes:
May 12 19:46:50 929f4c2 [debug] Non-array fields: {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","workingDir":""}}
May 12 19:46:50 929f4c2 [debug] Replacing container for service bleuberrypi because of config changes:
May 12 19:46:50 929f4c2 [debug] Non-array fields: {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","workingDir":""}}
May 12 19:46:50 929f4c2 [event] Event: Delta image download {"image":{"name":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","imageId":3607352,"releaseId":1796667,"dependent":0,"dockerImageId":null}}
May 12 19:46:50 929f4c2 [debug] delta([bleuberrypi] registry2.balena-cloud.com/v2/115619be84c203142e230edc6ad528d8@sha256:ef1f82d530c286f3f5d6d645820e6e579782424976e6623100960abe293d4335): Starting delta to registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41
May 12 19:46:58 929f4c2 [error] Error from the API: 401
May 12 19:46:58 929f4c2 [error] Non-200 response from the API! Status code: 401 - message: Error
May 12 19:46:58 929f4c2 [error] at /usr/src/app/dist/app.js:22:554770
May 12 19:46:58 929f4c2 [error] at runMicrotasks (<anonymous>)
May 12 19:46:58 929f4c2 [error] at processTicksAndRejections (internal/process/task_queues.js:97:5)
May 12 19:46:58 929f4c2 [error] at async /usr/src/app/dist/app.js:22:554078
May 12 19:46:58 929f4c2 [error] at async /usr/src/app/dist/app.js:22:555600
May 12 19:47:01 929f4c2 [event] Event: Delta still processing remotely. {}
May 12 19:47:01 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:01 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:02 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:02 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:03 929f4c2 [debug] Replacing container for service bleuberrypi because of config changes:
May 12 19:47:03 929f4c2 [debug] Non-array fields: {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","workingDir":""}}
May 12 19:47:03 929f4c2 [debug] Replacing container for service bleuberrypi because of config changes:
May 12 19:47:03 929f4c2 [debug] Non-array fields: {"added":{},"deleted":{"command":{},"entrypoint":{},"environment":{},"labels":{}},"updated":{"image":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","workingDir":""}}
May 12 19:47:03 929f4c2 [event] Event: Delta image download {"image":{"name":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","imageId":3607352,"releaseId":1796667,"dependent":0,"dockerImageId":null}}
May 12 19:47:03 929f4c2 [debug] delta([bleuberrypi] registry2.balena-cloud.com/v2/115619be84c203142e230edc6ad528d8@sha256:ef1f82d530c286f3f5d6d645820e6e579782424976e6623100960abe293d4335): Starting delta to registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41
May 12 19:47:04 929f4c2 [debug] delta([bleuberrypi] registry2.balena-cloud.com/v2/115619be84c203142e230edc6ad528d8@sha256:ef1f82d530c286f3f5d6d645820e6e579782424976e6623100960abe293d4335): Applying balena delta...
May 12 19:47:04 929f4c2 [debug] delta([bleuberrypi] registry2.balena-cloud.com/v2/115619be84c203142e230edc6ad528d8@sha256:ef1f82d530c286f3f5d6d645820e6e579782424976e6623100960abe293d4335): Using registry auth token
May 12 19:47:08 929f4c2 [error] Error from the API: 401
May 12 19:47:08 929f4c2 [error] Non-200 response from the API! Status code: 401 - message: Error
May 12 19:47:08 929f4c2 [error] at /usr/src/app/dist/app.js:22:554770
May 12 19:47:08 929f4c2 [error] at runMicrotasks (<anonymous>)
May 12 19:47:08 929f4c2 [error] at processTicksAndRejections (internal/process/task_queues.js:97:5)
May 12 19:47:08 929f4c2 [error] at async /usr/src/app/dist/app.js:22:554078
May 12 19:47:08 929f4c2 [error] at async /usr/src/app/dist/app.js:22:555600
May 12 19:47:11 929f4c2 [debug] delta([bleuberrypi] registry2.balena-cloud.com/v2/115619be84c203142e230edc6ad528d8@sha256:ef1f82d530c286f3f5d6d645820e6e579782424976e6623100960abe293d4335): Delta applied successfully
May 12 19:47:11 929f4c2 [event] Event: Image downloaded {"image":{"name":"registry2.balena-cloud.com/v2/735e2fd7a948d8a17d4c0c5cca0e883b@sha256:e9b5a8178c61e49a8ba92b7d7793d9154e3c8b8dd366bdd2bbd2687c73b9cc41","appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","imageId":3607352,"releaseId":1796667,"dependent":0,"dockerImageId":null}}
May 12 19:47:11 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:11 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:12 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:12 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:13 929f4c2 [debug] Replacing container for service bleuberrypi because of config changes:
May 12 19:47:13 929f4c2 [debug] Non-array fields: {"added":{},"deleted":{},"updated":{"image":"sha256:334d6f7a9fac3443a0e693dfaec0487cdbeeab69fbca663bb0705b58293634e9","environment":{"BALENA_RELEASE_HASH":"f2affcf610eb8ddd7afeb2ccecf359b6"}}}
May 12 19:47:13 929f4c2 [debug] Replacing container for service bleuberrypi because of config changes:
May 12 19:47:13 929f4c2 [debug] Non-array fields: {"added":{},"deleted":{},"updated":{"image":"sha256:334d6f7a9fac3443a0e693dfaec0487cdbeeab69fbca663bb0705b58293634e9","environment":{"BALENA_RELEASE_HASH":"f2affcf610eb8ddd7afeb2ccecf359b6"}}}
May 12 19:47:13 929f4c2 [event] Event: Service kill {"service":{"appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","releaseId":1794299}}
May 12 19:47:13 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:13 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:14 929f4c2 [event] Event: Service exit {"service":{"appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","releaseId":1794299}}
May 12 19:47:14 929f4c2 [event] Event: Service stop {"service":{"appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","releaseId":1794299}}
May 12 19:47:14 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:14 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:14 929f4c2 [event] Event: Image removal {"image":{"id":68,"name":"registry2.balena-cloud.com/v2/115619be84c203142e230edc6ad528d8@sha256:ef1f82d530c286f3f5d6d645820e6e579782424976e6623100960abe293d4335","appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","imageId":3600239,"releaseId":1794299,"dependent":0,"dockerImageId":"sha256:06aebe6106a6dec2a252ccf315c815058b1da4b21a367bca941f803c37c728b1"}}
May 12 19:47:14 929f4c2 [event] Event: Image removed {"image":{"id":68,"name":"registry2.balena-cloud.com/v2/115619be84c203142e230edc6ad528d8@sha256:ef1f82d530c286f3f5d6d645820e6e579782424976e6623100960abe293d4335","appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","imageId":3600239,"releaseId":1794299,"dependent":0,"dockerImageId":"sha256:06aebe6106a6dec2a252ccf315c815058b1da4b21a367bca941f803c37c728b1"}}
May 12 19:47:14 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:14 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:16 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:16 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:16 929f4c2 [event] Event: Service install {"service":{"appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","releaseId":1796667}}
May 12 19:47:16 929f4c2 [event] Event: Service installed {"service":{"appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","releaseId":1796667}}
May 12 19:47:16 929f4c2 [event] Event: Service start {"service":{"appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","releaseId":1796667}}
May 12 19:47:17 929f4c2 [event] Event: Service started {"service":{"appId":1772693,"serviceId":833392,"serviceName":"bleuberrypi","releaseId":1796667}}
May 12 19:47:17 929f4c2 [debug] Spawning journald with: chroot /mnt/root journalctl -a -S 2021-05-12 19:47:17 -o json CONTAINER_ID_FULL=cc76aa6f935e22a4aeec261799e67bdad2af58a969788d336ee8ce14eb776d90
May 12 19:47:17 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:18 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:18 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:18 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:18 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:18 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:18 929f4c2 [debug] Cannot parse Volume: f89f9b00d450a7f02ab5bee6f137d7d3b971bdd401f6fd27f7437a2b85e05492
May 12 19:47:18 929f4c2 [debug] Cannot parse Volume: d1f8722e83dad4f9a09c458ec6ef5e3f55cc83d276cce9de8691b3cbfb104b9e
May 12 19:47:18 929f4c2 [error] Error from the API: 401
May 12 19:47:18 929f4c2 [error] Non-200 response from the API! Status code: 401 - message: Error
May 12 19:47:18 929f4c2 [error] at /usr/src/app/dist/app.js:22:554770
May 12 19:47:18 929f4c2 [error] at runMicrotasks (<anonymous>)
May 12 19:47:19 929f4c2 [error] at processTicksAndRejections (internal/process/task_queues.js:97:5)
May 12 19:47:19 929f4c2 [error] at async /usr/src/app/dist/app.js:22:554078
May 12 19:47:19 929f4c2 [error] at async /usr/src/app/dist/app.js:22:555600
May 12 19:47:19 929f4c2 [debug] Finished applying target state
May 12 19:47:19 929f4c2 [success] Device state apply success
May 12 19:47:29 929f4c2 [error] Error from the API: 401
May 12 19:47:29 929f4c2 [error] Non-200 response from the API! Status code: 401 - message: Error
May 12 19:47:29 929f4c2 [error] at /usr/src/app/dist/app.js:22:554770
May 12 19:47:29 929f4c2 [error] at runMicrotasks (<anonymous>)
May 12 19:47:29 929f4c2 [error] at processTicksAndRejections (internal/process/task_queues.js:97:5)
May 12 19:47:29 929f4c2 [error] at async /usr/src/app/dist/app.js:22:554078
May 12 19:47:29 929f4c2 [error] at async /usr/src/app/dist/app.js:22:555600