LoginSignup
0
0

More than 5 years have passed since last update.

git fetch failed: A TLS packet with unexpected length was recieved.

Posted at

[issue]
git fetch failed on PyCharm (Android Studio, IntelliJ IDEA, etc.)

[environment]
Ubuntu
after auto update libraries
under network proxy

[error details]
Fetch failed
fatal: unable to access
'xxxxx.git':
gnutls_handshake() failed: A TLS packet with unexpected length was recieved.
Screenshot from 2016-08-29 18:24:16.png

Then got an another error.

Fetch failed
fatal: unable to acccess
'xxxxx.git'
GnuTLS recv error(-9): A TLS packet with unexpected length was received.

Screenshot from 2016-08-29 18:47:07.png

[cause]

Got reason of the problem, it was gnutls package. It's working weird behind a proxy.

[measure]

we should compile git with openssl.

[elapsed time]
It took about an hour to build the package.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0