Robotics-Nav2-SLAM-Example icon indicating copy to clipboard operation
Robotics-Nav2-SLAM-Example copied to clipboard

Can't pull request from git in step 1. Configuring Your Development Environment

Open Fyfth opened this issue 2 years ago • 4 comments

I installed the git cli

I entered the code: git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git

here is the response I got git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git Cloning into 'Robotics-Nav2-SLAM-Example'... [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights

Fyfth avatar Oct 23 '22 23:10 Fyfth

I installed the git cli

I entered the code: git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git

here is the response I got git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git Cloning into 'Robotics-Nav2-SLAM-Example'... [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights

you should read the github docs https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey to configure the ssh key

Hezhexi2002 avatar Dec 18 '22 17:12 Hezhexi2002

Hi I have this issue too. I have added my ssh public key to github.com and I'm able to pull the Robotics-Nav2-SLAM-Example but it stucks again when it try to download submodule ROS-TCP-Endpoint. Here is the error message:

`C:\Users\myname\ws\ros2Unity>git clone --recurse-submodule [email protected]:Unity-Technologies/Robotics-Nav2-SLAM-Example.git Cloning into 'Robotics-Nav2-SLAM-Example'... Enter passphrase for key '/c/Users/myname/.ssh/id_rsa': remote: Enumerating objects: 1202, done. remote: Total 1202 (delta 0), reused 0 (delta 0), pack-reused 1202Receiving objects: 100% (1202/1202), 131.79 MiB | 6.45 MiB/s Receiving objects: 100% (1202/1202), 132.80 MiB | 6.79 MiB/s, done. Resolving deltas: 100% (542/542), done. Submodule 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' ([email protected]:Unity-Technologies/ROS-TCP-Endpoint.git) registered for path 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' Cloning into 'C:/Users/myname/ws/ros2Unity/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint'... [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of '[email protected]:Unity-Technologies/ROS-TCP-Endpoint.git' into submodule path 'C:/Users/myname/ws/ros2Unity/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' failed Failed to clone 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint'. Retry scheduled Cloning into 'C:/Users/myname/ws/ros2Unity/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint'... [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists. fatal: clone of '[email protected]:Unity-Technologies/ROS-TCP-Endpoint.git' into submodule path 'C:/Users/myname/ws/ros2Unity/Robotics-Nav2-SLAM-Example/ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' failed Failed to clone 'ros2_docker/colcon_ws/src/ROS-TCP-Endpoint' a second time, aborting

C:\Users\alngu\ws\ros2Unity> ` I would appreciate any help

looninho avatar Jan 06 '23 09:01 looninho

Same issue here, anyone with a solution ?

keli95566 avatar Jun 09 '23 11:06 keli95566

Same issue here, anyone with a solution ?

the easiest way to solve the problem is to clone the repository through HTTPS

Hezhexi2002 avatar Jun 09 '23 12:06 Hezhexi2002