balena-io-modules / balena-preload

Script for preloading containers onto balena device images
https://www.balena.io/
Apache License 2.0
35 stars 8 forks source link

Issue with openBalena #211

Open mexekanez opened 5 years ago

mexekanez commented 5 years ago

balena-preload --app 12 --commit 1234 --api-host MYDOMAIN.xyz --api-token 1234 --img balena.img --add-certificate ca.crt Building Docker preloader image. [========================] 100%

/ Creating preloader container | Starting preloader container \ Fetching application 12 / Reading image information \ Resizing partitions and waiting for dockerd to start / Cleaning up temporary files

{ Error: (HTTP code 500) server error - Get https://registry.MYDOAMIN.xyz/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) at /usr/local/lib/node_modules/balena-preload/node_modules/docker-modem/lib/modem.js:257:17 at IncomingMessage. (/usr/local/lib/node_modules/balena-preload/node_modules/docker-modem/lib/modem.js:284:9) at emitNone (events.js:111:20) at IncomingMessage.emit (events.js:208:7) at endReadableNT (_stream_readable.js:1064:12) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) reason: 'server error', statusCode: 500, json: null }

Looks like this might be an issue with balena-preload. Please report it at https://github.com/balena-io/balena-preload/issues

from others side all options works well like deploy and etc...

balena-ci commented 5 years ago

[robertgzr] This issue has attached support thread https://jel.ly.fish/#/support-thread~723427d3-53d6-4b7d-9c48-0d5b2ad1de16

mexekanez commented 5 years ago

additional thread with the same issue:

https://forums.balena.io/t/incude-script-in-initial-image/34640/28