Traccar Client is not sending location to server in some Android phone

pwongkk8 years ago

On the HTC phone, the data size is about 15+mb.
The data on these 2 phones are growing as the data is being captured when in use.

Probably you can share where the data is stored on the Android client, I'll figure out how to get it moved out to another phone for testing and if it can be copied to the Note 4 and uploaded.

pwongkk8 years ago

My Note 4 which has all data uploaded is reporting the app size to be 460KB.

This is a far cry from the 2 other 2 phones with app size in 15mb and 20mb.

Anton Tananaev8 years ago

The data is store in the app local SQLite database.

dabsolom8 years ago

I have a Samsung Note 4, i get a message "Location update" and followed by "Send failed"

asantos8 years ago

I have a Samsung Note 5 and a cheap Chinese phone with android 4 and get the same issue on both phones. A message “Location update” and followed by “Send failed”

asantos8 years ago

I'm testing on both the demo4 and demo3 servers

Anton Tananaev8 years ago

"Send failed" can mean one of two things:

  1. Device is not registered on the server
  2. There is some network issue
asantos8 years ago

I found a samsung note 3, install the client on it and work fine, but didn't work on the note 5 and the chinise android phone.

Anton Tananaev8 years ago

I already explained two potential root causes for the problem. It must be one of those.

henk8 years ago

Hello
I have a galaxy A3 android. Android version 6.0.1

My gps is working fine, tracker client gives location update ok
but it gives the error "sending failure".
I dont see the device in the webinterface.
Webinterface = localhost:8082
Indentficator is the same in the webinterface and on the client.
serveradres is the ip4 adres i got from ipconfig.
tracking server poort is 5055

Using win10 and firefox 51.0.1

Henk

ak20158 years ago

there may be issue at server end. Please check server log

henk8 years ago

server is running.

2017-03-03 10:47:03  INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2017-03-03 10:47:03  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.121-b13
2017-03-03 10:47:03  INFO: Memory limit heap: 1810mb non-heap: 0mb
2017-03-03 10:47:03  INFO: Character encoding: UTF-8 charset: UTF-8
2017-03-03 10:47:03  INFO: Version: 3.10-SNAPSHOT
2017-03-03 10:47:09  INFO: Starting server...
2017-03-03 11:35:42  INFO: Shutting down server...
2017-03-03 11:35:54  INFO: Operating system name: Windows 10 version: 10.0 architecture: amd64
2017-03-03 11:35:54  INFO: Java runtime name: Java HotSpot(TM) 64-Bit Server VM vendor: Oracle Corporation version: 25.121-b13
2017-03-03 11:35:54  INFO: Memory limit heap: 1810mb non-heap: 0mb
2017-03-03 11:35:54  INFO: Character encoding: UTF-8 charset: UTF-8
2017-03-03 11:35:54  INFO: Version: 3.10-SNAPSHOT
2017-03-03 11:35:59  INFO: Starting server...
Anton Tananaev8 years ago

@henk, probably either IP address is incorrect or it's closed. For example, it might be blocked by firewall.

henk8 years ago

Well, it makes a connection now. BUt...
it only works with wifi.

I have 4G vodafone abo, when I put wifi of
and mobile DATA on I get the sending faillure.

any ideas?

Henk

Anton Tananaev8 years ago

It probably means that you are either using wrong IP address, or something blocks the connection.