Problem with tk103 i used all ports.

gabrielcz6 years ago

Correct port for your device is 5001. Please carefully read following page:
https://www.traccar.org/ports-for-tk-gt-and-other-gps-devices/

Hi anton,
I have again same problem, how can you know that is this example the port is 5001?? experience or something is telling you? theres anyway to know that for sure or I must try all ports?

Regards,

Anton Tananaev6 years ago

You can either compare messages with tests that we have, or you can try all ports.

gabrielcz6 years ago

done, solved! i found my port!

dio bell4 years ago

Thanks for the quick response Anton, and Sorry if Im off topic I just installed a TK103 GPS on my car, one of the Chinese clone, I adde it to my traccar server and is always offline for some reaso and these are the logs I got on my server, and I'm not able to see any data in my server from that gps. and I think this is my GPS. is the only one I installed on my server.

2020-09-07 03:37:20  INFO: [7d4318b0: gps103 < 183.136.225.45] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353030310d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284d6163696e746f73683b20496e74656c204d6163204f5320582031302e31313b2072763a34372e3029204765636b6f2f32303130303130312046697265666f782f34372e300d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a0d0a
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 16 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 22 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  INFO: [7d4318b0] disconnected
2020-09-07 03:37:21  INFO: [c7a34c40] connected
2020-09-07 03:56:50  INFO: [19ec2190] connected
2020-09-07 03:57:00  INFO: [19ec2190] disconnected
Anton Tananaev4 years ago

The sample you provided is not from your device.

dio bell4 years ago

Thanks again Anton for the quick response, I only have one device on my server and I will send you again the whole log I got on my server, it is in the file named, thanks tracker-server.log

