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 <[email protected]>
Date: 2016-11-01 15:11 GMT+01:00
Subject: Connection Refused - Peer Shutdown - Traci4Matlab traci_test.m
To: sumo-user <[email protected]>, Andres Felipe Acosta Gil <
[email protected]>


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
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to