Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Connection Reset by Using Traci4matlab
  • From: Xun Liu <xliu8@xxxxxxxxxxxxx>
  • Date: Fri, 4 Jun 2021 05:15:54 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=villanova.edu; dmarc=pass action=none header.from=villanova.edu; dkim=pass header.d=villanova.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ICzUZjCmMRsrdQ6evpm8nB5yXmMiuBicG/7sGymBaLU=; b=QmXYnMPuqwt8glHTf6VORBHuNlZoLqILwK7xGOwd1Fq0/ChlvoEFCs7A7OWRzp9orZjqMUb64a8XJDT7oz+o0T6A3oRue+HJvutFvWoWj286uh9clpobp6knIMVL6NlIlBHcapdr04g7Gx/cJoldlwpI/TORzVkIzrJw3S/8SFOD69M3QVpUndZXvwbxkd40krye9XPEEwRHNYtxwa+scY///WJFEgZcJ/1N7KIk35nYTnm+oQ3jhrubhmWxqMDyyj9p9i+IWzzB8ojAKYvfBYUvyHgTwwC1IkzgSJy9aB6GYCNTrUsCQfnKby9FZwvoeDnfIuRA8d0VvJD7Kb+mNQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EoMHqGJwp1mPdNk3lkTV4n3/c3wwRLNt43vIbjdicQheqQKDoPdR0sTgIIqU+m9UM62mUX7+fSXj3tjWfup6cLArc1OKMTuqxuJnDc8yBQtgyIY5he3qMiTyAw8lH4TEbyh/reDmoJuAGrhn8Y1gTOZl+wotV4xlG1rxdTnvxSik8ywUCPI+iXFlD9Z3FBL2sIeJDikwohmmZ39CuXs4yEHile5C7AoPmhFAVRtsRP1xS8ww0LOPNhv5YmxWKix5QHs5Z+nmOrmhslPJ45tm2QSCsbvQOS82DF83uSMmQ9dQClXpHDbouyil9o5FtiPXDzbAkrqEFJap6y6ejLr6tw==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user/>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AddY/rVjOdAKW1DeS8+d3YoSFUTY7Q==
  • Thread-topic: Connection Reset by Using Traci4matlab

Hello everyone,

 

I meet a problem when using traci4matlab. It seem like the connection between MATLAB and SUMO during the simulation is reset, and the error hint in MATLAB is:

 

Error using traci.recvExact (line 35)

Java exception occurred:

java.net.SocketException: Connection reset

 

              at java.net.SocketInputStream.read(SocketInputStream.java:210)

 

              at java.net.SocketInputStream.read(SocketInputStream.java:141)

 

              at java.net.SocketInputStream.read(SocketInputStream.java:224)

 

              at java.io.DataInputStream.readInt(DataInputStream.java:387)

 

 

Error in traci.sendExact (line 23)

result = traci.recvExact();

 

Error in traci.simulationStep (line 49)

result = traci.sendExact();

 

Error in traci.simulation.step (line 18)

traci.simulationStep(time);

 

Error in Journal_matlab (line 70)

traci.simulation.step();

 

And also in my code, this issue happened not in specific sampling time, rather randomly. I test the program for several times, at every time the problem  happened in different sampling time.

 

Has anyone also met this problem before, could you please give me some suggestions to solve this problem? Thanks.

 

Best Regards,

Xun Liu


Back to the top