Skip to content

Git & Packagemanager Issues #13135

Open
Open
@carensbak

Description

@carensbak

Windows Version

Microsoft Windows [Version 10.0.26100.4349]

WSL Version

2.5.7.0

Are you using WSL 1 or WSL 2?

WSL 2
Kernel version: 6.6.87.1-1

Distro Version

Ubuntu 24.04.2 LTS

Repro Steps

run sudo apt update
or
run any git command that targets remote, i.e. git push, git pull or git clone

Expected Behavior

Successfully update packages or run the remote git commands.

Actual Behavior

apt: Hangs with message 0% [Waiting for headers].
Image

git: Also hangs / fails, even cloning a public repo does not work, and fails with message fatal: unable to access 'https://github.com/Foo/PublicRepo': Recv failure: Connection reset by peer
Image

Other information:

At work I have a virtual PC running Windows. Here I run WSL, and it has been working fine until this Monday.
At the moment I am not able to use git, apt and curl (probably more).

I have tried pinging google, which works, so I have internet access in WSL.
Image

When using curl against google I get connectivity issues.
Image

It seems to be a WSL related issue, since I can use my remote git commands just fine using powershell outside of WSL.
Image
Same for curl.
Image

I have tried reinstalling my Ubuntu WSL distro, but the issue persists.

Any ideas or possible solutions would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions