carla: ServerTimeOut 10000 ms regardless my configration

Hello,

I am using Carla_version 0.9.4

I think there are problem with " -carla-server-timeout ", as i am facing this error: ERROR: time-out of 10000ms while waiting for the simulator, make sure the simulator is ready and connected to 127.0.0.1:2000

However, My command as follows: DISPLAY= ./CarlaUE4.sh /Game/Carla/Maps/Town03 -windowed -ResX=480 -ResY=640 -carla-port=2000 -benchmark -fps=20 -carla-server-timeout=99999999ms -quality-level=Epic

And in my client I set the timeout as follows: client = carla.Client(args.host, args.port) client.set_timeout(99999999.0)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 26 (2 by maintainers)

Most upvoted comments

No, we haven’t fixed it yet.

@eslambakr The whole network architecture was redesigned in 0.9.0 to allow having multiple clients and controlling every actor, that wasn’t possible the way 0.8.x was implemented.

Try doing client.get_server_version() to see if the server is reachable, if that fails then probably is a networking error (firewall, wrong port or used by another app, …). If you’re using synchronous mode is easy to end up in a dead-lock with the server, then eventually the timeout will be met, checkout other issues related to this.

Hi, I have the same issue at the moment how did you guys sort it out? thank you

RuntimeError: time-out of 10000ms while waiting for the simulator, make sure the simulator is ready and connected to 0.0.0.0:2000

@nsubiron Thank you very much, I think it works fine now.

Sorry for the late response as I run the code overnight to make sure the timeout problem is solved, It times out now according to my configuration.

Again thank you for help

It gives me time-out of 10000ms while waiting for the simulator, however I set it to 4!!

world.wait_for_tick(timeout) has a different timeout, by default 10000ms, it’s probably that one.

@eslambakr Sorry. I have tried to reproduce your error report but failed. Also, I cannot deduce the result as yours from the code. Could you provide a simpler test case?

Is there a way to fix the issue with the server timeouts? The server client connection is lost at random which causes problems in running any longer runs.

Hey guys, I am still having this issue, was it fixed in the recent commit ? Thanks @nsubiron