Hi Traccar team,
We are having a GPS tracking/distance calculation issue with a tracker that is connecting to our Traccar server using the GT06 protocol.
Device ID / IMEI:
867010074702631
Server:
Traccar
Protocol detected:
gt06
The device is able to connect successfully and Traccar responds to the initial packets. However, the device repeatedly connects, sends some initial packets, disconnects/resets the TCP connection, and then reconnects again.
Example:
17:06:53
[T4cabee8c] connected
Device sends:
78781101086701007470263180962121000035af0d0a
Traccar responds:
787805010000c8550d0a
The device then sends:
7878058a0001fc960d0a
and:
78780a13060604000200041ac40d0a
After that the connection is reset:
Connection reset - SocketException
The more interesting behavior happens on subsequent connections.
At 17:08:40 the device sends a very large series of 0x22 packets, for example:
787826221a09030c2b00c6014771b2088b11f003153b...
Traccar responds with multiple ACKs for protocol 0x22.
Traccar then successfully decodes many historical GPS positions from these packets, for example:
2026-09-03 09:56:55
lat: 11.92730
lon: 79.62937
speed: 20.0
2026-09-03 09:57:04
lat: 11.92808
lon: 79.62907
speed: 21.1
2026-09-03 09:57:13
lat: 11.92895
lon: 79.62908
speed: 20.0
...
2026-09-03 09:59:50
lat: 11.93982
lon: 79.63190
speed: 16.7
However, before these valid records are decoded, Traccar also reports:
time: 1980-01-06 01:00:00
lat: 0.00000
lon: 0.00000
This happens repeatedly after the device connects.
The device is also repeatedly reconnecting from different mobile-network public IP addresses.
We have already verified that:
- The device can reach the Traccar server.
- TCP communication is working.
- Traccar is recognizing the device as GT06.
- Traccar is sending ACK responses.
- The device is sending actual GPS data.
- Traccar is decoding the large 0x22 packets and extracting GPS positions.
The problem is that the tracker appears to be sending buffered/batched GPS records rather than normal continuous position updates, and we are seeing incorrect/stale/invalid positions and distance calculation discrepancies.
Could you please help us determine:
- Is this 0x22 packet format fully supported by the current Traccar GT06 decoder?
- Does Traccar expect these 0x22 packets to contain multiple buffered GPS records?
- Is the 1980-01-06 / 0,0 position generated by the GT06 decoder because of the device's initial packet or because of invalid device time/GPS data?
- Could the repeated TCP connection resets/reconnections cause the buffered records to be processed in a way that affects distance calculation?
- Are there any Traccar configuration options that should be changed for this particular GT06 device?
- Is this likely a device firmware/protocol variant that requires a specific GT06 decoder implementation?
- Is there anything we should provide from the raw TCP capture that would help you identify the exact packet format?
We can provide the complete tracker-server.log and raw tcpdump/packet capture if required.
We would prefer to resolve this at the Traccar protocol/decoder level rather than continuing to change tracker configuration blindly.
Thanks.
Full Log: https://drive.google.com/file/d/10207GYrujTp_yrsrAtk2KyBysAes_auI/view?usp=sharing
Hi Traccar team,
We are having a GPS tracking/distance calculation issue with a tracker that is connecting to our Traccar server using the GT06 protocol.
Device ID / IMEI:
867010074702631
Server:
Traccar
Protocol detected:
gt06
The device is able to connect successfully and Traccar responds to the initial packets. However, the device repeatedly connects, sends some initial packets, disconnects/resets the TCP connection, and then reconnects again.
Example:
17:06:53
[T4cabee8c] connected
Device sends:
78781101086701007470263180962121000035af0d0a
Traccar responds:
787805010000c8550d0a
The device then sends:
7878058a0001fc960d0a
and:
78780a13060604000200041ac40d0a
After that the connection is reset:
Connection reset - SocketException
The more interesting behavior happens on subsequent connections.
At 17:08:40 the device sends a very large series of 0x22 packets, for example:
787826221a09030c2b00c6014771b2088b11f003153b...
Traccar responds with multiple ACKs for protocol 0x22.
Traccar then successfully decodes many historical GPS positions from these packets, for example:
2026-09-03 09:56:55
lat: 11.92730
lon: 79.62937
speed: 20.0
2026-09-03 09:57:04
lat: 11.92808
lon: 79.62907
speed: 21.1
2026-09-03 09:57:13
lat: 11.92895
lon: 79.62908
speed: 20.0
...
2026-09-03 09:59:50
lat: 11.93982
lon: 79.63190
speed: 16.7
However, before these valid records are decoded, Traccar also reports:
time: 1980-01-06 01:00:00
lat: 0.00000
lon: 0.00000
This happens repeatedly after the device connects.
The device is also repeatedly reconnecting from different mobile-network public IP addresses.
We have already verified that:
The problem is that the tracker appears to be sending buffered/batched GPS records rather than normal continuous position updates, and we are seeing incorrect/stale/invalid positions and distance calculation discrepancies.
Could you please help us determine:
We can provide the complete tracker-server.log and raw tcpdump/packet capture if required.
We would prefer to resolve this at the Traccar protocol/decoder level rather than continuing to change tracker configuration blindly.
Thanks.
Full Log: https://drive.google.com/file/d/10207GYrujTp_yrsrAtk2KyBysAes_auI/view?usp=sharing