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 <[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
>
>
>
-- 
Andres Felipe Acosta Gil, MSc student - Software developer
Universidad Nacional de Colombia - Medellín
Facultad de Minas
Tel: +57 (4) 4255295
Institutional e-mail: [email protected]
------------------------------------------------------------------------------
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