Hi Valentin,

some questions:

a) Are the traci-client and the sumo-server running in the same container?

b) if not can the port of the sumo-server be reached across container borders?

c) Did you start the server before you start traci (traci.start(...))

d) have you looked into your system log files (like journalctl --since "5 min ago")

Greetings, Harald

Am 05.02.20 um 13:02 schrieb Valentin Düe:
Hey I am still having the same issue. I tried it in a container on a different system and again, the same issue...

    Could not connect to TraCI server at localhost:59057 [Errno 111] Connection 
refused
      Retrying in 6 seconds


This is what I get all the time and I am out of ideas how to solve the issue.
I would really appreciate any ideas and help.
Thanks a lot in advance.

BR,
Valentin

Am Sa., 25. Jan. 2020 um 15:00 Uhr schrieb Valentin Düe <[email protected] <mailto:[email protected]>>:

    I am currently trying to run traci in a container and get a
    connection error:

    ConnectionRefusedError                    Traceback (most recent call last)
    .../traci/__init__.py in connect(port, numRetries, host, proc)
          67         try:
    ---> 68             return Connection(host, port, proc)
          69         except socket.error as e:.../traci/connection.py in 
__init__(self, host, port, process)
          53             self._socket.setsockopt(socket.IPPROTO_TCP, 
socket.TCP_NODELAY, 1)
    ---> 54             self._socket.connect((host, port))
          55             self._process = processConnectionRefusedError: [Errno 
111] Connection refused

    I really don't understand how this happens. What can be reasons
    for getting a refused connection?

    Best regards and thanks for your help!

    Valentin


_______________________________________________
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