Connection: Offline.

peter.id a year 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 Tananaev a year ago

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

peter.id a year 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.id a year ago

update..

my server both its working now, thanks anton

Anton Tananaev a year ago

What was the issue? Please share details.

Janos a year 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.