Gazebo | Ignition | Community
Ask Your Question

gazebo7: hangs on downloading models

asked 2018-10-15 03:01:29 -0500

gvdhoorn gravatar image

updated 2018-10-15 03:10:30 -0500

I know this question has been asked before (#q6870, #q6347, #q18009 and others), but seeing as there is a web server involved, those older questions (and their answers) might not be applicable any more, so here is a new one.

While starting a fresh install of Gazebo 7 (with ROS Kinetic, but I'm not sure that is relevant here) with gzserver --verbose the only output produced is:

Gazebo multi-robot simulator, version 7.0.0
Copyright (C) 2012-2016 Open Source Robotics Foundation.
Released under the Apache 2 License.

[Msg] Waiting for master.
[Msg] Connected to gazebo master @
[Msg] Publicized address:
[Err] [] Can't open display:
[Wrn] [] Unable to create X window. Rendering will be disabled
[Wrn] [] Cannot initialize render engine since render path type is NONE. Ignore this warning ifrendering has been turned off on purpose.
[Wrn] [] Getting models from[]. This may take a few seconds.

And then nothing happens (there being no X window is indeed "on purpose").

I've left this running for 30 minutes but there was no progress so I ctrl+c it.

Starting gazebo --verbose results in an unresponse GUI with a black window and the same (similar) output on the console.

This is on a clean internet connection: no proxies, no caching proxies, no NAT, nothing.

Checking myself I get the following page:

no such page

this could just be a default "indexing is not configured" error, or caused by me asking for index.html which doesn't exist of course. I noticed that does work (but as I'm not an expert Gazebo user I don't know whether the two point to the same resources).

I guess the question is: is there some way to ascertain the status of so we can gauge whether it makes sense to keep waiting for gzserver to complete the downloads?

edit retag flag offensive close merge delete


Would creating something like (or adding the relevant Gazebo hosts to that) be an option? Does that already exist and am I just not aware, or does it not make sense and is my problem caused by something else?

gvdhoorn gravatar imagegvdhoorn ( 2018-10-15 03:04:58 -0500 )edit

Are you running just the `gzserver --verbose` command without any world?

kumpakri gravatar imagekumpakri ( 2018-10-15 04:11:06 -0500 )edit

Yes. Just the bare `gzserver`, no world file specified.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-15 05:07:55 -0500 )edit

When I run this command, the terminal output ends with the `Publicized address:` line. And I don't understand why should it try to download any models, if it has no models specified. Or why should it try to render anything, if the gazebo client is not launched.

kumpakri gravatar imagekumpakri ( 2018-10-15 08:12:33 -0500 )edit

Even an empty world will need the "sun" and "groundplane" (I believe) models. The same happens/happened with the GUI starting. "Or whz should it try to render anything, if the gazebo client is not launched." the issue is not with the "Unable to create X window", that I don't care about / don't need.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-15 08:13:43 -0500 )edit

Good point. But why to render anything?

kumpakri gravatar imagekumpakri ( 2018-10-15 08:16:10 -0500 )edit

I'm not sure I understand your question. Rendering is used for more than just showing you a pretty picture: GPU accelerated plugins, render-to-texture for virtual cameras, etc.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-15 08:17:34 -0500 )edit

Is there anything non-standard about your display or graphics card? I'm just brainstorming. I don't know the answer, but maybe this can help you figure something out.

kumpakri gravatar imagekumpakri ( 2018-10-15 08:21:03 -0500 )edit

I appreciate the effort: no, just a regular nvidia gtx1080. I believe the issue is really with downloading the models.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-15 08:23:34 -0500 )edit

So can you just download the models into some local folder and use it from there? At least to rule other possible causes out?

kumpakri gravatar imagekumpakri ( 2018-10-15 08:27:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-10-15 11:49:30 -0500

chapulina gravatar image

I think was supposed to be redirecting to

I see two solutions while the redirection doesn't work:

  1. Set an environment variable with the working URL:

  2. Update to the latest Gazebo 7, which uses the URL by default.

edit flag offensive delete link more


Thanks. Would it be difficult to reinstate the redirect? I have an installed base of around 1200 Gazebo 7 (7.0.0) instances, and upgrading them all is somewhat difficult at this point. The environment variable might be something I can do in the meantime.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-15 11:51:46 -0500 )edit

@chapulina: my apologies for bringing this up again, but would reinstating the redirect be possible?

gvdhoorn gravatar imagegvdhoorn ( 2018-10-16 04:56:53 -0500 )edit

Just checked wireshark, seems the redirect is in place, or at least the models seem to get downloaded from `` as well now.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-16 05:48:32 -0500 )edit

The problem seems to be with the use of CURL inside Gazebo. When trying to get, the CURL code is first getting a page with a 302 redirect notice.

chapulina gravatar imagechapulina ( 2018-10-16 12:32:54 -0500 )edit

Did you already change something? Running curl -sSL -D - -o /dev/null gets me a 200 immediately.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-16 12:50:52 -0500 )edit

Is AskBot markup not enabled in these comment boxes? Makes things really hard to read.

gvdhoorn gravatar imagegvdhoorn ( 2018-10-16 12:51:17 -0500 )edit
chapulina gravatar imagechapulina ( 2018-10-16 12:54:08 -0500 )edit

Question Tools

1 follower


Asked: 2018-10-15 03:01:29 -0500

Seen: 7,242 times

Last updated: Oct 15 '18