device state apply error t

Hi, I am exploiting the BalenaOS to run a multicontainer application, I am now facing this error in the supervisor which I think generate a discontinuity on the functioning of each container

What could it be related? It seems like while trying to update a container something fails.

Thank you for any suggestion

This is part of the log

[info] Applying target state
[debug] Replacing container for service container because of config changes:
[debug] Non-array fields: {“added”:{},“deleted”:{“entrypoint”:{},“environment”:{},“labels”:{}},“updated”:{“image”:“registry.domain.org/v2/f27d3f2482d3ea09243d5a48a4ad4ca4@sha256:6dfc2ab8a629588b8f7cb96838baffe712d5f775060c3bc2328358d4beb17379",“workingDir”:"”}}
[debug] Replacing container for service container because of config changes:
[debug] Non-array fields: {“added”:{},“deleted”:{“entrypoint”:{},“environment”:{},“labels”:{}},“updated”:{“image”:“registry.domain.org/v2/f27d3f2482d3ea09243d5a48a4ad4ca4@sha256:6dfc2ab8a629588b8f7cb96838baffe712d5f775060c3bc2328358d4beb17379",“workingDir”:"”}}
[debug] Replacing container for service container because of config changes:
[debug] Non-array fields: {“added”:{},“deleted”:{“entrypoint”:{},“environment”:{},“labels”:{}},“updated”:{“image”:“registry.domain.org/v2/f27d3f2482d3ea09243d5a48a4ad4ca4@sha256:6dfc2ab8a629588b8f7cb96838baffe712d5f775060c3bc2328358d4beb17379",“workingDir”:"”}}

[event] Event: Docker image download {“image”:{“name”:“registry.domain.org/v2/f27d3f2482d3ea09243d5a48a4ad4ca4@sha256:6dfc2ab8a629588b8f7cb96838baffe712d5f775060c3bc2328358d4beb17379",“appId”:21,“serviceId”:579,“serviceName”:“container”,“imageId”:751,“releaseId”:329,“dependent”:0,"dockerImageId”:null}}

[event] Event: Image download error {“error”:{“message”:"(HTTP code 500) server error - Get https://registry.domain.org/v2/: dial tcp: lookup registry.domain.org on 127.0.0.2:53: server misbehaving ",“stack”:“Error: (HTTP code 500) server error - Get https://registry.domain.org/v2/: dial tcp: lookup registry.domain.org on 127.0.0.2:53: server misbehaving \n at /usr/src/app/dist/app.js:596:108431\n at IncomingMessage. (/usr/src/app/dist/app.js:596:108375)\n at IncomingMessage.emit (events.js:194:15)\n at endReadableNT (_stream_readable.js:1125:12)\n at process._tickCallback (internal/process/next_tick.js:63:19)”},“image”:{“name”:“registry.domain.org/v2/f27d3f2482d3ea09243d5a48a4ad4ca4@sha256:6dfc2ab8a629588b8f7cb96838baffe712d5f775060c3bc2328358d4beb17379",“appId”:21,“serviceId”:579,“serviceName”:“container”,“imageId”:751,“releaseId”:329,“dependent”:0,"dockerImageId”:null}}
[debug] Replacing container for service container because of config changes:
[debug] Non-array fields: {“added”:{},“deleted”:{“entrypoint”:{},“environment”:{},“labels”:{}},“updated”:{“image”:“registry.domain.org/v2/f27d3f2482d3ea09243d5a48a4ad4ca4@sha256:6dfc2ab8a629588b8f7cb96838baffe712d5f775060c3bc2328358d4beb17379",“workingDir”:"”}}
[debug] Replacing container for service container because of config changes:
[debug] Non-array fields: {“added”:{},“deleted”:{“entrypoint”:{},“environment”:{},“labels”:{}},“updated”:{“image”:“registry.domain.org/v2/f27d3f2482d3ea09243d5a48a4ad4ca4@sha256:6dfc2ab8a629588b8f7cb96838baffe712d5f775060c3bc2328358d4beb17379",“workingDir”:"”}}
[debug] Replacing container for service container because of config changes:
[debug] Non-array fields: {“added”:{},“deleted”:{“entrypoint”:{},“environment”:{},“labels”:{}},“updated”:{“image”:“registry.domain.org/v2/f27d3f2482d3ea09243d5a48a4ad4ca4@sha256:6dfc2ab8a629588b8f7cb96838baffe712d5f775060c3bc2328358d4beb17379",“workingDir”:"”}}
[error] Scheduling another update attempt in 4000ms due to failure: t
[error] at t. (/usr/src/app/dist/app.js:604:41904)
[error] at /usr/src/app/dist/app.js:604:41061
[error] at Object.next (/usr/src/app/dist/app.js:604:41166)
[error] at /usr/src/app/dist/app.js:604:40079
[error] at new Promise ()
[error] at o (/usr/src/app/dist/app.js:604:39856)
[error] at t.triggerFetch (/usr/src/app/dist/app.js:604:41564)
[error] at Object. (/usr/src/app/dist/app.js:604:83065)
[error] at /usr/src/app/dist/app.js:604:79649
[error] at Object.next (/usr/src/app/dist/app.js:604:79754)
[error] at a (/usr/src/app/dist/app.js:604:78500)
[error] Device state apply error t
[error] at t. (/usr/src/app/dist/app.js:604:41904)
[error] at /usr/src/app/dist/app.js:604:41061
[error] at Object.next (/usr/src/app/dist/app.js:604:41166)
[error] at /usr/src/app/dist/app.js:604:40079
[error] at new Promise ()
[error] at o (/usr/src/app/dist/app.js:604:39856)
[error] at t.triggerFetch (/usr/src/app/dist/app.js:604:41564)
[error] at Object. (/usr/src/app/dist/app.js:604:83065)
[error] at /usr/src/app/dist/app.js:604:79649
[error] at Object.next (/usr/src/app/dist/app.js:604:79754)
[error] at a (/usr/src/app/dist/app.js:604:78500)

[event] Event: Device state report failure {“error”:{“message”:“”}}

Hi,

The supervisor will try to continue the update later but I can see from the log these messages

Event: Image download error {“error”:{“message”:"(HTTP code 500) server error - Get https://registry.nerds4life.org/v2/: dial tcp: lookup registry.nerds4life.org on 127.0.0.2:53: server misbehaving “,“stack”:“Error: (HTTP code 500) server error - Get https://registry.nerds4life.org/v2/: dial tcp: lookup registry.nerds4life.org on 127.0.0.2:53: server misbehaving \n at /usr/src/app/dist/app.js:596:108431\n at IncomingMessage. (/usr/src/app/dist/app.js:596:108375)\n at IncomingMessage.emit (events.js:194:15)\n at endReadableNT (_stream_readable.js:1125:12)\n at process._tickCallback (internal/process/next_tick.js:63:19)”},“image”

Is your device using a stable connection or can it be a connectivity issue on your side?

the device is connected through a 3g Dongle, so the problem could be the connection?

Yes, unstable connection might cause this issue