Connection Reset on AT09 device

Siddharth7 years ago

Hello All,

I have bought and installed a AT09 model GPS device which came with a backend subscription. I want to switch that device to traccar and am facing difficulties in doing so.

  • As per traccar's device listing page, AT09 uses the totem protocol. But the protocol documentation which we got with the device is a different one.

  • I wanted to setup the device with the server on any port to analyze the data. But the moment I connect the device to traccar server, I see the error as given below, in the traccar logs.

  • But the device does work fine, when connected to its original backend. What could be the issue? any directions please...

2018-03-09 09:55:26  INFO: [22D315EC] disconnected
2018-03-09 09:55:38  INFO: [EF04747D] connected
2018-03-09 09:55:38  WARN: [EF04747D] error - Connection reset by peer - IOException (...)
2018-03-09 09:55:38  INFO: [EF04747D] disconnected
2018-03-09 09:55:53  INFO: [AE63A28D] connected
2018-03-09 09:55:53  WARN: [AE63A28D] error - Connection reset by peer - IOException (...)
2018-03-09 09:55:53  INFO: [AE63A28D] disconnected
2018-03-09 09:56:05  INFO: [D9A58250] connected
2018-03-09 09:56:05  WARN: [D9A58250] error - Connection reset by peer - IOException (...)
2018-03-09 09:56:05  INFO: [D9A58250] disconnected
2018-03-09 09:59:32  INFO: [06453D35] connected
2018-03-09 09:59:32  WARN: [06453D35] error - Connection reset by peer - IOException (...)
2018-03-09 09:59:32  INFO: [06453D35] disconnected
2018-03-09 09:59:53  INFO: [4D47ABBE] connected
2018-03-09 10:00:09  WARN: [4D47ABBE] error - Connection reset by peer - IOException (...)
2018-03-09 10:00:09  INFO: [4D47ABBE] disconnected
2018-03-09 10:00:21  INFO: [E8C1EB54] connected
2018-03-09 10:00:21  WARN: [E8C1EB54] error - Connection reset by peer - IOException (...)
2018-03-09 10:00:21  INFO: [E8C1EB54] disconnected
2018-03-09 10:00:34  INFO: [ED68BD46] connected
2018-03-09 10:00:34  WARN: [ED68BD46] error - Connection reset by peer - IOException (...)
2018-03-09 10:00:34  INFO: [ED68BD46] disconnected
2018-03-09 10:00:46  INFO: [4B2AA7D8] connected
2018-03-09 10:00:46  WARN: [4B2AA7D8] error - Connection reset by peer - IOException (...)
2018-03-09 10:00:46  INFO: [4B2AA7D8] disconnected
2018-03-09 10:01:00  INFO: [105441BC] connected
2018-03-09 10:01:00  WARN: [105441BC] error - Connection reset by peer - IOException (...)
2018-03-09 10:01:00  INFO: [105441BC] disconnected
2018-03-09 10:01:13  INFO: [57FFAB12] connected
2018-03-09 10:01:13  WARN: [57FFAB12] error - Connection reset by peer - IOException (...)
2018-03-09 10:01:13  INFO: [57FFAB12] disconnected
2018-03-09 10:01:25  INFO: [96D79FD1] connected
2018-03-09 10:01:26  WARN: [96D79FD1] error - Connection reset by peer - IOException (...)
2018-03-09 10:01:26  INFO: [96D79FD1] disconnected
2018-03-09 10:01:39  INFO: [BC40973F] connected
2018-03-09 10:01:39  WARN: [BC40973F] error - Connection reset by peer - IOException (...)
2018-03-09 10:01:39  INFO: [BC40973F] disconnected
Anton Tananaev7 years ago

Your device doesn't seem to send any data. I'm not even sure that those logs are from your device.

Siddharth7 years ago

Hi Anton,

These logs are from this device, I'm sure of that. These logs were collected when this was the only device connecting to this server. Took a Wireshark dump too, to confirm this. Noticed something odd in the Wireshark dump (given below).

Server <- Client SYN
Server -> Client SYN-ACK
Server <- Client ACK
Server <- Client RST

No. Time Source Destination Protocol Length Info

1830 81.510478 42.111.183.140 172.31.30.47 TCP 58 23435 → 11903 [SYN] Seq=0 Win=23040 Len=0 MSS=1300

1831 81.510570 172.31.30.47 42.111.183.140 TCP 58 11903 → 23435 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=8961

1839 82.249839 42.111.183.140 172.31.30.47 TCP 54 23435 → 11903 [ACK] Seq=1 Ack=1 Win=23040 Len=0

1846 82.729720 42.111.183.140 172.31.30.47 TCP 54 23435 → 11903 [RST] Seq=1 Win=65535 Len=0

No. Time Source Destination Protocol Length Info

2574 142.173600 42.111.189.8 172.31.30.47 TCP 58 1894 → 11903 [SYN] Seq=0 Win=23040 Len=0 MSS=1300

2575 142.173676 172.31.30.47 42.111.189.8 TCP 58 11903 → 1894 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=8961

2582 142.710676 42.111.189.8 172.31.30.47 TCP 54 1894 → 11903 [ACK] Seq=1 Ack=1 Win=23040 Len=0

2586 142.950100 42.111.189.8 172.31.30.47 TCP 54 1894 → 11903 [RST] Seq=1 Win=65535 Len=0

Robson6 years ago

Same problem here. Did you find any solution?