fatal: unable to access ‘https://github.com/xuperchain/xdev.git/‘: gnutls_handshake() failed: Error

不知道因为什么,有时候git clone 会报错:

fatal: unable to access 'https://github.com/ros/robot_state_publisher.git/': gnutls_handshake() failed: The TLS connection was non-properly terminated.


第一种

git clone https://github.com/ros/robot_state_publisher.git/


因为权限不够,比如换成

sudo git clone https://github.com/ros/robot_state_publisher.git/


第二种

git clone https://github.com/ros/robot_state_publisher.git


是把https换成git换成

git clone git://github.com/ros/robot_state_publisher.git


第三种

//取消http代理
git config --global --unset http.proxy
//取消https代理 
git config --global --unset https.proxy

第四种


https://blog.csdn.net/RedKeyer/article/details/96119320
 

猜你喜欢

转载自blog.csdn.net/qq_57309855/article/details/127015506