What 101 means
The normal response to a WebSocket handshake: the client sends Upgrade: websocket and the server agrees. After this the connection speaks WebSocket, not HTTP.
Common causes
- A WebSocket (or other Upgrade) handshake succeeded.
How to fix it
If you're calling an API
- Nothing: this is success for WebSocket connections.
If you run the server
- If proxies break WebSockets, make sure they forward the Upgrade and Connection headers.
Should you retry?
Not applicable: it's a success response for upgrades.
Example response
HTTP/1.1 101 Switching ProtocolsRelated headers: Upgrade, Connection.
Defined in: RFC 9110 (HTTP Semantics). 101 is a informational.