ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Android_Core MasterChooser Java Invalid Syntax Error

asked 2019-02-11 06:57:12 -0500

iShauny gravatar image

I am using the basic masterchooser built into the android rosjava_core and I am struggling to connect the robot to my phone. I receive this error:

Caused by: Illegal character in authority at index 7: :51762/

I have set the ip in the master chooser as and additionally have set the ip in the android hosts file but it still does not work. I am using the code from an open github repo that uses the base code

Any help is appreciated, thank you. The robot is using ROS jade.

edit retag flag offensive close merge delete


I am unsure why this port is showing up if I am honest, I am not sure what part of the source code for the master chooser is adding that port into the url.

iShauny gravatar image iShauny  ( 2019-02-11 09:03:51 -0500 )edit

Hmm the URI contains both the protocol (http), the IP address or host, and the port; all of that is entered by the user manually in the master chooser. Try using pubsub tutorial as an example.

jubeira gravatar image jubeira  ( 2019-02-12 07:06:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-02-11 08:36:23 -0500

jubeira gravatar image

Caused by: Illegal character in authority at index 7: :51762/ --> there's a space between the address and the port; what about that?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2019-02-11 06:57:12 -0500

Seen: 159 times

Last updated: Feb 11 '19