Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

traci.exceptions.FatalTraCIError: connection closed by SUMO #8381

Open
Adaickalavan opened this issue Mar 18, 2021 · 4 comments
Open

traci.exceptions.FatalTraCIError: connection closed by SUMO #8381

Adaickalavan opened this issue Mar 18, 2021 · 4 comments
Assignees
Milestone

Comments

@Adaickalavan
Copy link

Hi @behrisch,

We (@Gamenot @Adaickalavan) had previously communicated on this traci.exceptions.FatalTraCIError: connection closed by SUMO in #8125 and in huawei-noah/SMARTS#472 issues.

In short, we have used SUMO for a reinforcement learning application. Notably, in this application, we take over vehicles in specific regions, control them with complex vehicle control models, and release them at a later time. Running the simulation with SUMO throws the traci.exceptions.FatalTraCIError: connection closed by SUMO error.

Following up on our previous conversation on this matter, we have created a containerized example to reproduce the error in huawei-noah/SMARTS#619. Upon running the Docker image, the traffic simulation will crash at step 1166 with the
traci.exceptions.FatalTraCIError: connection closed by SUMO error.

Hopefully this Docker image will help in debugging this error. Thank you.

@behrisch
Copy link
Contributor

@Adaickalavan Thanks for keeping track on this one. I can now reproduce it.

@Gamenot
Copy link
Contributor

Gamenot commented Mar 21, 2021

@behrisch I have updated the instructions on huawei-noah/SMARTS#619 to address your comment there.

@dineshresearch
Copy link

Any update regrading the issue? I am still facing this issue @behrisch @Adaickalavan

@behrisch behrisch modified the milestones: 1.10.0, 1.12.0 Nov 9, 2021
@pearlahajjar
Copy link

I am still facing this issue. Any updates?

Error message:

Traceback (most recent call last):
File "C:\Users\hajjar.p\PycharmProjects\SUMO Python\main.py", line 102, in
traci.start([sumoBinary, "-c", "C:/Users/hajjar.p/Desktop/New folder/Python Sumo test/cross.sumocfg",
File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line 170, in start
return init(sumoPort, numRetries, "localhost", label, sumoProcess, doSwitch)
File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\main.py", line 140, in init
return _connections[label].getVersion()
File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py", line 370, in getVersion
result = self._sendCmd(command, None, None)
File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py", line 181, in _sendCmd
return self._sendExact()
File "C:\Program Files (x86)\Eclipse\Sumo\tools\traci\connection.py", line 91, in _sendExact
raise FatalTraCIError("connection closed by SUMO")
traci.exceptions.FatalTraCIError: connection closed by SUMO

Process finished with exit code 1

@namdre namdre modified the milestones: 1.12.0, 1.13.0 Feb 1, 2022
@behrisch behrisch modified the milestones: 1.13.0, 1.15.0 Jul 13, 2022
@behrisch behrisch modified the milestones: 1.15.0, 1.16.0 Nov 24, 2022
@behrisch behrisch modified the milestones: 1.16.0, 1.17.0 Feb 17, 2023
@behrisch behrisch modified the milestones: 1.17.0, 1.18.0 Apr 25, 2023
@behrisch behrisch modified the milestones: 1.18.0, 1.19.0 Jun 29, 2023
@behrisch behrisch modified the milestones: 1.19.0, 1.20.0 Nov 9, 2023
@behrisch behrisch modified the milestones: 1.20.0, 1.21.0 May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants