Git-credential-manager-for-windows: Cannot do a fetch

Created on 22 Feb 2018  ·  10Comments  ·  Source: microsoft/Git-Credential-Manager-for-Windows

C:\GitHub>git fetch
fatal: HttpRequestException encountered.
An error occurred while sending the request.
Username for 'https://github.com':

Get a popup that asks for userid and password.

Most helpful comment

@MarvinThompson can you confirm the version of GCM you are running:

$ git version
git version 2.16.2.windows.1

$ git credential-manager version
Git Credential Manager for Windows version 1.14.0

All 10 comments

Yes, to latest level

@MarvinThompson can you confirm the version of GCM you are running:

$ git version
git version 2.16.2.windows.1

$ git credential-manager version
Git Credential Manager for Windows version 1.14.0

Interesting

C:\GitHub>git version
git version 2.13.3.windows.1

C:\GitHub>git credential-manager version
Git Credential Manager for Windows version 1.10.1

C:\GitHub>

I just ran Git-2.16.2-32-bit.exe

It did not update to the latest version

@MarvinThompson it still looks like you're not on the latest version of Git, and versions of GCM < 1.14 are using TLS 1.0 which are now blocked by GitHub as part of disabling weak crypto standards.

You might be able to workaround this by manually installing this GCM release, but as GCM is now bundled in Git for Windows I'd try and upgrade Git for Windows instead.

@MarvinThompson you might have to uninstall the old version of Git for Windows - I thought it'd update in-place but maybe that's not happening.

Worked like a charm. Thanks.

@shiftkey thanks for fielding so many of these issues. You've been a tremendous help. 😁

$ git --version
git version 2.16.2.windows.1
updating the Git version fixed the issue for me as well。

Was this page helpful?
0 / 5 - 0 ratings