Have you checked logs for errors?
I have found a problem. My devices were pointing to an IP from the "old" server, and a new server actually had to ping. Now it is everything ok.
What do you mean by "new server actually had to ping"?
Sorry, but the problem is the same.
The device sends its location to a server, the location is property logged every 5 seconds, but the map with the device shows the location of the device every 60 seconds, and the map is only then moved.
Here are the logs from the traccar and ngixn
Traccar:
2024-07-17 05:54:42 INFO: Operating system name: Linux version: 6.1.96-102.177.amzn2023.x86_64 architecture: amd64
2024-07-17 05:54:42 INFO: Java runtime name: OpenJDK 64-Bit Server VM vendor: Amazon.com Inc. version: 17.0.11+9-LTS
2024-07-17 05:54:42 INFO: Memory limit heap: 121mb non-heap: 0mb
2024-07-17 05:54:42 INFO: Character encoding: UTF-8
2024-07-17 05:54:42 INFO: Version: 6.2
2024-07-17 05:54:42 INFO: Starting server...
2024-07-17 05:54:42 INFO: HikariPool-1 - Starting...
2024-07-17 05:54:43 INFO: HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@11a7ba62
2024-07-17 05:54:43 INFO: HikariPool-1 - Start completed.
2024-07-17 05:54:44 INFO: Clearing database change log checksums
2024-07-17 05:54:44 INFO: Successfully acquired change log lock
2024-07-17 05:54:44 INFO: Successfully released change log lock
2024-07-17 05:54:48 INFO: Reading from traccar.DATABASECHANGELOG
2024-07-17 05:54:49 INFO: Reading from traccar.DATABASECHANGELOG
2024-07-17 05:54:49 INFO: Reading from traccar.DATABASECHANGELOG
2024-07-17 05:54:49 INFO: UPDATE SUMMARY
2024-07-17 05:54:49 INFO: Run: 0
2024-07-17 05:54:49 INFO: Previously run: 47
2024-07-17 05:54:49 INFO: Filtered out: 0
2024-07-17 05:54:49 INFO: -------------------------------
2024-07-17 05:54:49 INFO: Total change sets: 47
2024-07-17 05:54:49 INFO: Update summary generated
2024-07-17 05:54:49 INFO: Successfully released change log lock
2024-07-17 05:54:49 INFO: Command execution complete
2024-07-17 05:54:51 INFO: jetty-11.0.21; built: 2024-05-14T03:19:28.958Z; git: 996cd61addad9cb033e0e3eba6fa3f0fa3dc270d; jvm 17.0.11+9-LTS
2024-07-17 05:54:51 INFO: Started o.t.w.@e319a6a{/,null,AVAILABLE}
2024-07-17 05:54:51 INFO: Session workerName=node0
2024-07-17 05:54:52 WARN: JAXBContext implementation could not be found. WADL feature is disabled.
2024-07-17 05:54:53 INFO: Started o.e.j.s.ServletContextHandler@3c169f94{/,null,AVAILABLE}
2024-07-17 05:54:53 INFO: Started ServerConnector@3a5d8a03{HTTP/1.1, (http/1.1)}{0.0.0.0:8082}
2024-07-17 05:54:53 INFO: Started Server@1a251a01{STARTING}[11.0.21,sto=0] @13071ms
2024-07-17 05:55:20 INFO: [Taad0e2ff] connected
Ngixn:
2024/07/17 05:54:48 [error] 1695#1695: *612 connect() failed (111: Connection refused) w
hile connecting to upstream, client: 85.7.42.110, server: app.logithia.ch, request: "GET
/api/positions HTTP/1.1", upstream: "http://127.0.0.1:8082/api/positions", host: "app.l
ogithia.ch", referrer: "https://app.logithia.ch/"
Any idea?
And yes, what I have noticed, only real time or on every device update, movement of the map, is only when I instead of using app.logithia.ch, use IP Server Address:8082, then everything is perfect. Any Idea?
Most likely you have not configured WebSocket proxy.
Can you please provide me more information on how to configure that, or at least a link on where I can look for the proper config?
We have it in the documentation.
can you please be more specific on where exactly, in the documentation it is hard to find?
Thanks Anton, for the hint, now it appears that everything works.
Hello,
Recently, I have installed Traccar 6.2 other on an AWS Linux 2023 on a NGIXN server, configured HTTP and HTTPS. The tracking devices are being updated every 5 sec.
But the problem is, when I click on a device on which I would like to see the movement, then the Map is not updated at all. And on other AWS instance with Traccar 5.9, the map is being updated.
Any idea?
Thank you in advance.