I have a freshly installed traccar sever. It's version 3.4. It's running on Ubuntu Linux 14.04 LTS. I use the Android Traccar client. The server doesn't show my client's location. There are many messages like this one in /opt/traccar/logs/tracker-server.log:
2016-03-28 15:20:38 DEBUG: [93CE8CB0: 5005 < 192.168.1.128] HEX: 474554202f3f69643d3335353937323035303436333635332674696d657374616d703d31343539313931373131266c61743d33382e3832353832373338266c6f6e3d2d37372e30353936303131382673706565643d302e302662656172696e673d302e3026616c7469747564653d2d32342e32303030303037363239333934353326626174743d37372e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420352e302e323b20485443204f6e65204275696c642f4c5258323247290d0a486f73743a207777772e6f6e657370656564646176652e636f6d3a353030350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2016-03-28 15:20:38 WARN: [93CE8CB0] error - String index out of range: 0 - StringIndexOutOfBoundsException (... < T55ProtocolDecoder:226 < ExtendedObjectDecoder:39 < ...)
2016-03-28 15:20:38 INFO: [93CE8CB0] disconnected
I found the problem. My copy of the Android Traccar client connected to port 5005 on my server. The correct port number is 5055.
I learned this here.
Why did you use port 5005 originally?
I don't know why. Did the client once use 5005? The last time I used the client was in August, 2015.
Yes, it used to use different port. Anyway, it's good that everything works now.
I have a freshly installed traccar sever. It's version 3.4. It's running on Ubuntu Linux 14.04 LTS. I use the Android Traccar client. The server doesn't show my client's location. There are many messages like this one in /opt/traccar/logs/tracker-server.log: