device on map updated every 1 minutes not 10 second

tedi2 years ago

hi
i use traccar 5.6
i see when realtime tracking, device on the map updated every 1 minutes.
I use gt06n. i set up device to update every 10 second.
i look in history data trip recorder look smooth every 10 second.
but why in realtime tracking every 1 minutes?

do I need setting something in traccar.xml or else?

before use 5.6, I use 4.12.
compare to traccar 4.12 its very smooth in realtime tracking

thanks

Anton Tananaev2 years ago

Check browser console for errors. I suspect you have some WebSocket issue.

Yehiel2 years ago

Yes, it's the same with me, even though in history you see an update every 10 seconds in live tracking, it updates every minute or so. The problem is both on the website and in the app. Apparently the problem is different, maybe you can help me

Anton Tananaev2 years ago

Have you checked your browser console?

Yehiel2 years ago

But I also have this problem in the app

tedi2 years ago

do you use windows server too?

Yehiel2 years ago

Yes

tedi2 years ago

hi this from browser console

Failed to load resource: the server responded with a status of 404 ()
serviceWorkerRegistration.js:83 Content is cached for offline use.
moment.js:287 Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.
Arguments: 
[0] _isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Invalid date, _f: undefined, _strict: undefined, _locale: [object Object]
Error
    at Function.createFromInputFallback (h**ps://tedi.com/static/js/main.311bff63.js:2:558552)
    at Rr (hxxps://tedi.com/static/js/main.311bff63.js:2:582994)
    at Wr (hxxps://tedi.com/static/js/main.311bff63.js:2:586340)
    at Yr (h**ps://tedi.com/static/js/main.311bff63.js:2:586206)
    at Vr (h**ps://tedi.com/static/js/main.311bff63.js:2:585924)
    at Zr (h**ps://tedi.com/static/js/main.311bff63.js:2:586698)
    at Kr (h**ps://tedi.com/static/js/main.311bff63.js:2:586732)
    at a (h**ps://tedi.com/static/js/main.311bff63.js:2:555425)
    at NA (h**ps://tedi.com/static/js/main.311bff63.js:178:125746)
    at Mo (h**ps://tedi.com/static/js/main.311bff63.js:2:679565)
M @ moment.js:287
15The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:40 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
ee @ react-dom.production.min.js:40
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:40 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
ee @ react-dom.production.min.js:40
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:40 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
ee @ react-dom.production.min.js:40
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
react-dom.production.min.js:35 The specified value "Invalid date" does not conform to the required format, "yyyy-MM-dd".
set @ react-dom.production.min.js:35
Anton Tananaev2 years ago

Can you provide a login to take a look?

tedi2 years ago

https://adlertrack.com
demo
password: philips

Anton Tananaev2 years ago

I don't get the same error. Tried on Firefox and Chrome. But I also don't see any devices there.

Anton Tananaev2 years ago

Actually something seems to be broken with your WebSocket. I don't receive any data through it.

Anton Tananaev2 years ago

After more investigation it looks like it's your IIS issue. Connecting directly to Traccar on port 8082 everything is working correctly.

tedi2 years ago

ok, I will check again

Ebi3 months ago

Hi dear Anton

I have the same problem with Traccar version 6.2 and 6.3.
device real time tracking updated every approx 2 minutes. I checked browser console log, just this warning appears:

'Geolocation support is not available so the GeolocateControl will be disabled.'

this delay also exists on the android app.
Traccar has been installed on windows server 2022, behind the firewall. required port is open, 8082 for web console and 5027 for Teltonika devices.

This delay does not exist in the recorded data.
thanks