Android Traccar Client sends nothing

Artiom3 years ago

I have my own server and configured port 5055 open. In the client I configured the same, added device with ID and it is shown as Offline.
When I turn on the client nothing happens.
No errors, just 2 messages in the status: Service Started and Network online
In the log nothing as well.
From the same phone if I open the url like http://server:5055 in the browser I see a message like this in the log:

osmand < ip.ip.ip.ip] HEX: 474554202f204854

So server is ok, port is open.

Artiom3 years ago

Also tried with this script : https://github.com/lmandres/GT06ScannerClient from the same home network - works well, I see device online

Anton Tananaev3 years ago

Check troubleshooting guide.

Artiom3 years ago

I've checked. It works only when Accuracy in the client is set to High. It seems to be relater to Location Method set in the phone itself. Some combinations does not send location. I think it worth to be documented.

Anton Tananaev3 years ago

If non-high accuracy modes are not working, it means that you disallowed those options in your phone settings.

paul3 years ago

Hello Anton

I ret this error message I a have tried so many things to rectify it with no privail, can you help me.

2021-03-09 12:11:33  INFO: [0c72c088: gps103 < 192.168.1.253] HEX: 16030300a30100009f0303604765f52d4d1e8bbe458abf08bed521a82b2a84b0b16a448d926e56a196534700002ac02cc02bc030c02f009f009ec024c023c028c027c00ac009c014c013009d009c003d003c0035002f000a0100004c000a00080006001d00170018000b00020100000d001a0018080408050806040105010201040305030203020206010603002300000010000b000908687474702f312e3100170000ff01000100
2021-03-09 12:11:33  WARN: [0c72c088] error - begin 21, end 24, length 16 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
2021-03-09 12:11:33  WARN: [0c72c088] error - begin 21, end 24, length 22 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
2021-03-09 12:11:33  WARN: [0c72c088] error - begin 21, end 24, length 20 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
2021-03-09 12:11:33  WARN: [0c72c088] error - begin 21, end 24, length 6 - StringIndexOutOfBoundsException (... < Gps103ProtocolDecoder:413 < ExtendedObjectDecoder:52 < ... < WrapperContext:102 < ...)
paul3 years ago

this is an android handset

paul3 years ago

I have sorted my problem sorry I can not delete my post.

Anton Tananaev3 years ago

Why would you want to delete your post. It's not a support ticketing system. It's a forum to share problems and solutions. What was the issue and how you solved it?

paul3 years ago

Ah ok mate I did not want to bother you that’s all. The issue was that the device did not allow the app to use gps (locations) plus due to the device having a small url address bar the http: was inputted incorrect I added a “s” after the “p” much appreciate the reply Anton.