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

匿名 (未验证) 提交于 2019-12-03 01:34:02

问题:

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.



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