Unable to resolve uri[localhost:11345]
Hi all,
just installed gazebo by one-liner installation. when I try to open it with --verbose option, I get
[Msg] Waiting for master.
[Err] [Connection.cc:173] Unable to resolve uri[localhost:11345]
[Err] [Connection.cc:173] Unable to resolve uri[localhost:11345]
...
[Err] [ConnectionManager.cc:119] Failed to connect to master in 30 seconds.
[Err] [gazebo_shared.cc:83] Unable to initialize transport.
[Err] [gazebo_client.cc:62] Unable to setup Gazebo
[Err] [ConnectionManager.cc:119] Failed to connect to master in 30 seconds.
[Err] [gazebo_shared.cc:83] Unable to initialize transport.
[Err] [gazebo.cc:80] Unable to setup Gazebo
[Err] [Server.cc:288] Unable to load gazebo
Can anyone help?
OS: Ubuntu 18.04
gazebo: 9.6.0
Asked by AL458 on 2019-02-27 09:50:52 UTC
Answers
In file setup.sh, I changed the path in the environment variable GAZEBO_MASTER_URI from
GAZEBO_MASTER_URI=http://localhost:11345
to
GAZEBO_MASTER_URI=http://127.0.0.2:11345
then:
source setup.sh
Asked by AL458 on 2019-02-28 06:02:06 UTC
Comments