You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using buildx to cross-build a project of mine. The dockerfile is multistage, and uses the golang:latest image to build the application on an AMD64 box. Now, for targets AMD64 and ARM64 everything goes well, but for ARMv7 the build hangs and fails with many TLS Handshake Timeouts about halfway through downloading the dependencies.
I am pasting the error messages at the end of this report. Some notes:
A similar first stage, that uses alpine:edge and imports golang via package manager, succeeds;
I would want to avoid Alpine/musl, though;
I tried on WSL2 in my dev PC, on a "real" linux box, and on a F16s Azure machine with accelerated networking. It doesn't seem related to network speed nor to CPU power, it fails consistently;
On the azure machine (16 cores) the CPU load was ~3.9 during compilation, before failing;
The Makefile step that fails is CGO_ENABLED=0 go build -o ws4sqlite -trimpath
I tried adding a go get download -x before the go build and it also fails.
The text was updated successfully, but these errors were encountered:
proofrock
changed the title
Consistent TLS Timeout in build stage that uses golang:latest, only on ARMv7
Consistent TLS Timeout in build stage that uses golang:latest, only when cross-compiling to ARMv7
Apr 22, 2023
A thing: I am in South Korea now, and I did all the tests from here, also the Azure VM was created here (Korea Central). I tried with a VM created in US Central, and it works.
So it seems a combined qemu/arm+distance thing? Is there a way to set the TLS Handshake Timeout somehow and/or to use a sort of CDN? It's still quite strange, the network speed on Azure is still very performant, it shouldn't timeout even from Korea IMHO.
Unfortunately, we do not have the bandwidth to provide in-depth integration/deployment/environment debugging or support here; these sorts of questions/requests would be more appropriately posted to a dedicated support forum, such as the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow.
Hi,
I am using buildx to cross-build a project of mine. The dockerfile is multistage, and uses the
golang:latest
image to build the application on an AMD64 box. Now, for targets AMD64 and ARM64 everything goes well, but for ARMv7 the build hangs and fails with many TLS Handshake Timeouts about halfway through downloading the dependencies.I am pasting the error messages at the end of this report. Some notes:
alpine:edge
and imports golang via package manager, succeeds;CGO_ENABLED=0 go build -o ws4sqlite -trimpath
go get download -x
before thego build
and it also fails.Steps to reproduce
On an amd64 linux system:
It seems the same issue as this one. I am filing it here because this project is the one suggested by the dockerhub page.
Please tell me if I missed something, or how I can be of further assistance. I hope this is solvable.
-- G.
The text was updated successfully, but these errors were encountered: