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

自古美人都是妖i 提交于 2019-12-07 03:25:14

问题


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.



来源:https://stackoverflow.com/questions/40195898/git-clone-gnutls-recv-error-9-a-tls-packet-with-unexpected-length-was-receiv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!