Unable to preload and image now?

Well I went back to 18.06.1 and I get this message now:

error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/97/9769e0f3f9cbaf77ba3e96a5cd404038ad98d24eef5b480082e7e03bcdb5cc3b/data?verify=1578116252-ouizrsblSACTRJNsMhk50G65sKA%3D: net/http: TLS handshake timeout

It may be time to just use linux in parallels.

Hey @KingstonSteele, the message net/http: TLS handshake timeout indicates a connection issue. Your internet might be slow, or there was a brief hiccup with the connection at the moment. Or perhaps your machine is connecting via a proxy that causes this issue. So I’d suggest trying out the command again and if that doesn’t work, checking the proxy setup. Here are the docker docs about the last point: https://docs.docker.com/config/daemon/systemd/#httphttps-proxy

Searching online, I see many users reporting a similar issue. One other suggestion would be restarting the docker service before you retry (and docker logout and docker login in case you use docker logged in before) .

I’ve got it to work on Mac now. So here is what you need to do:

  1. Make sure you’re running docker version 17.03.0. Others may work but I wasn’t able to find a newer one that would work.

  2. Make sure you have a balena cloud image someplace (Like the one you download from your dashboard). For me I put it in this location on my local machine:

/documents/project/yourbalena.img

  1. In your terminal make sure your command looks something like this:

balena preload ~/documents/project/yourbalena.img --app 1555555 --commit current

Your --app number should be the number found in your url on your dashboard at balena-cloud.com. For instance:

https://dashboard.balena-cloud.com/apps/1555555/devices

This seems to have fixed my issue completely and I am now able to preload on mac.