I recently downloaded the latest version of Traccar and I'm having problems updating the web interface.

vmedrano 2 months ago

I recently downloaded the latest version of Traccar and I'm having problems updating the web interface. but i can see the web notificacion online offline, i receive he email notificacion , but the device keep off line using osmand client. i check the logs and i receive the data.

2025-12-21 15:20:21  INFO: [T47eaf996: osmand < 186.6.89.63] POST / HTTP/1.1\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 408\r\nHost: 159.203.135.196:5055\r\nConnection: Keep-Alive\r\nAccept-Encoding: gzip\r\nUser-Agent: okhttp/3.12.13\r\n\r\n{"location":{"timestamp":"2025-12-21T15:15:49.531Z","coords":{"latitude":18.4309179,"longitude":-69.9794406,"accuracy":20,"speed":-1,"heading":-1,"altitude":-17},"is_moving":true,"odometer":397827.9,"battery":{"level":0.87,"is_charging":false},"activity":{"type":"still"},"extras":{},"_":"&id=73371411&lat=18.4309179&lon=-69.9794406&timestamp=2025-12-21T15:15:49.531Z&","manual":true},"device_id":"73371411"}
2025-12-21 15:20:21  INFO: [T47eaf996: osmand > 186.6.89.63] HTTP/1.1 200 OK\r\ncontent-length: 0\r\n\r\n
2025-12-21 15:20:21  INFO: Event id: 73371411, time: 2025-12-21 15:20:21, type: deviceOnline, notifications: 1

i tried witg a th103 and the same i check developer mode and no socket erros to wss , nothing some help. is in a digital ocean vps with ubuntu last version
here my trccar.xml

  <entry key='database.driver'>com.mysql.cj.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mysql://localhost:3306/GPS?useSSL=false&amp;allowMultiQueries=true&amp;autoReconnect=true&amp;useUnicode=yes&amp;characterEncoding=UTF-8&amp;sessionVariables=sql_mode=''</entry>
    <entry key='database.user'>admin</entry>
    <entry key='database.password'>wrkserver02!!!!</entry>


<entry key='speedLimit.enable'>false</entry>
<entry key='status.timeout'>600</entry>


    <entry key='filter.zero'>false</entry>

    <entry key='event.enable'>true</entry>
    <entry key='speedLimit'>60</entry>

<entry key='event.enable'>true</entry>
<entry key='sms.enable'>true</entry>
<entry key='notificator.sms.manager.class'>org.traccar.sms.HttpSmsClient</entry>
<entry key='notificator.types'>web,mail,sms</entry>
<entry key='sms.http.url'>http://127.0.0.1:9999/sms</entry>
<entry key='sms.http.template'>
    {
        "to": "{phone}",
        "message": "{message}"
    }
</entry>
<!--<entry key='filter.outdated'>true</entry>-->
<entry key='logger.level'>info</entry>

<entry key='forward.json'>true</entry>
<entry key='forward.enable'>true</entry>
<entry key='forward.url'>http://127.0.0.1:9999/info</entry>

<entry key='database.registerUnknown'>true</entry>
<entry key='web.cors'>true</entry>
<entry key='web.cors.headers'>*</entry>

^?<entry key='mail.smtp.host'>127.0.0.1</entry>
    <entry key='mail.smtp.port'>25</entry>
    <entry key='mail.smtp.starttls.enable'>false</entry>
    <entry key='mail.smtp.from'>alert@nowyouseeme.net</entry>
    <entry key='mail.smtp.auth'>false</entry>
    <entry key='mail.smtp.username'>alert@nowyouseeme.net</entry>
    <entry key='mail.smtp.password'>popola</entry>
Anton Tananaev 2 months ago

Do you see location updates in the logs?

vmedrano 2 months ago

no,

681|osmand  |      49|2025-12-18 16:00:36.000|2025-12-18 15:59:01.000|2025-12-18 15:59:01.000|    1|18.4309153|-69.9794342|   -17.0|  0.0|   0.0|       |{"motion":false,"odometer":393964,"activity":"still","batteryLevel":85,"distance":0.0,"totalDistance":0.0}|    24.9|null   |null       |

if tc_position does not update table have an ol date

vmedrano 2 months ago

not even tc_devices

49|73371411       |73371411       |2025-12-18 16:00:36.000|       681|       |{"deviceImage":"device.png"}
Anton Tananaev 2 months ago

I'm asking about logs.

vmedrano 2 months ago

in the file tracker-server.log i see the informacion like lat an lon >

{"location":{"timestamp":"2025-12-21T16:15:48.140Z","coords":{"latitude":18.4309151,"longitude":-69.9794354,"accuracy":20,"speed":-1,"heading":-1,"altitude":-17},"is_moving":false,"odometer":397827.9,"event":"motionchange","battery":{"level":0.84,"is_charging":false},"activity":{"type":"still"},"extras":{},"_":"&id=73371411&lat=18.4309151&lon=-69.9794354&timestamp=2025-12-21T16:15:48.140Z&"},"device_id":"73371411"}

is that is not the answer how can i get it?

Anton Tananaev 2 months ago

That's raw data. If you don't see anything else, then something is not working. Do you want maybe provide full log so we can see?

vmedrano 2 months ago
Anton Tananaev 2 months ago

Access denied.

vmedrano 2 months ago
Anton Tananaev 2 months ago

This doesn't download anything for me.

vmedrano 2 months ago

fixed gmail drive, try to copy an paste the link in the browser. too many request, error

Anton Tananaev 2 months ago

Your log is clearly showing you what the error is:

2025-12-21 16:20:49  WARN: [T6481c16e] error - Connection refused - ConnectException (... < HttpSmsClient:99 < NotificatorSms:48 < Notificator:37 < NotificationManager:139 < ...)

How did you miss that?

Anton Tananaev 2 months ago

Almost every other line in your log is an error. There are also a ton of other errors. How come you never mention any of this?

vmedrano 2 months ago

i didnot care because is an sms client error . have something to tdo ? i disabled in traccar .xml and mothiing happend same behavior.