2020-09-07 00:21:52  INFO: [9c5b81ea] connected
2020-09-07 00:21:52  INFO: [9c5b81ea] disconnected
2020-09-07 00:21:57  INFO: [14362e91] connected
2020-09-07 00:21:57  INFO: [14362e91] disconnected
2020-09-07 00:22:03  INFO: [b13986da] connected
2020-09-07 00:22:03  INFO: [b13986da] disconnected
2020-09-07 00:38:10  INFO: [25d2d260] connected
2020-09-07 00:38:11  WARN: [25d2d260] error - Connection reset by peer - IOException (...)
2020-09-07 00:38:11  INFO: [25d2d260] disconnected
2020-09-07 00:38:11  INFO: [7c0947ee] connected
2020-09-07 00:38:11  INFO: [7c0947ee: aquila < 192.35.168.218] HEX: 160301007b010000770303886bc40ae1f1245afb2375239b82f0dd9aacd56cc5da7a0b1594c36056ad4e6d00001ac02fc02bc011c007c013c009c014c00a0005002f0035c012000a01000034000500050100000000000a00080006001700180019000b00020100000d0010000e0401040302010203040105010601ff01000100
2020-09-07 00:38:14  INFO: [5770f1a9] connected
2020-09-07 00:38:15  INFO: [5770f1a9: aquila < 192.35.168.218] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353038390d0a0d0a
2020-09-07 00:38:15  WARN: [7c0947ee] error - Connection reset by peer - IOException (...)
2020-09-07 00:38:15  INFO: [7c0947ee] disconnected
2020-09-07 00:38:18  WARN: [5770f1a9] error - Connection reset by peer - IOException (...)
2020-09-07 00:38:18  INFO: [5770f1a9] disconnected
2020-09-07 00:38:18  INFO: [d8b14391] connected
2020-09-07 00:38:18  WARN: [d8b14391] error - Connection reset by peer - IOException (...)
2020-09-07 00:38:18  INFO: [d8b14391] disconnected
2020-09-07 00:40:00  INFO: [1d995436] connected
2020-09-07 00:40:00  INFO: [1d995436: aquila < 192.35.169.48] HEX: 0d0a
2020-09-07 00:40:01  WARN: [1d995436] error - Connection reset by peer - IOException (...)
2020-09-07 00:40:01  INFO: [1d995436] disconnected
2020-09-07 00:40:01  INFO: [c5ceb9a7] connected
2020-09-07 00:40:01  INFO: [c5ceb9a7: aquila < 192.35.169.48] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353038390d0a0d0a
2020-09-07 00:40:02  WARN: [c5ceb9a7] error - Connection reset by peer - IOException (...)
2020-09-07 00:40:02  INFO: [c5ceb9a7] disconnected
2020-09-07 00:40:02  INFO: [eae1f623] connected
2020-09-07 00:40:02  INFO: [eae1f623: aquila < 192.35.169.48] HEX: 16030100ee010000ea0303fb50dc9722c9b70ab41ad80428bcf82c35ec1c90ddcfe5eee4cd9ec6acd43d1520a3bb18ace59d87dafa4d57978c0b4fbd842e075555a580fd8098621ec5d833010026c02fc030c02bc02ccca8cca9c013c009c014c00a009c009d002f0035c012000a1301130313020100007b000500050100000000000a000a0008001d001700180019000b00020100000d001a0018080404030807080508060401050106010503060302010203ff0100010000120000002b0009080304030303020301003300260024001d0020ed7ff31f8a80639c4da33bf7df8dccad4c1f23db907a2c865f6752feccb1cc7e
2020-09-07 00:40:03  WARN: [eae1f623] error - Connection reset by peer - IOException (...)
2020-09-07 00:40:03  INFO: [eae1f623] disconnected
2020-09-07 01:51:58  INFO: [4f885cad] connected
2020-09-07 01:52:29  WARN: [4f885cad] error - Connection reset by peer - IOException (...)
2020-09-07 01:52:29  INFO: [4f885cad] disconnected
2020-09-07 03:37:00  INFO: [a125420d] connected
2020-09-07 03:37:00  INFO: [a125420d: gps103 < 183.136.225.45] HEX: 4a524d4900024b
2020-09-07 03:37:20  INFO: [a125420d] disconnected
2020-09-07 03:37:20  INFO: [7d4318b0] connected
2020-09-07 03:37:20  INFO: [7d4318b0: gps103 < 183.136.225.45] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353030310d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284d6163696e746f73683b20496e74656c204d6163204f5320582031302e31313b2072763a34372e3029204765636b6f2f32303130303130312046697265666f782f34372e300d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a0d0a
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 16 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 22 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 9 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  WARN: [7d4318b0] error - begin 21, end 23, length 2 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2020-09-07 03:37:20  INFO: [7d4318b0] disconnected
2020-09-07 03:37:21  INFO: [c7a34c40] connected
2020-09-07 03:56:50  INFO: [19ec2190] connected
2020-09-07 03:57:00  INFO: [19ec2190] disconnected
2020-09-07 05:39:55  INFO: [2bfa63c5] connected
2020-09-07 05:40:05  INFO: [2bfa63c5] disconnected
2020-09-07 05:50:48  INFO: [1430f616] connected
2020-09-07 05:50:58  INFO: [1430f616] disconnected
2020-09-07 10:49:13  INFO: [629529f9] connected
2020-09-07 10:49:13  INFO: [629529f9: totem < 183.136.225.45] HEX: 57000000001111070000ffff030000fe03000014001c080a0800000000000000040101010000000001
2020-09-07 10:49:33  INFO: [629529f9] disconnected
2020-09-07 10:49:33  INFO: [51e60ee5] connected
2020-09-07 10:49:33  INFO: [51e60ee5: totem < 183.136.225.45] HEX: 474554202f20485454502f312e310d0a486f73743a2034352e33322e3137322e353a353030370d0a557365722d4167656e743a204d6f7a696c6c612f352e3020284d6163696e746f73683b20496e74656c204d6163204f5320582031302e31313b2072763a34372e3029204765636b6f2f32303130303130312046697265666f782f34372e300d0a4163636570743a202a2f2a0d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a0d0a
2020-09-07 10:49:53  INFO: [51e60ee5] disconnected
2020-09-07 10:49:53  INFO: [16f52fe8] connected
2020-09-07 12:34:02  INFO: [e30ef3ee] connected
2020-09-07 12:34:02  INFO: [e30ef3ee: c2stek < 192.241.223.105] HEX: 7374617475730a0a
2020-09-07 12:34:12  INFO: [e30ef3ee] disconnected
2020-09-07 13:20:55  INFO: [9b14d2ea] connected
2020-09-07 13:21:25  WARN: [9b14d2ea] error - Connection reset by peer - IOException (...)
2020-09-07 13:21:25  INFO: [9b14d2ea] disconnected
2020-09-07 13:49:59  INFO: [57b4c37c] connected
2020-09-07 13:49:59  INFO: [57b4c37c: meiligao < 185.165.190.34] HEX: 6163707000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2020-09-07 13:50:05  INFO: [57b4c37c] disconnected
2020-09-07 13:50:07  INFO: [e88e0974: freematics < 144.91.92.132] HEX: 4f5054494f4e53207369703a3130304034352e33322e3137322e35205349502f322e300d0a5669613a205349502f322e302f554450203134342e39312e39322e3133323a353238393b6272616e63683d7a39684734624b2d333330343432393533373b72706f72740d0a436f6e74656e742d4c656e6774683a20300d0a46726f6d3a2022736970766963696f7573223c7369703a31303040312e312e312e313e3b7461673d333236343332333036313633333033353331333433333332303133323339333733323331333933363336333833300d0a4163636570743a206170706c69636174696f6e2f7364700d0a557365722d4167656e743a20667269656e646c792d7363616e6e65720d0a546f3a2022736970766963696f7573223c7369703a31303040312e312e312e313e0d0a436f6e746163743a207369703a313030403134342e39312e39322e3133323a353238390d0a435365713a2031204f5054494f4e530d0a43616c6c2d49443a203533313631313233353538343137353530383236383732390d0a4d61782d466f7277617264733a2037300d0a0d0a
2020-09-07 14:20:16  INFO: user: 1, action: edit, object: server, id: 1
2020-09-07 15:27:26  INFO: [fdfa3796] connected
2020-09-07 15:27:31  INFO: [fdfa3796: stl060 < 103.145.12.67] HEX: 5245474953544552207369703a34352e33322e3137322e35205349502f322e300d0a5669613a205349502f322e302f544350203130332e3134352e31322e36373a35303130373b6272616e63683d7a39684734624b37373837336165616661323134663730616462636539633634653336326266393b72706f72740d0a546f3a202263223c7369703a634034352e33322e3137322e353e0d0a46726f6d3a202263223c7369703a634034352e33322e3137322e353e3b7461673d6d6770736261663976750d0a435365713a20312052454749535445520d0a43616c6c2d49443a2031333237393536616163316334333434623831323634343535326432373033330d0a4d61782d466f7277617264733a2037300d0a436f6e746163743a203c7369703a63403130332e3134352e31322e36373a35303130373b7472616e73706f72743d5443503e0d0a557365722d4167656e743a204564660d0a436f6e74656e742d4c656e6774683a20300d0a457870697265733a20333630300d0a537570706f727465643a2031303072656c0d0a416c6c6f773a20494e564954452c2041434b2c2043414e43454c2c204f5054494f4e532c204259452c205355425343524942452c204e4f544946592c2052454645522c20494e464f2c204d4553534147450d0a0d0a
2020-09-07 15:27:37  INFO: [fdfa3796] disconnected
2020-09-07 16:11:37  INFO: [ad7278d5] connected
2020-09-07 16:11:44  INFO: [ad7278d5: stl060 < 103.145.13.162] HEX: 5245474953544552207369703a34352e33322e3137322e35205349502f322e300d0a5669613a205349502f322e302f544350203130332e3134352e31332e3136323a32303634343b6272616e63683d7a39684734624b65636438663963316365653134373033613265613261363335366334363266373b72706f72740d0a546f3a202263223c7369703a634034352e33322e3137322e353e0d0a46726f6d3a202263223c7369703a634034352e33322e3137322e353e3b7461673d717773336e6e6b3474390d0a435365713a20312052454749535445520d0a43616c6c2d49443a2032333338333939363162353634363264383033333739666230623334663662370d0a4d61782d466f7277617264733a2037300d0a436f6e746163743a203c7369703a63403130332e3134352e31332e3136323a32303634343b7472616e73706f72743d5443503e0d0a557365722d4167656e743a2033435850686f6e6553797374656d0d0a436f6e74656e742d4c656e6774683a20300d0a457870697265733a20333630300d0a537570706f727465643a2031303072656c0d0a416c6c6f773a20494e564954452c2041434b2c2043414e43454c2c204f5054494f4e532c204259452c205355425343524942452c204e4f544946592c2052454645522c20494e464f2c204d4553534147450d0a0d0a
2020-09-07 16:11:52  INFO: [ad7278d5] disconnected
Anton Tananaev4 years ago

Looks like random data to me. Where is your device in this log?

dio bell4 years ago

I really don't know I will keep trying to connect and delete all the log data to get thanks again new data