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

Connection to TraCI server lost while using veins. #7090

Closed
ghost opened this issue May 28, 2020 · 8 comments
Closed

Connection to TraCI server lost while using veins. #7090

ghost opened this issue May 28, 2020 · 8 comments
Labels

Comments

@ghost
Copy link

ghost commented May 28, 2020

Platform

OMNeT++ version: [5.6.1]
Sumo version: [0.32.0][1.3.0][1.6.0]
Veins version:[5.0]
OS: [Win 10]
Describe the bug
Help! When doing the tutorial of veins, I followed each step, including run SUMO before click the "run" button. But after I build the project, and click "run", there always comes a error,which is
" Connection to TraCI server lost. Check your server's log. Error message: 10054: Unknown error -- in module (veins::TraCIScenarioManagerLaunchd) RSUExampleScenario.manager (id=6), at t=0s, event #1 ."
I changed several different versions, but it doesn't work. No effective method was found through Google.

@namdre
Copy link
Contributor

namdre commented May 28, 2020

add option <log value="log.txt"/> to your sumocfg and check in log.txt for error messages from sumo.

@ghost ghost closed this as completed May 30, 2020
@LLLL-M
Copy link

LLLL-M commented Mar 2, 2021

hello,Encountered the same problem, how did you solve this problem?

@mateen-malik
Copy link

mateen-malik commented Mar 9, 2021

I am getting the same error, was this issue resolved?
Where should we add the "log value="log.txt"?

I tried adding it as an output in file erlangen.sumo.cfg (in veins example) but didnt get any output file to analyse

Best regards,
/MM

@namdre
Copy link
Contributor

namdre commented Mar 10, 2021

I tried adding it as an output in file erlangen.sumo.cfg (in veins example) but didnt get any output file to analyse

Try adding option <verbose value="true"/> as well and check if there is at least some output.

@sommer
Copy link
Member

sommer commented Mar 10, 2021

Please also refer to the Veins FAQ at https://veins.car2x.org/documentation/faq/, particularly the section "What happened? My simulation crashed"; it details how to configure where to find log output from OMNeT++, the launchd, and SUMO.

@divakar5
Copy link

hello,Encountered the same problem, how did you solve this problem?

Hi, did you find any solution? I'm facing same issue but unable to find a solution.

Thanks

@Dark-3agle
Copy link

I have a similar problem. Any standard way of solving this? Also is this only a problem when we use windows OS?

@sommer
Copy link
Member

sommer commented Apr 1, 2021

The OMNeT++ part of the simulation lost the connection to the SUMO part of the simulation. Most likely because the SUMO part closed the connection. Most likely because SUMO experienced an error. None of this is known to the OMNeT++ part of the simulation. To find out exactly what happened I am afraid you will have to do what the error message asks you to do: read the server's log - it will most likely tell you what exactly happened. How to do this is covered very well in the list of frequently asked questions at https://veins.car2x.org/documentation/faq/, particularly the section "What happened? My simulation crashed"; it details how to configure where to find log output from OMNeT++, the launchd, and SUMO. See, also for example, #8427

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants