Skip to content

Proxy failed to serve connection #4550

@zsksy123

Description

@zsksy123

versions

helm list
NAME     	NAMESPACE	REVISION	UPDATED                             	STATUS  	CHART          	APP VERSION
dragonfly	dragonfly	6       	2026-01-06 11:40:13.212607 +0800 CST	deployed	dragonfly-1.5.9	2.3.5

configure

client:
  image:
    # -- Image registry.
    registry: docker.io
    # -- Image repository.
    repository: dragonflyoss/client
    # -- Image tag.
    tag: latest

Executing the command crictl pull -u 'xxx' [image] or nerdctl pull [image] resulted in an error in the client pod's log when attempting to pull the image.
The complete log when executing "crictl -u 'xxx' pull [image]"

crictl.log.md

The complete log when executing "nerdctl pull [image]"

  2026-01-07T04:49:06.222402682+00:00 ERROR  failed to serve connection from 127.0.0.1:52070: invalid HTTP method parsed
    at dragonfly-client/src/proxy/mod.rs:219

  2026-01-07T04:49:06.222880659+00:00  INFO  handle HTTP request: Request { method: HEAD, uri: https://uhub.service.ucloud.cn/v2/openbayes/openbayes-server/manifests/0.26.2, version: HTTP/1.1, headers: {"host": "uhub.service.ucloud.cn", "user-agent": "containerd/2.0.2+unknown", "accept": "application/vnd.docker.distribution.manifest.v2+json, application/vnd.docker.distribution.manifest.list.v2+json, application/vnd.oci.image.manifest.v1+json, application/vnd.oci.image.index.v1+json, */*", "x-dragonfly-registry": "https://uhub.service.ucloud.cn"}, body: Body(Empty) }
    at dragonfly-client/src/proxy/mod.rs:350
    in http_handler
    in registry_mirror_http_handler
    in handler

  2026-01-07T04:49:06.222971987+00:00  INFO  proxy HTTPS request directly to remote server for method: HEAD, uri: https://uhub.service.ucloud.cn/v2/openbayes/openbayes-server/manifests/0.26.2
    at dragonfly-client/src/proxy/mod.rs:400
    in http_handler
    in registry_mirror_http_handler
    in handler

  2026-01-07T04:49:06.695098096+00:00 ERROR  failed to serve connection from 127.0.0.1:52094: invalid HTTP method parsed
    at dragonfly-client/src/proxy/mod.rs:219

  2026-01-07T04:49:06.695745040+00:00  INFO  handle HTTP request: Request { method: GET, uri: https://uhub.service.ucloud.cn/v2/openbayes/openbayes-server/manifests/sha256:5aacaa84f9314ae83acac4719096d202d565d6f01683abe17e8b7a6cb01ec308, version: HTTP/1.1, headers: {"host": "uhub.service.ucloud.cn", "user-agent": "containerd/2.0.2+unknown", "accept": "application/vnd.docker.distribution.manifest.v2+json, */*", "accept-encoding": "zstd;q=1.0, gzip;q=0.8, deflate;q=0.5", "x-dragonfly-registry": "https://uhub.service.ucloud.cn"}, body: Body(Empty) }
    at dragonfly-client/src/proxy/mod.rs:350
    in http_handler
    in registry_mirror_http_handler
    in handler

  2026-01-07T04:49:06.695782357+00:00  INFO  proxy HTTPS request directly to remote server for method: GET, uri: https://uhub.service.ucloud.cn/v2/openbayes/openbayes-server/manifests/sha256:5aacaa84f9314ae83acac4719096d202d565d6f01683abe17e8b7a6cb01ec308
    at dragonfly-client/src/proxy/mod.rs:400
    in http_handler
    in registry_mirror_http_handler
    in handler

The same question can be found in
[(https://github.com//issues/3807)]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions