Why does port 5005 not work anymore?

RickOShay4 years ago

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?

Anton Tananaev4 years ago

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.

nwps4 years ago

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 <] GET / HTTP/1.1 User-Agent: Dalvik/2.1.0 (Linux; U; Android 5.1.1; SM-N9005 Build/LMY48G) Host: Accept-Encoding: gzip Client-ip: X-Forwarded-For: Via: http/1.1 www[C0A82B64] (ApacheTrafficServer/5.3.1)
nwps4 years ago

I got it "fixed" by disabling my proxy server.

Anton Tananaev4 years ago

@nwps, can I see the HEX message before the error?