Android clients disconnection

emmerossi4 years ago

Hi, installed last version on Centos migrating from previous installation on W12.
Client running io works fine, Android not. It connects to serve and afterward disconnect.
Reinstalled client again, same result.
This is the log :

INFO: [6eadb236] connected
2021-03-27 09:10:15  INFO: [6eadb236: osmand < 2.35.80.12] HEX: 504f5354202f3f69643d3332313434372674696d657374616d703d31363136383332363132266c61743d34352e34333935363037266c6f6e3d392e313636363237362673706565643d332e3137383732303230343530$
2021-03-27 09:10:15  INFO: [6eadb236: osmand > 2.35.80.12] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2021-03-27 09:10:15  WARN: [6eadb236] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-03-27 09:10:15  INFO: [6eadb236] disconnected
2021-03-27 09:14:52  INFO: [db78ebf6] connected
2021-03-27 09:14:52  INFO: [db78ebf6: osmand < 2.35.80.12] HEX: 504f5354202f3f69643d3332313434372674696d657374616d703d31363136383332383932266c61743d34352e34333935363037266c6f6e3d392e313636363237362673706565643d332e3137383732303230343530$
2021-03-27 09:14:52  INFO: [db78ebf6: osmand > 2.35.80.12] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
2021-03-27 09:14:52  WARN: [db78ebf6] error - empty String - NumberFormatException (... < DeviceManager:418 < OverspeedEventHandler:123 < BaseEventHandler:29 < ...)
2021-03-27 09:14:52  INFO: [db78ebf6] disconnected

Any idea ? thank you

Anton Tananaev4 years ago

It looks like you have some incorrect attributes set on your device, specifically overspeed related.

emmerossi4 years ago

Hi Anton, i use those devices from approximately 2 years even on earlier version on Windows. Moving to Centos7 the only devide that work is IOS client, all others android (several smartphone and Tk103 using GPS103 fail). Problem must be on Centos7, i disabled firewall, selinus is active but configured as permissive. Centos is updated. What else ?

Anton Tananaev4 years ago

In case I wasn't clear - the problem is with attributes you set in Traccar system.

emmerossi4 years ago

Sounds strange, i didn't modify server configuration (default.xml, traccar.xml), IOS and Android App have almost no parameter, except the server url and port (set exacltly the same). I disintall/reinstall on Android with same result. There are no log entries for Android devices. Which attribute should I change and where ? Thank you

emmerossi4 years ago

Apologize Anton, was simply a matter of GPS enabling on device. It works as expected.