Device get stuck when reaching some total distance? When upgrade from 3.x to 4.x version

Xe 20166 years ago

Hi!

I used to use 3.x version. After upgrade to 4.2 version there is an problem that I don't understand.
Sometime may be when a device reached to some total distance. Ex: device j1mini12887 has total distance: 17999.98852 kn
Then when device start and moving, the status on traccar is change from Red color into Green color but all remain such as: speed, position,long, lat,.... is not change. It get stuck and just show status change from GREEN color to Yelllow or RED.

Detect on the log I saw this:

> 2018-11-20 10:30:58  INFO: [e92b40b5: 5055 < 113.185.32.207] HEX: 504f5354202f3f69643d6a316d696e6931323838372674696d657374616d703d31353432363832323336266c61743d31332e373738393536266c6f6e3d3130392e313834323734372673706565643d32392e3638323439363931363032373036362662656172696e673d3133392e36343732313637393638373526616c7469747564653d372e3930303030303039353336373433322661636375726163793d3133392e36343732313637393638373526626174743d39352e3020485454502f312e310d0a557365722d4167656e743a2044616c76696b2f322e312e3020284c696e75783b20553b20416e64726f696420352e312e313b20534d2d4a31303542204275696c642f4c4d59343756290d0a486f73743a20782e76756963686f69766965742e636f6d3a353035350d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a4163636570742d456e636f64696e673a20677a69700d0a436f6e74656e742d547970653a206170706c69636174696f6e2f782d7777772d666f726d2d75726c656e636f6465640d0a436f6e74656e742d4c656e6774683a20300d0a0d0a
> 2018-11-20 10:30:58  INFO: [e92b40b5: 5055 > 113.185.32.207] HEX: 485454502f312e3120323030204f4b0d0a636f6e74656e742d6c656e6774683a20300d0a0d0a
> 2018-11-20 10:30:58  WARN: [0c6794f8] error - HTTP 301 Moved Permanently - RedirectionException (... < JsonGeocoder:106 < NotificationManager:72 < *:117 < BaseEventHandler:29 < ...)
> 2018-11-20 10:30:58  INFO: [0c6794f8] disconnected

Please help me!

Anton Tananaev6 years ago

You have some problem with reverse geocoding service that you are using.

Xe 20166 years ago

Last time to pass this problem, I changed the total distance value into another value then it work again. But now It's hard to change this value.
When I change, the web say: HTTP 404 Not Found - NotFoundException (...)

Xe 20166 years ago

how can i disable this?

Anton Tananaev6 years ago

I have no idea what you are talking about. How is total distance related to reverse geocoding? It seems like you just ignored my message completely.

Xe 20166 years ago

You're right. When I disable geocode it's work again!

Xe 20166 years ago

It's seem there was some special character in address text in my country.
I get same problem of geocode in the old version 3.x then I have to disable.

    <entry key='geocoder.enable'>false</entry>
    <entry key='geocoder.type'>nominatim</entry>
    <entry key='geocoder.url'>http://nominatim.openstreetmap.org/reverse</entry>
Xe 20166 years ago
    <entry key='geocoder.onRequest'>true</entry>
    <entry key='geocoder.ignorePositions'>true</entry>
    <entry key='geocoder.reuseDistance'>300</entry>
    <entry key='geocoder.cacheSize'>50000</entry>
Anton Tananaev6 years ago

How did you determine that it's a special character? I think the problem is that you are using HTTP and not HTTPS.

Xe 20166 years ago

In 3.x version normally the address is insert directly into db. And sometime this make SQL exception with some special character. But not anymore on 4.x version.

Could you please give me the guide for HTTPS for traccar? I installed traccar 4.2 on Win10 server.
Very appreciate for your help.
Many thank!

Anton Tananaev6 years ago

What guide? Change HTTP to HTTPS in your URL.