Basics Station, WS protocol issue

Hi Everyone,

Issue: “websocket: close 1006 (abnormal closure): unexpected EOF”

Why it happens? How to resolve it?

I have noticed WS protocol an issue. During a day, when gateways are on Basics Station mode, gateways disconnects 5 to 10 times, sometimes, every 15 - 30 seconds.

WSissue

It looks like the connection was closed without a proper Websocket close sequence (see RFC 6455). The most likely explanation is that the underlying TCP connection timed out. Is your gateway connected over wifi or cellular? Try placing it in a more favourable location. Otherwise, a TCP packet scan on the gateway could help to shed some light.

Gateway is connected over wifi.