Skip to content

Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) 错误代码: E_FAIL #40995

Description

@m178520

Windows Version

Windows 10.0.22631.6199

WSL Version

wslc 2.9.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

No response

Distro Version

No response

Other Software

Repro Steps

I'm a developer from China. Seeing that our wsl supports directly starting containers, I immediately went to check it out. As a result, the following error occurred when pulling the image.

wslc run --rm -it ubuntu:latest bash -c "echo Hello world from WSL container!"

Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
错误代码: E_FAIL

Expected Behavior

It is hoped that we can change the source of the image we pull like docker does, so as to prevent such errors from happening

Actual Behavior

Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
错误代码: E_FAIL

Diagnostic Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions