Connection: Offline.

peter.id6 months ago

I have the same issue. I am using two servers (from different providers) with the same OS, same settings and same Traccar configuration. Server 1 is working fine (Connection is Online), but Server 2’s connection is Offline. I don’t know why

Screenshot 2024-07-04 at 16.07.10.png

Anton Tananaev6 months ago

Make sure you read the thread carefully and provide more details.

peter.id6 months ago

Maybe this is just my assumption, but after I tried installing Traccar on a VPS Server, the websocket worked smoothly with nginx. However, when I installed it on a Cloud VPS, the websocket did not work perfectly (it still runs but always reconnect, on dev tools it only received 1 message) maybe need more configuration on Cloud VPS, CMIIW. and I have also contacted the VPS provider about this issue CMIIW

Here are the differences:

This is working
Screenshot 2024-07-05 at 14.45.08.png

This is not working
Screenshot 2024-07-05 at 14.40.44.png

peter.id6 months ago

update..

my server both its working now, thanks anton

Anton Tananaev6 months ago

What was the issue? Please share details.

Janos3 months ago

please tell us how you have resolved the issue?

I have the same problem after 6.5 upgrade, before I used 6.1 without any problem.
Now I have websocket connection failed message in console.