Who sent WebSocket close code 1006? Close frames, 1000/1001/1011, and the codes you must never send
A 1006 in WebSocket logs isn't a code the peer sent; it means the connection ended without a Close frame. RFC 6455's closing handshake, how the code is set, code ranges, and reconnect backoff.
websocketrfc-6455networkprotocol