fatal: unable to access“https://github.com/ ***“解决办法

编程知识 行业动态 更新时间:2024-06-13 00:19:38

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

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

查阅资料,有几种解决办法:

  • 因为权限不够,比如
git clone https://github/ros/robot_state_publisher.git/

换成

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

  • 第二种方法是把https换成git
git clone https://github/ros/robot_state_publisher.git

换成

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

上面两种我都试过,有效。

  • 第三种比较复杂,我没试过
    https://blog.csdn/RedKeyer/article/details/96119320

更多推荐

fatal: unable to access“https://github.com/ ***“解决办法

本文发布于:2023-03-28 16:03:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/76bc9d27af3d720ac7822626f8971dc0.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:解决办法   unable   fatal   access   github

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!