GT06 GPS not connecting on VPS, works on Traccar Demo

Mohamed Lamine Kané 4 months ago

Anton my mistake I didn't understand request for the Troubleshooting détail I am going to check it

Mohamed Lamine Kané 4 months ago

Sorry, Anton, my mistake — I didn’t fully understand your request for troubleshooting details earlier. I’m going to check it now.

Mohamed Lamine Kané 3 months ago

Hello,

I followed the official Troubleshooting guide to connect my GT06 GPS tracker to Traccar, but I still cannot get any HEX messages in the logs.

Steps I already tested:

Service check

ps aux | grep traccar
root 11505  0.2  4.2 4678224 348860 ?  Ssl  Sep26   3:33 /opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml

Traccar service is running.

Web interface

sudo ss -tulpn | grep 8082
tcp   LISTEN 0 50 *:8082 *:* users:(("java",pid=11505,fd=622))

Web UI is working fine on port 8082.

GPS protocol port (5023)

nc -vz localhost 5023
Connection to localhost (::1) 5023 port [tcp/*] succeeded!

Port 5023 is open.
I also allowed it on the firewall (UFW + iptables).

Clone ports tested
I tried other common GT06/clone ports such as 5001, 5006, 5093, but the result is always the same:

2025-09-27 11:57:24  INFO: [T043f45fc] connected
2025-09-27 11:57:24  INFO: [T043f45fc] disconnected

Logs
There are no HEX messages in /opt/traccar/logs/tracker-server.log, only quick connect/disconnect events.

Conclusion

I followed the Troubleshooting steps carefully.

Server is running, ports are open, and device connects/disconnects.

I tested the standard GT06 port (5023) as well as known clone ports (5001, 5006, 5093).

Still no HEX messages are received.

Thanks for your help!

Anton Tananaev 3 months ago

Your conclusion is probably wrong. That connect/disconnect is likely from the port check. It seems like you have some device issues that it doesn't connect at all.

Mohamed Lamine Kané 3 months ago

Thank you for this information. I will do more research on this topic and analyze the situation more thoroughly.

Mohamed Lamine Kané 3 months ago

Hello I managed to fix my probleme by adding the following line to my traccar.xml configuration file:

<entry key='decoder.gt06.port'>5023</entry>

After adding this entry, the connection issue was resolved. Hopefully, this helps anyone facing the same problem.
Thank you for your help and support.

Anton Tananaev 3 months ago

There's no such configuration parameter, so adding this line does nothing at all.

Mohamed Lamine Kané 3 months ago

These are my first times using a vps but I know that this line has changed the situation but if you say that this configuration does not exist then you are right about these your products after all