|
From: Marcus M. <mai...@go...> - 2016-11-01 14:16:34
|
Actually I was wrong - the issue is there since 0.26.0 it seems. We are running on 0.25.0 ---------- Forwarded message ---------- From: Marcus Müller <mai...@go...> Date: 2016-11-01 15:11 GMT+01:00 Subject: Connection Refused - Peer Shutdown - Traci4Matlab traci_test.m To: sumo-user <sum...@li...>, Andres Felipe Acosta Gil < pip...@gm...> Dear Sumo friends and experts, first I want to thank Jakob and his team for the latest release of SUMO 0.28.0. The release notes look like a x-mas wish list to me. Great Work! Unfortunately me and my colleagues are not able to upgrade to the latest version since 0.27 because since then we are not able to get the Traci4Matlab wrapper working. If I try to run the traci_test.m from the contributed\traci4matlab\examples folder the following error occurs: (Going back to 0.26 the same code works perfectly) Loading done. Simulation started with time: 50400.00 Error: tcpip::Socket::recvAndCheck @ recv: peer shutdown Within Matlab the error is described as: Error using traci.Socket/connect (line 25) Java exception occurred: java.net.ConnectException: Connection refused: connect This happened in the past when the TraCi default port was changed from 8813 to 8873, so I tried to make sure that nothing is wrong the port. I set the --remote-port argument but still got the same error. In Matlab I could trace down the problem until the init.m where the connections array does not contain a "dataoutputstream (dos)" after the connection has been set up: socket: [1×1 java.net.Socket] dis: [1×1 java.io.DataInputStream] dos: [] dataReader: [] Has anyone experienced this issue and can help me with this? Thank you very much, Marcus |