Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Connection refused to traci

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 <valentin.duee@xxxxxxxxx>:
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

Back to the top