docker / hub-feedback

Feedback and bug reports for the Docker Hub
https://hub.docker.com
233 stars 48 forks source link

ERROR: failed to solve: node:20-bullseye-slim: unexpected status from HEAD request to https://registry-1.docker.io/v2/library/node/manifests/20-bullseye-slim: 500 Server Error #2375

Closed BDAthans closed 3 months ago

BDAthans commented 3 months ago

Problem description

When trying to build a docker image using the base image node:20-bullseye-slim I am getting the following error:

ERROR: failed to solve: node:20-bullseye-slim: unexpected status from HEAD request to https://registry-1.docker.io/v2/library/node/manifests/20-bullseye-slim: 500 Server Error

When I try to run: docker pull node:20-bullseye-slim

This is the error I am getting:

Error response from daemon: received unexpected HTTP status: 500 Server Error

Any help would be greatly appreciated in resolving this.

Debug Information

Browser name and version: Running on Ubuntu 25, Docker version 25.0.2, build 29cf629

URL: https://registry-1.docker.io/v2/library/node/manifests/20-bullseye-slim

Timetamp or time range: 03/18/2024 - 9:00AM to 1:45PM CST

Public IP: Rather not provide IP address as it is used for business purposes.

Hub Username: BDAthans

Error messages (on screen or in browser console)

Screenshots of the issue (if applicable)

Trying to curl -v https://auth.docker.com I get the following:

* processing: https://auth.docker.com
*   Trying [2600:1f18:2148:bc00:8d61:9b62:40aa:8bb8]:443...
* Connected to auth.docker.com (2600:1f18:2148:bc00:8d61:9b62:40aa:8bb8) port 443
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
*  subject: CN=*.docker.com
*  start date: Oct  2 00:00:00 2023 GMT
*  expire date: Oct 31 23:59:59 2024 GMT
*  subjectAltName: host "auth.docker.com" matched cert's "*.docker.com"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
*  SSL certificate verify ok.
* using HTTP/1.x
> GET / HTTP/1.1
> Host: auth.docker.com
> User-Agent: curl/8.2.1
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 500 Server Error
< cache-control: no-cache
< content-type: text/html
<
<html><body><h1>500 Server Error</h1>
An internal server error occured.
</body></html>

* TLSv1.3 (IN), TLS alert, close notify (256):
* Closing connection
* TLSv1.3 (OUT), TLS alert, close notify (256):

Trying to curl registry-1.docker.io I also get:

* processing: https://registry-1.docker.io
*   Trying [2600:1f18:2148:bc02:445d:9ace:d20b:c303]:443...
* Connected to registry-1.docker.io (2600:1f18:2148:bc02:445d:9ace:d20b:c303) port 443
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_128_GCM_SHA256
* ALPN: server did not agree on a protocol. Uses default.
* Server certificate:
*  subject: CN=*.docker.com
*  start date: Oct  2 00:00:00 2023 GMT
*  expire date: Oct 31 23:59:59 2024 GMT
*  subjectAltName: host "registry-1.docker.io" matched cert's "*.docker.io"
*  issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
*  SSL certificate verify ok.
* using HTTP/1.x
> GET / HTTP/1.1
> Host: registry-1.docker.io
> User-Agent: curl/8.2.1
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 500 Server Error
< cache-control: no-cache
< content-type: text/html
<
<html><body><h1>500 Server Error</h1>
An internal server error occured.
</body></html>

* TLSv1.3 (IN), TLS alert, close notify (256):
* Closing connection
* TLSv1.3 (OUT), TLS alert, close notify (256):

Trying to curl -v https://production.cloudflare.docker.com I get:

* processing: https://production.cloudflare.docker.com/
*   Trying [2606:4700::6810:64cf]:443...
* Connected to production.cloudflare.docker.com (2606:4700::6810:64cf) port 443
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN: server accepted h2
* Server certificate:
*  subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=sni.cloudflaressl.com
*  start date: May 12 00:00:00 2023 GMT
*  expire date: May 11 23:59:59 2024 GMT
*  subjectAltName: host "production.cloudflare.docker.com" matched cert's "production.cloudflare.docker.com"
*  issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
*  SSL certificate verify ok.
* using HTTP/2
* h2 [:method: GET]
* h2 [:scheme: https]
* h2 [:authority: production.cloudflare.docker.com]
* h2 [:path: /]
* h2 [user-agent: curl/8.2.1]
* h2 [accept: */*]
* Using Stream ID: 1
> GET / HTTP/2
> Host: production.cloudflare.docker.com
> User-Agent: curl/8.2.1
> Accept: */*
>
< HTTP/2 403
< date: Mon, 18 Mar 2024 18:25:29 GMT
< content-type: application/json
< content-length: 55
< server: cloudflare
< cf-ray: 866743fe3a84225e-ORD
<
* Connection #0 to host production.cloudflare.docker.com left intact

Task List

jcarter3 commented 3 months ago

Thanks for reporting! Is this a repeatable issue or did it just happen once?

BDAthans commented 3 months ago

This is continuing to happen on this server. I can reproduce the errors.

jcarter3 commented 3 months ago

What about other images? Something just like docker pull node:20-bullseye?

BDAthans commented 3 months ago

I tried multiple different images but get the same error.

BDAthans commented 3 months ago

Upon checking again today using: docker pull node:20-bullseye-slim I was able to successfully pull the image from docker hub without receiving the 'server error 500'. This issue has seemed to resolve itself after waiting 24 hours.