You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dd MacOS troubleshooting steps for "RLException: Unable to contact my own server" error
Added detailed instructions to resolve the "RLException: Unable to contact my own server" error on MacOS. Instructions include setting the ROS_MASTER_URI and ROS_HOSTNAME to 127.0.0.1 and configuring the /etc/hosts file.
Copy file name to clipboardExpand all lines: docs/GettingStarted.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -156,8 +156,13 @@ In the conda environment activation is the ROS activation included. There is no
156
156
micromamba activate ros_env
157
157
rviz2
158
158
```
159
-
160
-
159
+
If you run into "RLException: Unable to contact my own server" error on MacOS here are the instructions that you need to follow in order to resolve that issue:
160
+
- Set up ROS_MASTER URI at 127.0.0.1 on port 11311 : `export ROS_MASTER_URI=http://127.0.0.1:11311`
161
+
- Set up ROS_HOSTNAME : `export ROS_HOSTNAME=127.0.0.1`
162
+
- Open the hosts file with a text editor like nano: `sudo nano /etc/hosts`
163
+
- Add the following lines if they are not already present: `127.0.0.1 macbookpro` and `127.0.0.1 localhost`
164
+
- Then save the file and restart your terminal.
165
+
161
166
## Updating
162
167
Updating all packages in your environment is as easy as:
0 commit comments