I understand that the protocol has changed with the updated android client, but shouldn't it still work if I change the port on Android to 5005? Or do I have to open port 5055 on the server and use that one?
The communication protocol used by Traccar Client has changed, so it won't work on port 5005 which is for the old protocol. You need to open port 5055 on the server side and use that one.
Sorry for thread hijacking. I Changed my Android port to 5055 and did a complete reinstall on the server. I'm now getting this error and no location updates are getting through. Using 3.1 with MySQL database.
2015-08-18 16:48:43 WARN: [69C6C005] error - NullPointerException (OsmAndProtocolDecoder.java:62 < ExtendedObjectDecoder.java:39 < ...) 2015-08-18 16:48:43 INFO: [798D5D7C] connected 2015-08-18 16:48:43 DEBUG: [798D5D7C: 5055 < 192.168.43.100] GET / HTTP/1.1 User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; SM-N9005 Build/LMY48G) Host: 192.168.43.100:5055 Accept-Encoding: gzip Client-ip: 192.168.43.80 X-Forwarded-For: 192.168.43.80 Via: http/1.1 www[C0A82B64] (ApacheTrafficServer/5.3.1)
I got it "fixed" by disabling my proxy server.
@nwps, can I see the HEX message before the error?