Connection reset by peer - IOException

tom23847 years ago

Hi,

Can you help with the below please.

The TK102 device just keep sending this

2017-04-12 03:00:07  INFO: [88F76A45] disconnected
2017-04-12 03:03:24  INFO: [F2E03ED8] connected
2017-04-12 03:03:24 DEBUG: [F2E03ED8: 5023 < 64.147.95.119] HEX: 78780d010352887073162095000b79160d0a
2017-04-12 03:03:24 DEBUG: [F2E03ED8: 5023 > 64.147.95.119] HEX: 78780501000b76860d0a
2017-04-12 03:03:34  WARN: [F2E03ED8] error - Connection reset by peer - IOException (...)
2017-04-12 03:03:34  INFO: [F2E03ED8] disconnected
Anton Tananaev7 years ago

Port is correct. Looks like your device just doesn't send any location data.

ig-track7 years ago

Hello Anton,

I am new to the tracking world, though an experienced linux / voip / routing engineer. I have installed a testing Traccar server actually running 7 devices. I would like to congratulate you for this wonderful tool. For sure you deserve some paypal$$ and I will requesting your services for branding and finetuning server before it goes live.

But I am currently facing an issue. I am using TK103B devices which turns to be using gt06 protocol on port 5023. I first installed version 3.10 and later upgrade to 3.11 but keep having the following regulars errors messages : "error - Connection reset by peer - IOException (...)".

I use MysQL database and my conf file look like default + little changes :

    <entry key='geolocation.enable'>true</entry>
    <entry key='geolocation.type'>mozilla</entry>
    <entry key='geolocation.processinvalidPositions'>false</entry>
    <entry key='filter.enable'>true</entry>
    <entry key='filter.zero'>true</entry>
    <entry key='filter.invalid'>true</entry>
    <entry key='filter.duplicate'>true</entry>
    <entry key='filter.limit'>25</entry>
    <entry key='filter.future'>900</entry>
    <entry key='coordinates.filter'>true</entry>
    <entry key='coordinates.error'>4</entry>
    <entry key='status.timeout'>5000</entry>

Extract of log file look like :

2017-05-02 23:06:08 DEBUG: [CE6F56BC: 5023 < 154.70.108.116] HEX: 78780a134006640001004598550d0a
2017-05-02 23:06:08 DEBUG: [CE6F56BC: 5023 > 154.70.108.116] HEX: 787805130045edd10d0a
2017-05-02 23:06:09  INFO: [CE6F56BC] id: 358688800581688, time: 2017-04-26 12:07:43, lat: 3.88303, lon: 11.51796, speed: 0.0, course: 0.0
2017-05-02 23:06:10  WARN: [CE6F56BC] error - Connection reset by peer - IOException (...)
2017-05-02 23:06:10  INFO: [CE6F56BC] disconnected
2017-05-02 23:06:20 DEBUG: [1C03F8D5: 5023 < 154.70.108.121] HEX: 78780a134006640001002a03a40d0a
2017-05-02 23:06:20 DEBUG: [1C03F8D5: 5023 > 154.70.108.121] HEX: 78780513002a76200d0a
2017-05-02 23:06:20  INFO: [1C03F8D5] id: 352887073226650, time: 2017-05-02 07:17:34, lat: 3.88405, lon: 11.51763, speed: 0.0, course: 0.0
2017-05-02 23:06:22  WARN: [1C03F8D5] error - Connection reset by peer - IOException (...)
2017-05-02 23:06:22  INFO: [1C03F8D5] disconnected
2017-05-02 23:06:30  INFO: [8DFCB2C3] connected
2017-05-02 23:06:30  WARN: [8DFCB2C3] error - Connection reset by peer - IOException (...)
2017-05-02 23:06:30  INFO: [8DFCB2C3] disconnected
2017-05-02 23:06:42  INFO: [7EBBAE60] connected
2017-05-02 23:06:45  INFO: [6C357DF7] connected
2017-05-02 23:06:45 DEBUG: [7EBBAE60: 5006 < 154.70.108.120] HEX: 313730353032323330362c30303233373636313134373738302c4
750524d432c3232303633372e3030302c412c3335322e393839322c4e2c313133312e303838302c452c302e33332c36352e38362c3032303531372c
30302c303030302e302c412a34322c462c2c696d65693a3335353638393031333331303636302c3132352613
2017-05-02 23:06:45  WARN: [6C357DF7] error - Connection reset by peer - IOException (...)
2017-05-02 23:06:45  INFO: [6C357DF7] disconnected
2017-05-02 23:06:46  INFO: [7EBBAE60] id: 355689013310660, time: 2017-05-02 23:06:37, lat: 3.88315, lon: 11.51813, speed: 0.3, course: 65.9

Can you help ?
Thanks

Anton Tananaev7 years ago

"Connection reset by peer" just means that device disconnected from the server.

franck kaze3 years ago

hello Sir,
it turns out that i have exactly the same problem as mentioned above. but reading you, I do not see exactly what is the solution ... please give me the indications to follow

cordially