Hi Andres, Thank you very much for your quick reply. I remember that I was asked in the past to add a permission automatically by the firewall (windows 7). After the automatic prompt everything worked fine. As this promt didn't came up this time, I manually added an exception in the win7 firewall, but the error was the same. But I will play around with the firewall a little bit more, as from your report it seems to be clearly related to the firewall. This would also make sense as the "peer shut down" probably is due to the fact that no communication to the server is possible. Probably the missing dataoutputstream is also caused by the fact that no outbound connection from Matlab to Sumo can be opened.
I'll keep you updated, Thanks a lot, Marcus > Am 01.11.2016 um 13:02 schrieb Andres Felipe Acosta Gil > <pipeaco...@gmail.com>: > > Dear Marcus. > > I just ran the traci_test.m example and found a similar behavior. The > traci.init command makes several connection attempts and in one of them, > the windows firewall asked me to add the exception. After that, the example > behaved as expected. Are you running traci4matlab on Windows 10? Could you > verify the appropriate exception on the Windows Firewall?? My SUMO version > is 0.27.1 > > Regards. > > >> >> ---------- Forwarded message ---------- >> From: Marcus M?ller <mail4m.muel...@googlemail.com> >> Date: 2016-11-01 15:11 GMT+01:00 >> Subject: Connection Refused - Peer Shutdown - Traci4Matlab traci_test.m >> To: sumo-user <sumo-user@lists.sourceforge.net>, Andres Felipe Acosta Gil >> < >> pipeaco...@gmail.com> >> >> >> 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 > -- > Andres Felipe Acosta Gil, MSc student - Software developer > Universidad Nacional de Colombia - Medellín > Facultad de Minas > Tel: +57 (4) 4255295 > Institutional e-mail: afacos...@unal.edu.co > ------------------------------------------------------------------------------ > 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 > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user ------------------------------------------------------------------------------ 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 sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user