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

zcashd build fails intermittently with gpg "Cannot assign requested address" #1

Open
nathan-at-least opened this issue Nov 22, 2019 · 1 comment

Comments

@nathan-at-least
Copy link

nathan-at-least commented Nov 22, 2019

I'm experiencing a non-deterministic failure when building the zcashd/Dockerfile. It's intermittent, so if I see it and just keep rerunning docker build -t zcashd . it will succeed after a time or two.

Here's the relevant snippet of output:

Executing: /tmp/apt-key-gpghome.sPPnYpMLLk/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 6DEF3BAF272766C0
gpg: keyserver receive failed: Cannot assign requested address

A quick google shows this error all over the place, and the first hit for me suggests a workaround of adding this to the Dockerfile:

RUN mkdir ~/.gnupg
RUN echo "disable-ipv6" >> ~/.gnupg/dirmngr.conf

I'm going to experiment with that in a branch. Does anyone else see this intermittent failure?

@nathan-at-least
Copy link
Author

I couldn't reproduce this issue after a few tries, so I couldn't verify the workaround. I gave up and moved on with my project.

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