git clone https://github.com/ros-perception/robot_vision.git 正克隆到 'robot_vision'... fatal: 无法访问 'https://github.com/ros-perception/robot_vision.git/':GnuTLS recv error (-110): The TLS connection was non-properly terminated.
时间: 2023-08-16 22:08:36 浏览: 58
这个错误提示是在从GitHub上克隆robot_vision软件包时失败了。这可能是由于网络连接问题引起的。您可以尝试以下解决方法:
1. 检查网络连接:确保您的网络连接正常,可以尝试使用ping命令测试GitHub是否可用。
2. 更换克隆协议:尝试使用SSH协议克隆软件包,而不是HTTPS协议。
```
git clone git@github.com:ros-perception/robot_vision.git
```
3. 使用代理:如果您的网络使用了代理,可以配置Git使用代理。
```
git config --global http.proxy http://your_proxy:port
```
如果以上方法仍然无法解决问题,您可以尝试等待一段时间,稍后再尝试克隆软件包。
相关问题
git clone https://github.com/ros/catkin.git
要克隆https://github.com/ros/catkin.git的git仓库,您可以在工作空间的src路径下执行以下命令行:
```
$ git clone https://github.com/ros/catkin.git
```
这将克隆catkin的git仓库到您的工作空间中的src文件夹中。请确保您的网络连接正常,并且您具有克隆该仓库所需的权限。如果您遇到任何错误,请检查您的网络连接和权限设置。
#### 引用[.reference_title]
- *1* *3* [git clone fatal: unable to access ‘https://github.com/robopeak/rplidar_ros.git/](https://blog.csdn.net/m0_53294928/article/details/122736258)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Ubuntu18.0 Livox mid40配置bug-ROS安装、catkin安装、catkin_make出错](https://blog.csdn.net/weixin_40847138/article/details/115320069)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
git clone https://github.com/ros/catkin.git失败
根据引用\[1\]和引用\[3\]的内容,当执行"git clone"命令时,可能会出现连接失败的错误。这个错误通常是由于git无法使用SSL进行连接所导致的。解决这个问题的方法是使用libcurl4-gnutls-dev替换gnutls对git进行编译。以下是解决方法的具体步骤:
1. 打开终端,并在根目录下执行以下命令更新软件包列表:
```
sudo apt-get update
```
2. 安装必要的软件包和依赖项:
```
sudo apt-get install build-essential fakeroot dpkg-dev libcurl4-openssl-dev
```
3. 使用libcurl4-gnutls-dev替换gnutls对git进行编译:
```
mkdir ~/git-openssl
cd ~/git-openssl
apt-get source git
```
4. 进入git源码目录:
```
cd git-2.17.1/ #实际版本可能不同
```
5. 编译和安装git:
```
sudo make
sudo make install
```
通过以上步骤,你应该能够成功解决git clone https://github.com/ros/catkin.git失败的问题。请注意,实际的git版本和目录可能会有所不同,所以请根据你的实际情况进行相应的调整。
#### 引用[.reference_title]
- *1* *3* [git clone fatal: unable to access ‘https://github.com/robopeak/rplidar_ros.git/](https://blog.csdn.net/m0_53294928/article/details/122736258)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Ubuntu18.04 编译 ORB-SLAM2(./build.sh + ./build_ros.sh)完整流程,各种报错处理(踩坑总结)](https://blog.csdn.net/m0_60355964/article/details/124065545)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]