i need help for traccar server not detecting devices

olumide4 years ago

Hello everyone, this a great project.
i have read and follow instruction about installing traccar on digitalocean, but am unable to connecting my iphone to the traccar server, in the log it will just show the device as id:4 is not recognizing the indentifier on the phone, i have put the correct tracking ulr inside the phone with the correct port.
i gave my tracking url address to a friend in another country and i was a to add his device to the traccar server yesterday.

olumide4 years ago

this is what my log looks like this morning now

Last login: Tue Oct  5 07:24:18 2021 from 197.210.52.172
root@easyridegpsdemo:~# tail -100 /opt/traccar/logs/tracker-server.log
2021-10-05 00:00:45  INFO: [cfbbbd0d] disconnected
2021-10-05 00:00:47  INFO: [8e7aa597] disconnected
2021-10-05 00:00:49  INFO: [508ba6e2] disconnected
2021-10-05 00:00:49  INFO: [a56cc27b] disconnected
2021-10-05 00:00:49  INFO: [a8a16592] disconnected
2021-10-05 00:00:49  INFO: [76ec0085] disconnected
2021-10-05 00:00:49  INFO: [c6399793] disconnected
2021-10-05 00:00:55  INFO: [35e1c97c] disconnected
2021-10-05 00:00:58  INFO: [7637589c] disconnected
2021-10-05 00:00:58  INFO: [b6f2c47e] disconnected
2021-10-05 00:00:58  INFO: [9d133419] disconnected
2021-10-05 00:00:58  INFO: [e0a73dd6] disconnected
2021-10-05 00:00:59  INFO: [5664f152] disconnected
2021-10-05 00:01:01  INFO: [59eb806a] disconnected
2021-10-05 00:01:01  INFO: [79c755a2] disconnected
2021-10-05 00:01:05  INFO: [7d83ec27] disconnected
2021-10-05 00:01:08  INFO: [e4d31574] disconnected
2021-10-05 00:01:10  INFO: [f6335720] disconnected
2021-10-05 00:01:10  INFO: [9cb1e410] disconnected
2021-10-05 00:01:10  INFO: [fe069372] disconnected
2021-10-05 00:01:11  INFO: [7417096d] disconnected
2021-10-05 00:01:11  INFO: [e487c50e] disconnected
2021-10-05 00:01:11  INFO: [860524d3] disconnected
2021-10-05 00:01:11  INFO: [353ca589] disconnected
2021-10-05 00:01:12  INFO: [ea96bc5b] disconnected
2021-10-05 00:01:19  INFO: [1140bb58] disconnected
2021-10-05 00:01:38  INFO: [25ee0e48] disconnected
2021-10-05 00:01:44  INFO: [b143c0b8] disconnected
2021-10-05 00:01:56  INFO: [01704e9d] disconnected
2021-10-05 01:20:28  INFO: user: 1, action: create, object: device, id: 7
2021-10-05 01:20:28  INFO: user: 1, action: link, owner: user, id: 1, property: device, id: 7
2021-10-05 01:29:35  INFO: [a8b2a9ba] connected
2021-10-05 01:29:35  INFO: [a8b2a9ba: osmand < 197.210.52.243] HEX: 504f5354202f3f69643d3935393338372674696d657374616d703d31363333333937333733266c61743d372e38303133373537266c6f6e3d362e373337363331352673706565643d302e302662656172696e673d302e3026616c7469747564653d302e302661636375726163793d313834372e3026626174743d3130302e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f312e362e3020284c696e75783b20553b20416e64726f696420342e342e323b2053414d53554e472d534d2d4739303041204275696c642f4b4f54343948290d0a486f73743a203133342e3132322e36372e35323a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2021-10-05 01:29:35  INFO: [a8b2a9ba: osmand > 197.210.52.243] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2021-10-05 01:29:35  INFO: [a8b2a9ba] id: 959387, time: 2021-10-05 01:29:33, lat: 7.80138, lon: 6.73763, course: 0.0, accuracy: 1847.0
2021-10-05 01:55:00  INFO: user: 1, action: edit, object: device, id: 4
2021-10-05 01:58:14  INFO: user: 1, action: edit, object: device, id: 4
2021-10-05 01:59:20  INFO: user: 1, action: edit, object: device, id: 4
2021-10-05 02:00:25  INFO: user: 1, action: logout
2021-10-05 02:00:32  INFO: user: 1, action: login
2021-10-05 02:01:17  INFO: user: 1, action: logout
2021-10-05 02:02:39  INFO: user: 0, action: create, object: user, id: 3
2021-10-05 02:03:11  INFO: login failed from: 197.210.77.92
2021-10-05 02:03:27  INFO: login failed from: 197.210.77.92
2021-10-05 02:03:37  INFO: user: 1, action: login
2021-10-05 02:04:39  INFO: user: 1, action: edit, object: user, id: 3
2021-10-05 03:06:13  INFO: [5721f7cc] connected
2021-10-05 03:06:17  INFO: [0931e0c6] connected
2021-10-05 03:06:15  INFO: [5721f7cc: meiligao < 71.6.146.130] HEX: 6163707000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2021-10-05 03:06:19  INFO: [d2f99549] connected
2021-10-05 03:06:19  INFO: [d2f99549: meiligao < 71.6.146.130] HEX: 474554202f20485454502f312e310d0a4163636570742d456e636f64696e673a206964656e746974790d0a486f73743a203133342e3132322e36372e35320d0a4163636570743a20746578742f68746d6c2c6170706c69636174696f6e2f7868746d6c2b786d6c2c6170706c69636174696f6e2f786d6c3b713d302e392c2a2f2a3b713d302e380d0a557365722d4167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e5420362e3129204170706c655765624b69742f3533372e333620284b48544d4c2c206c696b65204765636b6f29204368726f6d652f34312e302e323232382e30205361666172692f3533372e33360d0a0d0a
2021-10-05 03:06:26  INFO: [d2f99549] disconnected
2021-10-05 03:06:26  INFO: [0931e0c6] disconnected
2021-10-05 03:06:27  INFO: [5721f7cc] disconnected
2021-10-05 03:08:59  INFO: [8acf2245] connected
2021-10-05 03:09:34  WARN: [8acf2245] error - Connection reset by peer - IOException (...)
2021-10-05 03:09:43  INFO: [8acf2245] disconnected
2021-10-05 03:48:46  INFO: [6e15b191] connected
2021-10-05 03:48:47  INFO: [90cf1ef1] connected
2021-10-05 03:48:55  INFO: [e9b956d4] connected
2021-10-05 03:48:56  INFO: [6f8eee42] connected
2021-10-05 03:48:56  INFO: [e9b956d4: arknavx8 < 167.94.138.114] HEX: 474554202f20485454502f312e310d0a486f73743a203133342e3132322e36372e35323a353131390d0a0d0a
2021-10-05 03:48:56  INFO: [90cf1ef1: arknavx8 < 167.94.138.114] HEX: 160301007b010000770303d7e967ad0eafdac9e3eaef33d0950748d56e5298bfcd8b4c3985eea0412bf0de00001ac02fc02bc011c007c013c009c014c00a0005002f0035c012000a01000034000500050100000000000a00080006001700180019000b00020100000d0010000e0401040302010203040105010601ff01000100
2021-10-05 03:48:56  WARN: [6e15b191] error - Connection reset by peer - IOException (...)
2021-10-05 03:48:56  WARN: [6f8eee42] error - Connection reset by peer - IOException (...)
2021-10-05 03:48:56  INFO: [6e15b191] disconnected
2021-10-05 03:48:56  WARN: [e9b956d4] error - Connection reset by peer - IOException (...)
2021-10-05 03:48:56  INFO: [6f8eee42] disconnected
2021-10-05 03:48:56  WARN: [90cf1ef1] error - Connection reset by peer - IOException (...)
2021-10-05 03:49:03  INFO: [90cf1ef1] disconnected
2021-10-05 03:49:03  INFO: [e9b956d4] disconnected
2021-10-05 07:09:49  INFO: [b6956369] connected
2021-10-05 07:10:20  WARN: [b6956369] error - Connection reset by peer - IOException (...)
2021-10-05 07:10:22  INFO: [b6956369] disconnected
2021-10-05 07:39:54  INFO: [06ad2805] connected
2021-10-05 07:39:58  INFO: [06ad2805: t55 < 64.225.109.107] HEX: 474554202f20485454502f312e300d0a0d0a
2021-10-05 07:40:06  INFO: [06ad2805: t55 < 64.225.109.107] HEX: 474554202f20485454502f312e300d0a0d0a
2021-10-05 07:40:16  INFO: [06ad2805: t55 < 64.225.109.107] HEX: 474554202f20485454502f312e300d0a0d0a
2021-10-05 07:40:29  WARN: [06ad2805] error - Connection reset by peer - IOException (...)
2021-10-05 07:40:31  INFO: [06ad2805] disconnected
2021-10-05 08:36:53  INFO: [73e5996a] connected
2021-10-05 08:36:53  INFO: [73e5996a: totem < 161.189.192.94] HEX: 57000000001111070000ffff030000fe03000014001c080a0800000000000000040101010000000001
2021-10-05 08:37:03  INFO: [73e5996a] disconnected
2021-10-05 08:42:44  INFO: [68e213df] connected
2021-10-05 08:42:54  INFO: [68e213df] disconnected
2021-10-05 08:49:30  INFO: [5d0b5f86] connected
2021-10-05 08:49:31  INFO: [5d0b5f86: huabao < 161.189.192.94] HEX: 57000000001111070000ffff030000fe03000014001c080a0800000000000000040101010000000001
2021-10-05 08:49:40  INFO: [5d0b5f86] disconnected
2021-10-05 09:24:52  INFO: [8fbb2b3f] connected
2021-10-05 09:24:53  INFO: [8fbb2b3f: gps103 < 216.218.206.68] HEX: 160301009a0100009603032de15f2faae55793d345ec7e2620f353ed486b03cde2aa25c27a965e15bbd6b700001ac02fc02bc011c007c013c009c014c00a0005002f0035c012000a01000053000500050100000000000a00080006001700180019000b00020100000d00260024060106030602050105030502040104030402030103030302020102030202010101030102ff01000100000f00010100120000
2021-10-05 09:24:53  WARN: [8fbb2b3f] error - begin 21, end 23, length 10 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2021-10-05 09:24:53  WARN: [8fbb2b3f] error - begin 21, end 23, length 15 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:411 < ExtendedObjectDecoder:51 < ... < WrapperContext:102 < ...)
2021-10-05 09:24:53  INFO: [8fbb2b3f] disconnected
2021-10-05 09:36:22  INFO: [93d53a2e] connected
2021-10-05 09:36:32  INFO: [93d53a2e: laipac < 161.189.134.11] HEX: 4d4144413e7986db0103ffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000000000000000
2021-10-05 09:36:39  INFO: [93d53a2e] disconnected
2021-10-05 09:55:58  INFO: [54419f09] connected
2021-10-05 09:55:59  INFO: [54419f09: khd < 161.189.134.11] HEX: 4d4144413e7986db0103ffffffffffffffffffff000000000000000000000000000000000000000000000000000000000000000000000000
2021-10-05 09:56:02  WARN: [54419f09] error - Adjusted frame length exceeds 512: 16707 - discarded - TooLongFrameException (... < WrapperInboundHandler:57 < ... < StandardLoggingHandler:43 < ... < NetworkMessageHandler:37 < ...)
2021-10-05 09:56:03  INFO: [54419f09] disconnected
root@easyridegpsdemo:~#
Anton Tananaev4 years ago

