"Send Failed" from Samsung Note 4

Joeli09 years ago

Hello, thanks for your time and efforts on this project.

I am getting a send fail on the server I set up as well as the demo.

I will step through how I configured it.

Win7 server, installed Java and and server software. Opened all outside ports through windows firewall and even disabled windows firewall for testing purposes. I open traccar with localhost:8082 and it works with no issue. I create a user and Identifier. I download traccar app and install it on my Note. For the config of the app I input the correct identifier, I input the local IP of the server (192.168.1.250), I set my TCP port to 5055 and I tried the location provider on all 3 settings. I am connected to Wifi on the same subnet and can ping the server from my phone. I get the send fail message repeated. I tried port 5005 with no luck. There is no anti-virus on the server that would block this.

I tried on the demo server with the same ports as stated before with same "send Failed" messages.

Any help would be appreciated. Thanks.

Anton Tananaev9 years ago

Can you please check tracker-server.log to see if there are any messages from your device there?

Joeli09 years ago

Sorry Anton. Not sure where that log is located. I can't find it on a search of the server....

Anton Tananaev9 years ago

It should be where you installed Traccar server in the "logs" sub-folder.

Joeli09 years ago
2015-12-22 15:23:18  WARN: Unknown device - 260458
...
2015-12-22 15:24:03  INFO: [A3FEF138] connected
2015-12-22 15:24:03 DEBUG: [A3FEF138: 5055 < 192.168.1.84] HEX: 474554202f3f69643d3236303435382674696d657374616d703d31343439353135383034266c61743d34312e39393234373838266c6f6e3d2d38332e333633343338352673706565643d302e302662656172696e673d302e3026616c7469747564653d302e3026626174743d35342e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420352e312e313b20534d2d4e39323050204275696c642f4c4d59343758290d0a486f73743a203139322e3136382e332e35313a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2015-12-22 15:24:03  WARN: Unknown device - 260458
...
2015-12-22 15:24:48  INFO: [E8D258E2] connected
2015-12-22 15:24:48 DEBUG: [E8D258E2: 5055 < 192.168.1.84] HEX: 474554202f3f69643d3236303435382674696d657374616d703d31343439353135383034266c61743d34312e39393234373838266c6f6e3d2d38332e333633343338352673706565643d302e302662656172696e673d302e3026616c7469747564653d302e3026626174743d35342e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420352e312e313b20534d2d4e39323050204275696c642f4c4d59343758290d0a486f73743a203139322e3136382e332e35313a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2015-12-22 15:24:48  WARN: Unknown device - 260458
...
2015-12-22 15:25:33  INFO: [6934EFD8] connected
2015-12-22 15:25:33 DEBUG: [6934EFD8: 5055 < 192.168.1.84] HEX: 474554202f3f69643d3236303435382674696d657374616d703d31343439353135383034266c61743d34312e39393234373838266c6f6e3d2d38332e333633343338352673706565643d302e302662656172696e673d302e3026616c7469747564653d302e3026626174743d35342e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420352e312e313b20534d2d4e39323050204275696c642f4c4d59343758290d0a486f73743a203139322e3136382e332e35313a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2015-12-22 15:25:33  WARN: Unknown device - 260458
...

Keeps saying unknown device?? Am I using the right port? I'm just testing with the android app and have port 5055 open.

Anton Tananaev9 years ago

Unknown device means that you haven't registered your device on the server.

Joeli09 years ago

I just created a device that says with the identifier 260458 and now it works...

Joeli09 years ago

Now it quit again and the log is repeating this message...

2015-12-22 15:43:58 DEBUG: AsyncSession: 772708488 destroyed: false create userId: 1 devices: 1
2015-12-22 15:43:58 DEBUG: AsyncSession: 772708488 destroyed: false request context: 1643234266
...
Anton Tananaev9 years ago

Please ignore any AsyncSession logging. It's not relevant to your problem. If you don't see any HEX messages in the log, it means that your device doesn't send any data.

Joeli09 years ago

Its working now. i just didn't wait long enough. :) Last thing. I accidentally deleted my map, how do I get one back? Thanks.

Anton Tananaev9 years ago

What do you mean by that? How can you delete a map?

Joeli09 years ago

On the server web GUI there is no map present. Its just a blank white page. My triangle shows up on it though. Wierd...

Anton Tananaev9 years ago

I guess you changed your map layer type in the settings. Just change it back to OpenStreetMap.