It doesn't update every 10 seconds? How frequently does it update? Have you checked browser console?
about 1 min aprox, about the borwser console gives me this
Failed to load resource: the server responded with a status of 404 (Not Found)
serviceWorkerRegistration.js:83 Content is cached for offline use.
SocketController.js:36 WebSocket connection to 'wss://entrerios-trackers.com.ar/api/socket' failed:
h @ SocketController.js:36
SocketController.js:36 WebSocket connection to 'wss://entrerios-trackers.com.ar/api/socket' failed:
h @ SocketController.js:36
(anĂ³nimo) @ SocketController.js:55
SocketController.js:36 WebSocket connection to 'wss://entrerios-trackers.com.ar/api/socket' failed:
Looks like you have a problem with WebSocket. It probably means you haven't configured WebSocket proxy.
yiaks! where i can read to solve this.
You haven't really provided any context. We don't even know what proxy you're using.
thanks i don't know where to see that info.. the web server is apache2, but let me a few minutes
Are you planning to share the config? If you really want help, you should proactively provide all the possible information you can.
i am so sorry for the late, this is the config on the Vhost, apache2
DocumentRoot /opt/traccar
ProxyPass /api/socket ws://(vps IP):8082/api/socket
ProxyPassReverse /api/socket ws://(vps IP):8082/api/socket
ProxyPass / http://(vps IP):8082/
ProxyPassReverse / http://(vps IP):8082/
Is the proxy on a different server?
What modules do you have enabled in Apache?
this if i am not wrong:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Module socache_shmcb already enabled
Module ssl already enabled
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Considering dependency proxy for proxy_wstunnel:
Module proxy already enabled
Module proxy_wstunnel already enabled
Module rewrite already enabled
Looks fine to me, so I don't have any other ideas.
As always Anton you are the best! thanks, i wil try to test with squid proxy, any advice about that?
HI! i have just update traccar version to the last one, and it's working perfect, but the devices (with an update interval of 10 sec) doesn't move fluidity as in the legacy version, that can be fixed? thanks in advance!