ErrLookup › gorilla/websocket
gorilla/websocket
Package gorilla/websocket is a fast, well-tested and widely used WebSocket implementation for Go. · Go · 12 source files
Analyzed at e064f32e36 on 2026-08-31. 19 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| websocket: bad handshake | error_code | error | websocket, handshake, network |
| websocket: invalid compression negotiation | exception | error | websocket, compression, handshake |
| malformed ws or wss URL | exception | error | websocket, url, validation |
| websocket: duplicate header not allowed: | exception | error | websocket, headers, configuration |
| websocket: protocol %q was given but is not supported;sharin | exception | error | websocket, tls, alpn, configuration |
| websocket: internal error, unexpected bytes at end of flate | exception | error | websocket, compression, internal-error |
| websocket: close sent | error_code | warning | websocket, close-handshake, concurrency |
| websocket: read limit exceeded | error_code | error | websocket, read-limit, security |
| websocket: bad write message type | exception | error | websocket, opcode, validation |
| websocket: write closed | exception | warning | websocket, lifecycle, concurrency |
| websocket: invalid control frame | exception | error | websocket, protocol-violation, rfc6455 |
| websocket: internal error, extra used in client mode | exception | error | websocket, internal-error, client-mode |
| websocket: | exception | error | websocket, protocol-error, close-1002 |
| websocket: internal error, unexpected text or binary in Read | exception | error | websocket, internal-error, reader |
| websocket: invalid compression level | validation | error | websocket, compression, validation |
| concurrent write to websocket connection | panic | critical | websocket, concurrency, panic |
| repeated read on failed websocket connection | panic | critical | websocket, panic, error-handling, read-loop |
| f[1] (proxy response status text) | exception | error | network, proxy, websocket, dial, connect-tunnel |
| http.StatusText(status) | http | error | websocket, handshake, http, upgrade, server |