ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

ROS multi-machine communication failure: invalid master URI

asked 2018-06-10 03:51:50 -0500

Seagull gravatar image

updated 2018-06-10 05:07:53 -0500

jayess gravatar image

Hi, I have set up ROS to communicate between my robot (using raspberry pi) and my laptop. It worked for a period of time but somehow stopped working suddenly. The reported error is:

invalid master URI:
The traceback for the exception was written to the log file

Please note that the procedures I took for ROS master and slave to communicate should have been correct or I wouldn' t have succeeded in the first few times.

I can not find any related information for this problem, so someone who has an idea please tell me what is going wrong and how I can fix this please. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-10 05:04:20 -0500

gvdhoorn gravatar image
invalid master URI:

If this is a copy-paste, then it's indeed an invalid URI, as it doesn't include the protocol part. It should probably be:

It worked for a period of time but somehow stopped working suddenly.

That would seem rather strange: unless you have someone else editing your files, the http:// part would have to have dropped of on its own.

edit flag offensive delete link more


This solves the problem. My fault. I forgot to add http:// in the latter times.

Seagull gravatar image Seagull  ( 2018-06-10 05:31:28 -0500 )edit

Where we need to add "http://". It is there in the bashrc file so where should I add this. Kindly help me.

SHIVAM gravatar image SHIVAM  ( 2022-05-19 13:08:00 -0500 )edit

If it's already there, there wouldn't be anything to add.

You'll want to post a new question and precisely describe what you're trying to do, what you observe doesn't work, what the symptoms are, what you've tried to solve it, and refer to this question.

If it then turns out to be a duplicate, it can still be closed.

gvdhoorn gravatar image gvdhoorn  ( 2022-05-19 14:21:24 -0500 )edit

Question Tools

1 follower


Asked: 2018-06-10 03:51:50 -0500

Seen: 1,161 times

Last updated: Jun 10 '18