Send failed, demo server has problem?

Fosco Giangrandi6 years ago

Android phone id: 268682 - demo.traccar.org

web interface: demo.traccar.org
device: online
last update: 0 minutes

Status: 2018-02-07 03:33:07

demo2.traccar.org, otherwise, seems to be ok

Is demo server experienced some problems?

Thanks

Anton Tananaev6 years ago

It might be overloaded, but what exactly is the issue?

Fosco Giangrandi6 years ago

android phone client log says: invio fallito (send failed)
Web interface device window says: status=online and last update=actual time (ok)
Web interface status window says: Attribute Time : 2018-07-02 03:33:07 (not actual time)

Anton Tananaev6 years ago

Everything seems to work correctly:

2018-02-13 10:10:50  INFO: [AA438337] connected
2018-02-13 10:11:59 DEBUG: [AA438337: 5055 < 95.246.244.98] HEX: 474554202f3f69643d3236383638322674696d657374616d703d31353137393730373837266c61743d34342e3337323036333333333333333334266c6f6e3d31322e3032363535333333333333333333342673706565643d302e302662656172696e673d37322e383730303032373436353832303326616c7469747564653d342e3926626174743d39302e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420362e303b20426c75626f6f204d617961204d6178204275696c642f4d524135384b290d0a486f73743a2064656d6f2e747261636361722e6f72673a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a0d0a
2018-02-13 10:11:59 DEBUG: [AA438337: 5055 > 95.246.244.98] HEX: 485454502f312e3120323030204f4b0d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
2018-02-13 10:12:00  INFO: [AA438337] id: 268682, time: 2018-02-07 02:33:07, lat: xx.37206, lon: xx.02655, speed: 0.0, course: 72.9
2018-02-13 10:12:00  INFO: [AA438337] disconnected

Server sends response as expected, so if you still see send failures, it probably means that you have some network issue on your phone.

Fosco Giangrandi6 years ago

why the time is wrong? (time: 2018-02-07 02:33:07)

Anton Tananaev6 years ago

I don't think it's wrong. Your device just reports old data.

Fosco Giangrandi6 years ago

Removing client app (hidden ver.), clean data and cache, and re-install could resolve?

Fosco Giangrandi6 years ago

I check another device: id: 717760
demo.traccar.org = send failed
demo2.traccar.org = ok

Anton Tananaev6 years ago

I have checked the issue again. The problem is that first demo server is overloaded and it takes a long time to process incoming data. Client in the meanwhile times-out and thinks that server hasn't received the data (because of no response in time), so it tries to re-send same old data over and over.

I have cleaned up the server and rebooted it. Hopefully it helps, but there's just too many users and devices there. I would recommend using some other demo server.

Fosco Giangrandi6 years ago

Clear explanation. Checked now, it's ok. Thanks a lot and my compliments for this great piece of software! Have a nice day