We have troubleshooting guides for both server and client. Please follow those. If you still have some issues after, please post each step results here.

olumide4 years ago

Hello Anton, thank you for a great tool like traccar. i followed this guide in installing traccar on digitalocean
https://marketplace.digitalocean.com/apps/traccar?refcode=cd98468e9358, i am actually new to all this and am learning. my initial challenge was the installation of traccar my windows 10 system, then i could not add devices to the traccar server then i read here in the forum i needed a vps, so paid $5 to rent one i have installed the traccar server and was able to add two of my phones , the challenge am having is that after like 24 hours of installation the putty i use in login in becomes unresponsive and i have a to wait for a while after several attempts, if it eventually connects it show
"system information disabled due to load higher than 1.0"

i have to delete the droplets and reinstall back

this is what the log is currently showing:
only the device with device id:313413 in currently connected
Anton, my question is this Sir:
is there any other device connected to my server with the information i provided.?
Also i have not setup the mysql database, how do i do that can that be responsible for slow connection or not even connecting at all.

2021-10-06 15:57:54  INFO: [d1695217: osmand > 197.210.70.162] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2021-10-06 15:57:54  INFO: [d1695217] id: 313413, time: 2021-10-06 15:57:53, lat: 7.80060, lon: 6.73684, course: 0.0, accuracy: 10.0
2021-10-06 15:57:56  INFO: [d1695217] disconnected
2021-10-06 15:58:24  INFO: [2231f4b2] connected
2021-10-06 15:58:24  INFO: [2231f4b2: osmand < 102.91.4.52] HEX: 504f5354202f3f69643d3331333431332674696d657374616d703d31363333353335393033266c61743d372e383030353935266c6f6e3d362e3733363833372673706565643d302662656172696e673d3026616c7469747564653d37392e36343834303331363737323436312661636375726163793d313026626174743d373420485454502f312e310d0a486f73743a2034362e3130312e38352e31363a353035350d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a4163636570743a202a2f2a0d0a557365722d4167656e743a2054726163636172436c69656e742f35372043464e6574776f726b2f313132362044617277696e2f31392e352e300d0a4163636570742d4c616e67756167653a20656e2d69650d0a436f6e74656e742d4c656e6774683a20300d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a0d0a
2021-10-06 15:58:24  INFO: [2231f4b2: osmand > 102.91.4.52] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2021-10-06 15:58:24  INFO: [2231f4b2] id: 313413, time: 2021-10-06 15:58:23, lat: 7.80060, lon: 6.73684, course: 0.0, accuracy: 10.0
2021-10-06 15:58:26  INFO: [2231f4b2] disconnected
2021-10-06 15:58:55  INFO: [7910dbec] connected
2021-10-06 15:58:55  INFO: [7910dbec: osmand < 102.91.5.159] HEX: 504f5354202f3f69643d3331333431332674696d657374616d703d31363333353335393334266c61743d372e383030353935266c6f6e3d362e3733363833372673706565643d302662656172696e673d3026616c7469747564653d37392e36363930333330353035333731312661636375726163793d313026626174743d373320485454502f312e310d0a486f73743a2034362e3130312e38352e31363a353035350d0a436f6e6e656374696f6e3a206b6565702d616c6976650d0a4163636570743a202a2f2a0d0a557365722d4167656e743a2054726163636172436c69656e742f35372043464e6574776f726b2f313132362044617277696e2f31392e352e300d0a4163636570742d4c616e67756167653a20656e2d69650d0a436f6e74656e742d4c656e6774683a20300d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a0d0a
2021-10-06 15:58:55  INFO: [7910dbec: osmand > 102.91.5.159] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2021-10-06 15:58:55  INFO: [7910dbec] id: 313413, time: 2021-10-06 15:58:54, lat: 7.80060, lon: 6.73684, course: 0.0, accuracy: 10.0
2021-10-06 15:58:57  INFO: [7910dbec] disconnected
root@easyidegpsdemo:~#
olumide4 years ago

also this is the output when i issue ufw status command

Status: active

To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere
8082/tcp                   ALLOW       Anywhere
5000:5500/tcp              ALLOW       Anywhere
5000:5500/udp              ALLOW       Anywhere
22/tcp (v6)                ALLOW       Anywhere (v6)
8082/tcp (v6)              ALLOW       Anywhere (v6)
5000:5500/tcp (v6)         ALLOW       Anywhere (v6)
5000:5500/udp (v6)         ALLOW       Anywhere (v6)

is there any way i can close ports that are not being used at all?
does it mean 5000:5500/udp
5000:5500/tcp(v6) allow all the ports within that range?