# Switching to ROS2

**URL:** <https://forum.hello-robot.com/t/switching-to-ros2/1295>\
**Category:** Ask\
**Created:** [March 26, 2025, 3:23pm UTC](https://forum.hello-robot.com/t/switching-to-ros2/1295 "2025-03-26T15:23:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![allib](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@allib](https://forum.hello-robot.com/u/allib)\
**Post date:** [March 26, 2025, 3:23pm UTC](https://forum.hello-robot.com/t/switching-to-ros2/1295/1 "2025-03-26T15:23:27Z")

</div>

Hi! I am trying to switch my Stretch RE2 to ROS2 following the [Getting Started - ROS2 Tutorials](https://docs.hello-robot.com/0.2/stretch-tutorials/ros2/getting_started/) page. I run into trouble when I try to refresh the ROS2 Workspace to ensure I am working with the most up to date version. When I run the

```auto
git clone https://github.com/hello-robot/stretch_install

```

I receive the following output:

```auto
Cloning into 'stretch_install'...
remote: enumerating objects: 2519, done.
remote: counting objects: 100% (621/621), done.
remote: compressing objects: 100%: (225/225), done.
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

```

I have tried increasing the git buffer size, but it did not resolve the issue.  
Currently my latest ament\_ws is from May 2023, and I want this to be as up to date as I can get it to avoid problems later down the line.

Any help would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![bshah](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.hello-robot.com/bshah/32/55_2.png) [@bshah](https://forum.hello-robot.com/u/bshah)\
**Post date:** [March 29, 2025, 1:22am UTC](https://forum.hello-robot.com/t/switching-to-ros2/1295/2 "2025-03-29T01:22:17Z")

</div>

Hi @allib, wow, I’ve never seen git fail like that before. I wonder if this may have been a transient issue with GitHub’s servers? Do you still see this if you try again?
