Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

git clone: GnuTLS recv error (-9): A TLS packet with unexpected length was received

Tags:

git

ssl

ubuntu

I'm trying to clone a git repository and I'm receiving following error while executing the command:

GnuTLS recv error (-9): A TLS packet with unexpected length was received.

My client machine is a Ubuntu 14.04.

like image 420
Amith Jayasekara Avatar asked Jun 25 '15 07:06

Amith Jayasekara


1 Answers

If you are in china,may be you should set proxy for git,for example

git config --global https.proxy 'socks5://127.0.0.1:9999'
like image 112
iamdsy Avatar answered Nov 03 '22 00:11

iamdsy