Web socket connection error, Turn off Notification?

Luke williams 7 years ago

Hi Anton,

Is there away to Turn off the notification for Web socket connection error?

I notice it pop up on ver 313, 314 and 315 I cant seem to find out what is the cause, and all seems to work as normal

Is there a tick box in the notifications to stop send to web?

Thank you

Anton Tananaev7 years ago

No, it's not possible to disable them. The error means that WebSocket connection failed, so you won't get live updates. Traccar falls back to regular HTTP requests in that case, so you still get data periodically.

Luke williams 7 years ago

Anton does that mean that one of my devices has conflict? or a port on my vps? I have read all you replies in the past to other members, But still confused where to look to find the cause?

Anton Tananaev7 years ago

It has nothing to do with port conflicts. Usually the issue means that WebSockets are blocked on your network. It often happens on corporate networks where admin block WebSocket traffic, or your ISP can block it as well.

Joao Bento4 years ago

Hello here's the fix for Synology DSM Server:
Open Control Panel > Application Portal
Change to the Reverse Proxy tab
Select the proxy rule for which you want to enable Websockets and click on Edit
Change to the Custom Headers tab
Click the down arrow on the Create button and select “WebSocket”.
Found here:
https://mlohr.com/websockets-for-synology-dsm/