error - Connection reset by peer - IOException (...)

Superego7 years ago

Hello, Anton

I try to search for that error, but there was no suitable response for.
I use traccar on Android device. But seems something is not working - it geathers GPS only once a day, but all next times connection is reset.
What can be the issue?
Thanks in advance

2017-12-01 07:06:02 DEBUG: [88CE3A4E: 5055 < 84.237.198.80] HEX: 504f5354202f3f69643d3735363637312674696d657374616d703d31353132313034373537266c61743d35372e3039303435353336266c6f6e3d32342e35363330383438312673706565643d302e302662656172696e673d302e3026616c7469747564653d33382e302661636375726163793d302e3026626174743d39392e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f312e362e3020284c696e75783b20553b20416e64726f696420342e342e323b204854435f4f6e655f6d696e695f32204275696c642f4b4f54343948290d0a486f73743a2038302e3233322e3235312e3235343a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2017-12-01 07:06:02 DEBUG: [88CE3A4E: 5055 > 84.237.198.80] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2017-12-01 07:06:08  INFO: [88CE3A4E] id: 756671, time: 2017-12-01 07:05:57, lat: 57.09046, lon: 24.56308, speed: 0.0, course: 0.0
2017-12-01 07:22:01  INFO: [196C906A] connected
2017-12-01 07:22:01  WARN: [196C906A] error - Connection reset by peer - IOException (...)
2017-12-01 07:22:01  INFO: [196C906A] disconnected
2017-12-01 07:22:46  INFO: [8ABA3BE7] connected
2017-12-01 07:22:46  WARN: [8ABA3BE7] error - Connection reset by peer - IOException (...)
2017-12-01 07:22:46  INFO: [8ABA3BE7] disconnected
2017-12-01 07:23:29  INFO: [84A443C0] connected
2017-12-01 07:23:29  WARN: [84A443C0] error - Connection reset by peer - IOException (...)
2017-12-01 07:23:29  INFO: [84A443C0] disconnected
2017-12-01 07:24:08  INFO: [2E9F3303] connected
2017-12-01 13:37:38  INFO: [497409E9] connected
2017-12-01 13:38:08  INFO: [2EF15A00] connected
2017-12-01 13:38:38  INFO: [75EAF683] connected
2017-12-01 13:39:08  INFO: [C5D827B3] connected
2017-12-01 13:39:38  INFO: [FFBDBAEA] connected
2017-12-01 13:40:08  INFO: [EC52D238] connected
2017-12-01 13:40:38  INFO: [275FC36D] connected
2017-12-01 13:41:09  INFO: [87292540] connected
2017-12-01 13:41:38  INFO: [E1A4C6B4] connected
2017-12-01 13:42:08  INFO: [6E2415F4] connected
2017-12-01 13:42:38  INFO: [C021E3CC] connected
2017-12-01 13:43:08  INFO: [121AA61F] connected
2017-12-01 13:43:34  WARN: [121AA61F] error - Connection reset by peer - IOException (...)
2017-12-01 13:43:34  INFO: [121AA61F] disconnected
Anton Tananaev7 years ago

What makes you think it's from your Android device? It seems like someone is trying to connect to your server, but I don't think it's your device.

Superego7 years ago

Hmmm...good info. But is there a way to see in logs connection intention IP addresses? So I could understand what's going on.

But if back to issue - what I see in traccar android client, is that it also tries to send info and seems that successfully. Is there any idea what I can implement?

Anton Tananaev7 years ago

There is no way to show IP for connection event without changing the code.

Implement what?