git clone GnuTLS recv error (-9): A TLS packet with unexpected length was received
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I tried to clone my project on my linux server via git and suddenly got this error: GnuTLS recv error (-9): A TLS packet with unexpected length was received. This is asked many times, but answered none. I am using bitbucket. 回答1: It turns out you just need to remove git with sudo apt-get purge git but NOT with sudo apt-get --purge git for some reason it wont work if you do --purge . Now install it again by typing sudo apt-get install git . And then when you try your clone, it should work properly. 文章来源: git clone GnuTLS recv error (-9): A