101 Switching Protocols

An HTTP/1.1 connection has switched to another protocol, commonly for a live WebSocket session.

All HTTP status codes

What does HTTP 101 mean?

After 101, the connection is no longer an ordinary HTTP page exchange. A live dashboard may successfully negotiate WebSocket transport yet fail its next authentication or subscription step. This distinction matters when a page loads but its live updates remain stale. HTTP/2 and HTTP/3 use other mechanisms rather than this HTTP/1.1 upgrade response.

An investigation example

Illustrative live-feed investigation
Handshake: 101 Switching Protocols
Browser receives no incident updates.
Trace: subscription rejected because the session expired.
Action: repair session renewal, then reconnect.
Verify: publish a test event and observe it in the client.

When this response is used

  • A browser opens a WebSocket connection for chat, notifications or a live dashboard.
  • An HTTP/1.1 endpoint explicitly agrees to a protocol listed in the client's Upgrade header.

Diagnose the response

Test a message after the handshake and trace the connection through each proxy if it closes immediately.

  • Confirm that the requested path is meant to upgrade. A normal website availability check should usually target an HTTP page or health endpoint instead.
  • Check Upgrade and Connection handling at the load balancer. A proxy that strips the handshake headers can prevent a working application from receiving the upgrade.
  • Test an actual message exchange with a WebSocket client. A successful handshake alone cannot prove subscriptions, authentication or message delivery work.

What it means for website monitoring

A normal HTTP check and a working live connection answer different questions. Keep an HTTP health URL for availability; validate message delivery with a protocol-aware test.

Reference