balena-os / balena-supervisor

Balena Supervisor: balena's agent on devices.
https://balena.io
Other
147 stars 63 forks source link

Supervisor container restart may be required to fix DNS resolution #1212

Open roman-mazur opened 4 years ago

roman-mazur commented 4 years ago

The symptom is the following entry in the supervisor log:

Mar 05 21:40:47 resin-supervisor[11448]: LogBackend: unexpected error: { Error: getaddrinfo EAI_AGAIN api.balena-cloud.com api.balena-cloud.com:443
Mar 05 21:40:47 resin-supervisor[11448]:     at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)
Mar 05 21:40:47 resin-supervisor[11448]:   errno: 'EAI_AGAIN',
Mar 05 21:40:47 resin-supervisor[11448]:   code: 'EAI_AGAIN',
Mar 05 21:40:47 resin-supervisor[11448]:   syscall: 'getaddrinfo',
Mar 05 21:40:47 resin-supervisor[11448]:   hostname: 'api.balena-cloud.com',
Mar 05 21:40:47 resin-supervisor[11448]:   host: 'api.balena-cloud.com',
Mar 05 21:40:47 resin-supervisor[11448]:   port: 443 }

A container restart helps to mitigate it.

Can be related to #442

balena-ci commented 4 years ago

[roman-mazur] This issue has attached support thread https://jel.ly.fish/#/dd6e4b34-892a-4c57-8a7c-7103f5c2d189

pdcastro commented 3 years ago

Sounds related to #1335 Supervisor doesn't recover after EAI_AGAIN api.balena-cloud.com

jellyfish-bot commented 2 years ago

[phil-d-wilson] This has attached https://jel.ly.fish/598662fb-1fef-4782-a117-32020cca2dc5