Depending on the speed of your computer and the size of your scenario, sumo
requires some time for startup before it can accept connections from your
script.
This is known behavior and can be safely ignored.

Am Mi., 11. Dez. 2019 um 14:19 Uhr schrieb bruce Wang <
[email protected]>:

> hello,everyone
>
> i have use the traci command to start a sumo and build a connection. Every
> time i have started the sumo and then build the connection, there will
> happen an  connection error, but retrying in 1 seconds will  succes.
>
> this is why?
>
> environment is ubuntu 18.04, sumo is 1.3.1
>
> code:
> command = ['sumo', '-c', './data/exp_0.sumocfg', '--seed', '12',
> '--no-step-log', 'True', '--time-to-teleport', '600', '--no-warnings',
> 'True', '--duration-log.disable', 'True']
>
> traci.start(command, label=sumolabel)
>
> time.sleep(0.5)
>
> self.sim = traci.getConnection(label=sumolabel)
>
>
> terminal:
>
> Could not connect to TraCI server at localhost:36811 [Errno 111] Connection
> refused
>  Retrying in 1 seconds
> Loading configuration... done.
>
> Could not connect to TraCI server at localhost:46055 [Errno 111] Connection
> refused
>  Retrying in 1 seconds
> Loading configuration... done.
>
> Could not connect to TraCI server at localhost:43085 [Errno 111] Connection
> refused
>  Retrying in 1 seconds
> Loading configuration... done.
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to