[Bug 1691462] Re: git gnutls_handshake() failed: Error in the push function

Kenyon Ralph kenyon at kenyonralph.com
Sat Jun 9 03:18:53 UTC 2018


What fixed it for me was explicitly setting git's http.proxyAuthMethod
to basic: git config --global http.proxyAuthMethod basic

If you run your git commands with environment variable
GIT_CURL_VERBOSE=1, you might see that the proxy authentication is
failing.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to git in Ubuntu.
https://bugs.launchpad.net/bugs/1691462

Title:
  git gnutls_handshake() failed: Error in the push function

Status in git package in Ubuntu:
  Confirmed

Bug description:
  When using git with https:// behind a corporate proxy it fails often
  with the error message:

  gnutls_handshake() failed: Error in the push function.

  For example:

  git clone -q --mirror https://github.com/JuliaDiff/DualNumbers.jl.git /home/user/.julia/v0.4/.cache/DualNumbers
  fatal: unable to access 'https://github.com/JuliaDiff/DualNumbers.jl.git/': gnutls_handshake() failed: Error in the push function.

  After repeating the same command several times it finally works.
  Sometimes git work even the first time, but this is seldom. Usually it
  works when I repeat the command 2 or three times.

  System: Ubuntu 16.04.2 LTS amd64, kernel 4.4.0-78-generic
  git: 1:2.7.4-0ubuntu1.1
  curl: 7.47.0-1ubuntu2.2
  libcurl3-gnutls: 7.47.0-1ubuntu2.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git/+bug/1691462/+subscriptions



More information about the foundations-bugs mailing list