Gazebo | Ignition | Community
Ask Your Question
3

Exception sending a message

asked 2018-11-17 10:33:04 -0500

aray gravatar image

updated 2018-11-22 12:17:11 -0500

I've installed ROS-Melodic (full desktop) with Gazebo 9 on 3 different PC: 2 of them are with Ubuntu 18.04 and third one with WSL Ubuntu 18.04 (Windows 10). After a fresh install I get Exception sending a message, which is being printed infinitely after starting gazebo (gzserver, roslaunch): image description

One more thing - I use gazebo via ssh or terminal (wsl), so there is no GUI.

Here is also a related question

Update:

I've noticed that the problem happens only when I open VPN connection. Here is the --verbose output on my local machine in WLS Ubuntu 18.04 (the same output is on remote PC with Ubuntu 18.04 over VPN and ssh)

ubuntu:~$ gzserver --verbose
Gazebo multi-robot simulator, version 9.0.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 127.0.0.1
Exception sending a messageException sending a message

shared memfd open() failed: Function not implemented
shared memfd open() failed: Function not implemented
ALSA lib confmisc.c:767:(parse_card) cannot find card '0'
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name
ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5007:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
AL lib: (EE) ALCplaybackAlsa_open: Could not open playback device 'default': No such file or directory
[Err] [OpenAL.cc:84] Unable to open audio device[default]
 Audio will be disabled.
Exception sending a message
Exception sending a message
Exception sending a message
...
[Wrn] [Time.cc:439] Sleep time is larger than clock resolution, skipping sleep
[Wrn] [Time.cc:439] Sleep time is larger than clock resolution, skipping sleep
[Wrn] [Time.cc:439] Sleep time is larger than clock resolution, skipping sleep
...
Exception sending a message
xception sending a message33m
Exception sending a message
...
[Wrn] [Time.cc:439] Sleep time is larger than clock resolution, skipping sleep
[Wrn] [Time.cc:439] Sleep time is larger than clock resolution, skipping sleep
Exception sending a message
Exception sending a message
Exception sending a message
.....
edit retag flag offensive close merge delete

Comments

Is the above terminal output from an Ubuntun 18.04 machine? And, can you post the output of the command: gzserver --verbose?

nkoenig gravatar imagenkoenig ( 2018-11-20 10:37:22 -0500 )edit

Yes, the same output on 3 different machines with ubuntu 18.04. I've updated my question.

aray gravatar imagearay ( 2018-11-20 16:10:03 -0500 )edit

The option --verboss does not exist (gzserver will start anyway but without special output), try it with --verbose, the output will differ and give more informations on what is going on.

wentz gravatar imagewentz ( 2018-11-22 09:55:49 -0500 )edit

sorry, I've updated the question once again. anyway the output doesn't contain any useful information

aray gravatar imagearay ( 2018-11-22 12:09:37 -0500 )edit

I can confirm this problem. I only see the error message while I have VPN connection established.

mogumbo gravatar imagemogumbo ( 2019-03-20 12:00:07 -0500 )edit
1

Could you try setting the IGN_IP environment variable to one of the IP addresses of your machine?

Carlos Agüero gravatar imageCarlos Agüero ( 2019-03-20 12:07:59 -0500 )edit

export IGN_IP=127.0.0.1 solves the problem. thank you!

aray gravatar imagearay ( 2019-03-30 05:35:35 -0500 )edit

That solves it for me too. Thank you.

mogumbo gravatar imagemogumbo ( 2019-06-25 17:57:14 -0500 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2019-04-11 09:38:49 -0500

aray gravatar image

As Carlos Agüero pointed out, IGN_IP hast to be set to IP addresses of your machine.

Setting the IP to the local host solved my problem:

export IGN_IP=127.0.0.1
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-11-17 10:33:04 -0500

Seen: 10,186 times

Last updated: Apr 11 '19