Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS Timeout when using docker run/pull on Raspberry Pi Zero W #40

Open
donkawechico opened this issue Aug 7, 2019 · 0 comments
Open

Comments

@donkawechico
Copy link

donkawechico commented Aug 7, 2019

ISSUE:

On a Raspberry Pi Zero W, when pulling/downloading the latest magic-cards image layers via the docker run step in the README, it eventually fails with the error:

error pulling image configuration: Get https://production.butt //...// : net/http: TLS handshake timeout

CAUSE

Docker, by default, runs 3 simultaneous network connections when pulling down docker image layers, which overwhelms the Zero W.

SOLUTION:

Set the max-concurrent-downloads parameter, as described here: https://forums.docker.com/t/tls-handshake-timeout-pulling-from-docker-hub-on-a-raspberry-pi-1-on-docker-17-03/53614/2

It can also be done when starting the docker daemon by stopping the daemon, then starting manually with:
dockerd --max-concurrent-downloads 1

Once the docker pull is complete, you can relaunch the daemon with the default of 3 connections.

Might be worth adding an entry in the README to reflect this, as I suspect it would occur for all/most pi zeros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant