Tracker only send Handshake, no position

gpadider7 years ago

Hello,

I repost here my topic in the right place :)

I have a litte problem.
This morning I was able to track my vehicle but this evening it appears as offline. When I check the logs (hosted traccar on my server) I only see handshakes requests, with no location.

I always get the same handshake :
Hex : 283032373034343635393536334250303033353532323730343436353935363348534f31613429
Ascii : 027044659563BP00355227044659563HSO1a4

So BP00 -> handshake.
I've tested with https://github.com/freshworkstudio/gps-google-maps-socket-io and I can see the same problem :

Received : (027044659563BP00355227044659563HSO1a4)   (handshake from tracker to server)
Sending : (027044659563AP01HSO)                (handshake response from server to tracker)

The protocol is TK103 and this is my tracker : https://www.xcsource.com/ah207-mini-gps-gsm-gprs-tracker

I hope it the good place to send my problem, if it's not I'm sorry could you please tell me where I can ask this problem ?

Sorry for bad english.

Have a good day :)

--

second message :

:o Very strange

After lot of hours sending handshakes (BP00) it has just sent the position (BR00) !

Received : (027044659563BP00355227044659563HSO1a4)
Sending : (027044659563AP01HSO)

Received : (027044659563BP00355227044659563HSO1a4)
Sending : (027044659563AP01HSO)

Received : (027044659563BP00355227044659563HSO1a4)
Sending : (027044659563AP01HSO)

...

Received : (027044659563BR00171011A****.****N*****.*****E***.***2720202.6000000001L00000000)

I've masked the GPS coordinates but maybe others chars sorry

And now i got only location (BR00) messages.
Somebody has any idea ?


3rd message :

Since 3 minutes now I had 7 handshake requests, no position anymore.

And now i've had a lot of positions requests (+20) in 3 minutes so it's working
very strange


I've figured out that this problem happens when my tracker server has crashed during a trip because a request from the tracker was too big (multiple positions in a single request). And so after a restarting i got only handshakes.

Anton Tananaev7 years ago

Are you saying that Traccar crashed because device sent several messages at a time? Please provide proof.

gpadider7 years ago

Hello Anton,

Thanks for your answer :)
I've forgot to mentionned I used it on a custom node server test but it did the same thing on traccar (no crash but get no position only handshake).