Skip to content

Unable to clone, fetch, or push on GitHub Desktop #3661

Closed

Description

@Denestel

Description

Hey whats up, so I was trying to use GitHub Desktop to work with my repos, but I keep getting an error like this (when cloning from or publishing to new repos), i dont understand whats wrong it was working fine a few days ago and i havent installed anything new on my computer since, im having this issue on both my laptop and desktop using GitHub Desktop:

Cloning into 'C:\Users\User\Documents\GitHub\Java'...
fatal: unable to access 'https://github.com/Denestel/Java.git/': schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline.

Version

GitHub Desktop version: 1.0.11

OS version: Windows 10 Home

Steps to Reproduce

  1. Select repository
  2. Clone repository

Expected behavior: Repository cloned and updated

Actual behavior: Unknown error (0x80092013)

Reproduces how often: every time

Logs

2017-12-21T20:42:53.537Z - info: [ui] Executing clone: git -c credential.helper= clone --recursive --progress -- https://github.com/Denestel/Java.git C:\Users\User\Documents\GitHub\Java (took 87.647s)
2017-12-21T20:42:53.538Z - error: [ui] git -c credential.helper= clone --recursive --progress -- https://github.com/Denestel/Java.git C:\Users\User\Documents\GitHub\Java exited with an unexpected code: 128.
Cloning into 'C:\Users\User\Documents\GitHub\Java'...
fatal: unable to access 'https://github.com/Denestel/Java.git/': schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline.

2017-12-21T21:04:48.179Z - info: [ui] [AppStore.getAccountForRemoteURL] account found for remote: https://github.com/Denestel/Java.git - Denestel (has token)
2017-12-21T21:05:44.833Z - info: [ui] Executing clone: git -c credential.helper= clone --recursive --progress -- https://github.com/Denestel/Java.git C:\Users\User\Documents\GitHub\Java (took 56.652s)
2017-12-21T21:05:44.834Z - error: [ui] git -c credential.helper= clone --recursive --progress -- https://github.com/Denestel/Java.git C:\Users\User\Documents\GitHub\Java exited with an unexpected code: 128.
Cloning into 'C:\Users\User\Documents\GitHub\Java'...
fatal: unable to access 'https://github.com/Denestel/Java.git/': schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline.

Additional Information

Activity

  1. shiftkey commented on Dec 21, 2017

    @shiftkey
    Member

    @Denestel thanks for the report!

    The version of Git embedded in Desktop uses the Windows SChannel APIs for validating certificates as part of the HTTPS handshake. We've had various reports of this failing due to other tools being installed alongside, like anti-virus programs, or being behind some proxy servers.

    As a workaround, you can revert to the classic OpenSSL behaviour by opening the repository in a shell and running these two commands.

    $ git config --global http.sslBackend "openssl"
    $ git config --global http.sslCAInfo [path to .pem file]
    

    The PEM file is just a bundle of public certificates to validate - the PEM file distributed by the cURL team should do the trick.

  2. shiftkey commented on Dec 26, 2017

    @shiftkey
    Member

    We're working on explaining this error better in #3406. Please follow along with that issue.

  3. locked as resolved and limited conversation to collaborators on Jul 18, 2018
  4. unlocked this conversation on Sep 27, 2018
  5. AndyGee commented on Nov 16, 2018

    @AndyGee

    Check your "/.gitconfig" for proxy configuration, or anything else that might be providing wrong credentials - Had the same issue, and it turned out to be the corporate proxy settings.

  6. davidnlarkin72 commented on Apr 12, 2019

    @davidnlarkin72

    I have also figured out (Based upon AndyGee's suggestion regarding .gitconfig) that if you are in a real bind you can add to the following section. (This may present security concern but could help in a pinch)

    [http]
    sslVerify = false

    Then restart the app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions