-
Notifications
You must be signed in to change notification settings - Fork 128
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
wget Connection reset by peer #162
Comments
from https://busybox.net/
there is no Please rollback the |
Apparently 1.36 was erroneously marked as 'latest' whereas it is unstable -> docker-library/busybox#162
Apparently 1.36 was erroneously marked as 'latest' whereas it is unstable -> docker-library/busybox#162
I am unable to reproduce; the current $ docker run -it --rm busybox
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
205dae5015e7: Pull complete
Digest: sha256:7b3ccabffc97de872a30dfd234fd972a66d247c8cfc69b0550f276481852627c
Status: Downloaded newer image for busybox:latest
/ #
/ # wget https://dtdg.co/latest-java-tracer
Connecting to dtdg.co (67.199.248.13:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.114.4:443)
Connecting to objects.githubusercontent.com (185.199.109.133:443)
saving to 'latest-java-tracer'
latest-java-tracer 100% |********************************| 19.4M 0:00:00 ETA
'latest-java-tracer' saved
/ # / # busybox --help
BusyBox v1.36.0 (2023-01-03 22:42:57 UTC) multi-call binary.
... The version bump for |
I see the same behaviour in gks environment with the 1.36.0 release With 1.34.1
With 1.36.0
Something to do with https/ssl handling? |
@yosifkit |
I'd suggest pinning to |
That's not my team and I did make that recommendation, but would be nice to have the tag fixed anyway.
|
Just to add to that and narrow it down just a little. I just run into this and noticed that the issue only appears on the latest but also only on amd64 version , same image but arm64 version works fine. amd64:
arm64:
|
This is still broken in the musl version although the glibc version seems fixed. The error only happens for some domains -- github.com works but amazon.com does not (Nor does any S3 URL). This is from a fresh build off master
|
Tested from version 1.34 to the latest.
0.221 wget: error getting response: Connection reset by peer |
Bug 15679 ("wget with amazon.com fails with TLS handshake failure on Debian 12") appears to be upstream's own tracking of this issue. Filed 4 July 2023, with no contributors to date other than the original submitter. |
Tested latest stable $ docker run --rm -it busybox:stable
wget https://dtdg.co/latest-java-tracer
Connecting to dtdg.co (67.199.248.13:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer With previous stable $ docker run --rm -it busybox:1.34.1
wget https://download.geonames.org/export/dump/FI.zip
Connecting to download.geonames.org (5.9.152.54:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer
wget https://dtdg.co/latest-java-tracer
Connecting to dtdg.co (67.199.248.13:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.121.4:443)
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer On $ docker run --rm -it busybox:1.29.1
wget https://download.geonames.org/export/dump/FI.zip
Connecting to download.geonames.org (5.9.152.54:443)
wget: note: TLS certificate validation not implemented
FI.zip 100% |***********************************************************************| 4542k 0:00:00 ETA
wget https://dtdg.co/latest-java-tracer
Connecting to dtdg.co (67.199.248.13:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.121.4:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 80): 80
wget: error getting response: Connection reset by peer |
Also seeing this on an embedded system with just busybox 1.36.1, with musl 1.2.5.
Sometimes it's
|
Got the same (using the
Apparently it does not always occur, so it might have been just a couple of hiccups when connecting to github.com (and it has nothing to do with busybox after all...) |
GitHub did apparently have a bunch of hiccups over the weekend (as evidenced by the pile of CI failure emails I've got from this weekend 😄) |
Any update on this? It looks like even with busybox amd64
arm64
|
Similar state to #162 (comment) although amusingly 1.37 ("latest") works fine for me, but 1.36 fails with handshake errors (but with a more verbose error than you appear to be getting): $ ( set -Eeuo pipefail; for version in 1.37 1.36; do for libc in glibc uclibc musl; do img="busybox:$version-$libc"; docker pull -q "$img" > /dev/null; ( PS4='\n$ '; set -x; docker run -it --rm --pull=always "$img" wget -O install.sh https://get.pnpm.io/install.sh ) || :; done; done )
$ docker run -it --rm --pull=always busybox:1.37-glibc wget -O install.sh https://get.pnpm.io/install.sh
1.37-glibc: Pulling from library/busybox
Digest: sha256:04c3917ae1ad16d8be9702176a1e1ecd3cfe6b374a274bd52382c001b4ecd088
Status: Image is up to date for busybox:1.37-glibc
Connecting to get.pnpm.io (66.33.60.66:443)
wget: note: TLS certificate validation not implemented
saving to 'install.sh'
install.sh 100% |***************************************************************************| 2785 0:00:00 ETA
'install.sh' saved
$ docker run -it --rm --pull=always busybox:1.37-uclibc wget -O install.sh https://get.pnpm.io/install.sh
1.37-uclibc: Pulling from library/busybox
Digest: sha256:f1a295688a1cad4f66e7f45484a882a8b45fbdea28fa0a889ac17146775ad1a2
Status: Image is up to date for busybox:1.37-uclibc
Connecting to get.pnpm.io (76.76.21.61:443)
wget: note: TLS certificate validation not implemented
saving to 'install.sh'
install.sh 100% |***************************************************************************| 2785 0:00:00 ETA
'install.sh' saved
$ docker run -it --rm --pull=always busybox:1.37-musl wget -O install.sh https://get.pnpm.io/install.sh
1.37-musl: Pulling from library/busybox
Digest: sha256:37ccc05112d0a7162b605c375f5c0f5cfbc6e6c4fc8030ead6ae26a18c28a542
Status: Image is up to date for busybox:1.37-musl
Connecting to get.pnpm.io (76.76.21.98:443)
wget: note: TLS certificate validation not implemented
saving to 'install.sh'
install.sh 100% |***************************************************************************| 2785 0:00:00 ETA
'install.sh' saved
$ docker run -it --rm --pull=always busybox:1.36-glibc wget -O install.sh https://get.pnpm.io/install.sh
1.36-glibc: Pulling from library/busybox
Digest: sha256:870b2cfd9e8f465247c14a96680388426e2f28a8494b798e7aa1714683163eb0
Status: Image is up to date for busybox:1.36-glibc
Connecting to get.pnpm.io (76.76.21.93:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer
$ docker run -it --rm --pull=always busybox:1.36-uclibc wget -O install.sh https://get.pnpm.io/install.sh
1.36-uclibc: Pulling from library/busybox
Digest: sha256:2922236718b1d0f8b961bf246305aee5ddd665a4877d7a88c0a4661f5c3fe318
Status: Image is up to date for busybox:1.36-uclibc
Connecting to get.pnpm.io (76.76.21.98:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer
$ docker run -it --rm --pull=always busybox:1.36-musl wget -O install.sh https://get.pnpm.io/install.sh
1.36-musl: Pulling from library/busybox
Digest: sha256:7fe2d84eca21fa921a1006acaa68da15ed0acb7e1d21e5f3149bb6923af38498
Status: Image is up to date for busybox:1.36-musl
Connecting to get.pnpm.io (76.76.21.93:443)
wget: note: TLS certificate validation not implemented
wget: TLS error from peer (alert code 40): handshake failure
wget: error getting response: Connection reset by peer This is definitely an upstream issue though, and not something we're likely to be able to fix in the image unless it's somehow related to the build-time configuration of BusyBox (which is unlikely, especially as it works fine in the newer 1.37 and 1.36 is extremely unlikely to get backported fixes, let alone a new release). |
And again with the original URL from the OP, which succeeds across both "supported" versions (and all supported libc variants): $ ( set -Eeuo pipefail; for version in 1.37 1.36; do for libc in glibc uclibc musl; do img="busybox:$version-$libc"; docker pull -q "$img" > /dev/null; ( PS4='\n$ '; set -x; docker run -it --rm --pull=always "$img" wget https://dtdg.co/latest-java-tracer ) || :; done; done )
$ docker run -it --rm --pull=always busybox:1.37-glibc wget https://dtdg.co/latest-java-tracer
1.37-glibc: Pulling from library/busybox
Digest: sha256:04c3917ae1ad16d8be9702176a1e1ecd3cfe6b374a274bd52382c001b4ecd088
Status: Image is up to date for busybox:1.37-glibc
Connecting to dtdg.co (67.199.248.13:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.116.4:443)
Connecting to objects.githubusercontent.com (185.199.109.133:443)
saving to 'latest-java-tracer'
latest-java-tracer 100% |********************************| 29.8M 0:00:00 ETA
'latest-java-tracer' saved
$ docker run -it --rm --pull=always busybox:1.37-uclibc wget https://dtdg.co/latest-java-tracer
1.37-uclibc: Pulling from library/busybox
Digest: sha256:f1a295688a1cad4f66e7f45484a882a8b45fbdea28fa0a889ac17146775ad1a2
Status: Image is up to date for busybox:1.37-uclibc
Connecting to dtdg.co (67.199.248.12:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.116.4:443)
Connecting to objects.githubusercontent.com (185.199.108.133:443)
saving to 'latest-java-tracer'
latest-java-tracer 100% |********************************| 29.8M 0:00:00 ETA
'latest-java-tracer' saved
$ docker run -it --rm --pull=always busybox:1.37-musl wget https://dtdg.co/latest-java-tracer
1.37-musl: Pulling from library/busybox
Digest: sha256:37ccc05112d0a7162b605c375f5c0f5cfbc6e6c4fc8030ead6ae26a18c28a542
Status: Image is up to date for busybox:1.37-musl
Connecting to dtdg.co (67.199.248.12:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.116.4:443)
Connecting to objects.githubusercontent.com (185.199.108.133:443)
saving to 'latest-java-tracer'
latest-java-tracer 100% |******************************************************************************************************************| 29.8M 0:00:00 ETA
'latest-java-tracer' saved
$ docker run -it --rm --pull=always busybox:1.36-glibc wget https://dtdg.co/latest-java-tracer
1.36-glibc: Pulling from library/busybox
Digest: sha256:870b2cfd9e8f465247c14a96680388426e2f28a8494b798e7aa1714683163eb0
Status: Image is up to date for busybox:1.36-glibc
Connecting to dtdg.co (67.199.248.12:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.116.4:443)
Connecting to objects.githubusercontent.com (185.199.110.133:443)
saving to 'latest-java-tracer'
latest-java-tracer 100% |******************************************************************************************************************| 29.8M 0:00:00 ETA
'latest-java-tracer' saved
$ docker run -it --rm --pull=always busybox:1.36-uclibc wget https://dtdg.co/latest-java-tracer
1.36-uclibc: Pulling from library/busybox
Digest: sha256:2922236718b1d0f8b961bf246305aee5ddd665a4877d7a88c0a4661f5c3fe318
Status: Image is up to date for busybox:1.36-uclibc
Connecting to dtdg.co (67.199.248.12:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.116.3:443)
Connecting to objects.githubusercontent.com (185.199.111.133:443)
saving to 'latest-java-tracer'
latest-java-tracer 100% |******************************************************************************************************************| 29.8M 0:00:00 ETA
'latest-java-tracer' saved
$ docker run -it --rm --pull=always busybox:1.36-musl wget https://dtdg.co/latest-java-tracer
1.36-musl: Pulling from library/busybox
Digest: sha256:7fe2d84eca21fa921a1006acaa68da15ed0acb7e1d21e5f3149bb6923af38498
Status: Image is up to date for busybox:1.36-musl
Connecting to dtdg.co (67.199.248.13:443)
wget: note: TLS certificate validation not implemented
Connecting to github.com (140.82.116.4:443)
Connecting to objects.githubusercontent.com (185.199.109.133:443)
saving to 'latest-java-tracer'
latest-java-tracer 100% |******************************************************************************************************************| 29.8M 0:00:00 ETA
'latest-java-tracer' saved |
When using version 1.36 in eks environment, wget request fails.
I attach busybox.yaml file and wget command.
It doesn't seem to be a problem with the eks environment because it works normally in versions below 1.35.
Is there any change to version 1.36 that I should consider?
The text was updated successfully, but these errors were encountered: