-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 #8427
Comments
I cannot immediately spot a sumo error here, maybe it is better to ask here: https://github.com/sommer/veins/issues and also see the comments here #7090 |
The console output of the top comment is missing anything between angle brackets
In this case, the error message written by SUMO was "Error: expected end of tag 'net' In file 'erlangen.net.xml' At line/column 83/7. Quitting (on error)." |
So, your error message is " Most likely you changed |
Please reopen with more info if problems persist. |
I'm getting the below issue
divakar@divakar:~/veins-5.1/veins-veins-5.1$ ./sumo-launchd.py -vv -c sumo
WARNING: the sumo-launchd.py script is deprecated in favor of bin/veins_launchd. Redirecting.
WARNING: the sumo-launchd.py script is deprecated in favor of bin/veins_launchd. Redirecting.
Logging to /tmp/sumo-launchd.log
Listening on port 9999
Connection from 127.0.0.1 on port 44898
Handling connection from 127.0.0.1 on port 44898
Got TraCI message of length 2
Got TraCI command of length 1
Got TraCI command 0x0
Got CMD_GETVERSION
Got TraCI message of length 304
Got TraCI command of length 299
Got TraCI command 0x75
Got CMD_FILE_SEND for "b'sumo-launchd.launch.xml'"
Got CMD_FILE_SEND with data "b'\n \n \n \n \n \n \n\n'"
Creating temporary directory...
Temporary dir is /tmp/sumo-launchd-tmp-kxqifxm5
Base dir is /home/divakar/veins-5.1/veins-veins-5.1/examples/veins/
Seed is 0
Finding free port number...
Claiming lock on port
...found port 40991
Starting SUMO (sumo -c erlangen.sumo.cfg) on port 40991, seed 0
Connecting to SUMO (sumo -c erlangen.sumo.cfg) on port 40991 (try 1)
Error ([Errno 111] Connection refused)
Connecting to SUMO (sumo -c erlangen.sumo.cfg) on port 40991 (try 2)
Releasing lock on port
Starting proxy mode
Done with proxy mode
Done with proxy mode, killing SUMO
Done running SUMO
Cleaning up
Result: "
1
1616690356
1616690357
Exited with error code 1
"
Closing connection from 127.0.0.1 on port 44898
^CKeyboard interrupt.
Shutting down.
WARNING: the sumo-launchd.py script is deprecated in favor of bin/veins_launchd. Redirection done.
WARNING: the sumo-launchd.py script is deprecated in favor of bin/veins_launchd. Redirection done.
I tried adding log value="log.txt" and verbose value="true" in erlangen.sumo.cfg (in veins example) after that i triggered simulation i got same error and Omnetpp console displayed the below error.
terminate called after throwing an instance of 'omnetpp::cRuntimeError'
what(): Connection to TraCI server lost. Check your server's log. Error message: 32: Broken pipe
Please guide me, I'm new to this domain.
The text was updated successfully, but these errors were encountered: