Traccar VPS

William Cadore7 years ago

I was with my server on my personal computer Windows 10, after having changed to VPS Digital Ocean, the KeepAlive of the trackers stopped working, it no longer shows that it is connected

William Cadore7 years ago

after having switched to VPS the devices are in "GPRS error" mode and only stay normal in the defined position sending time, then it returns to "GPRS error"

Anton Tananaev7 years ago

What trackers are you using? How often do they report? What do you have in the config?

William Cadore7 years ago

I'm using Suntech, frequency of 1 minute in movement and 30 minutes stopped, in motion it updates ok, but when it does not update anymore, when it was on the local server it was always connected, always showed on web "connected" ", 3 minutes was the maximum, I left the" keep alive "set to 180 seconds

Anton Tananaev7 years ago

Please answer all the questions.

William Cadore7 years ago

Sorry, I could not translate the program into English.

alt text
alt text
alt text
alt text

Anton Tananaev7 years ago

I'm not sure what those screenshots are. I'm asking about Traccar configuration.

William Cadore7 years ago

Oh yes, sorry. these images are from the device configurator.

the tracing settings are the same as the tutorial, I just modified it to use with the postgresql database

<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'>

<properties>

    <entry key="config.default">./conf/default.xml</entry>

    <entry key='web.port'>80</entry>

    <entry key='geocoder.enable'>false</entry>

    <entry key='database.driver'>org.postgresql.Driver</entry>
    <entry key='database.url'>jdbc:postgresql://127.0.0.1:5432/traccar</entry>
    <entry key='database.user'></entry>
    <entry key='database.password'></entry>

    <entry key='server.timeout'>120</entry>

</properties>
Anton Tananaev7 years ago

Your problem is server.timeout. It's set to 2 minutes, so if device reports less frequent you will get offline status.

William Cadore7 years ago

Okay, I'll test this.

William Cadore7 years ago

now it's ok, thank you