Skip to content
GDPR compliant. Hosted in the EU.
14-day free trial →
Browser MonitoringRealtimeSynthetic Checks
Monitoring 18 min read 22 Jun 2026

Monitoring WebSocket and Realtime Endpoints in 2026

Monitor WebSocket and SSE endpoints: handshake behind the proxy, heartbeat interval, round-trip with p95, reconnect, and HTTP/2, with worked examples.

X

XICTRAQ® Team

XICTRAQ®

WebSocketRealtimeBrowser-MonitoringSSEMonitoring
41%
of surveyed firms: USD 1M to over 5M per hour of downtime (ITIC 2024)
60 s
until nginx closes a silent proxied connection by default (nginx)
125 bytes
max payload of a ping/pong frame (RFC 6455)
Monitoring the WebSocket lifecyclewss://live.example.com/socketRFC 64551Handshake: HTTP 101 Switching ProtocolsUpgrade header + origin check118 ms2OPEN: connection establishedreadyState 1 - bidirectional channelOK3Ping 0x9 -> Pong 0xAHeartbeat every 30 s - zombie detection41 ms4Message round-trip (echo)send -> onmessage - end-to-end latency63 msConnection dropped (code 1006)Pong timeout - reconnect triggeredAlert: email, Slack, TelegramDOWNBrowser API gives JS no access to ping/pong frames(RFC 6455 - automatic pong reply)Realtime healthMedian message RTT63 msp95 148 ms - target under 250 msHandshake successlast 24 h99.7%!Reconnectsauto, backoff active3Pong rateheartbeat 30 s100%RTT history (12 h)41% of surveyed firms put an hour of downtime at USD 1M to over 5M (ITIC 2024) - XICTRAQ® browser and realtime monitoring
Live dashboards, chat, notifications, trading tickers: more and more features run over WebSocket and realtime endpoints rather than individual HTTP requests. A normal uptime check often reports HTTP 200 for the page behind them even when the handshake fails, the heartbeats stop, or no message arrives anymore. That gets expensive fast: 41% of surveyed companies estimate the cost of one hour of downtime at USD 1 million to over 5 million (ITIC 2024). With worked examples for heartbeat interval, percentiles, and error budget, this guide shows how to monitor WebSocket and SSE endpoints from the handshake behind the reverse proxy through ping/pong and round-trip to reconnect, what changes under HTTP/2 and HTTP/3, and how browser monitoring with synthetic checks covers the realtime features a simple ping does not see.

Why Realtime Endpoints Slip Through Classic Uptime Monitoring

Over HTTP/1.1, a WebSocket starts as an ordinary GET request with an Upgrade header, which the server switches to the WebSocket protocol with the status code 101 Switching Protocols. Any other status code means the handshake has not completed and the rules of HTTP still apply (RFC 6455). That is exactly the problem for classic monitoring: many uptime checks only verify that an HTTP endpoint is reachable and returns a 2xx status. Whether a working bidirectional channel actually forms afterwards, carrying real messages, goes unchecked.

The technique is less widespread than the enthusiasm for realtime suggests. A study of the one million most visited websites of the Tranco list found HTTP polling significantly more common than WebSockets, whose adoption appeared to have stagnated in the two to three years before the study (Web Conference 2021); the findings also suggested that recommended security practices were often disregarded even where WebSockets were deployed (Web Conference 2021). Still, wss:// connections are present: the Web Almanac 2025 lists which WebSocket origins websites allow in their Content Security Policy (HTTP Archive Web Almanac 2025). A live display may therefore be backed by a WebSocket, but just as well by polling or server-sent events - and each technique needs a different check.

The decisive difference: a website can be fully reachable - the home page loads, login works - and the live feature is still broken. If the WebSocket fails, users see a frozen dashboard, a chat with no new messages, or a cart that does not update. This is exactly the gap closed by monitoring that checks the entire connection lifecycle instead of just the first HTTP status.

On top of that, realtime failures often appear gradually: a load balancer cuts the connection after an idle period, a deployment changes the upgrade path, or an upstream CDN node fails to pass the Upgrade header. The server logs often show nothing, because traditional HTTP access logs only capture the initial upgrade request, not the message traffic that follows (OWASP WebSocket Security Cheat Sheet). Only a continuous check executed from the outside makes such failures visible - before the first support ticket arrives.

Warning: HTTP 200 Does Not Mean Realtime-OK

A status 101 check only says the server accepts the handshake; under HTTP/1.1, a status 200 does not even mean that. The check says nothing about whether messages flow after the upgrade, whether heartbeats are answered, or whether the connection drops seconds later with code 1006 (abnormal closure). Realtime endpoints need a check that actually opens and uses the connection.

First Find Out: Polling, SSE, or WebSocket?

Before the first check, take a look at the network tab of the developer tools: does the live feature send ordinary requests at fixed intervals (polling), keep a response with the media type text/event-stream open (server-sent events), or continue as a WebSocket after status code 101? The HTML standard defines the media type text/event-stream for event streams (HTML Living Standard). The answer decides which tool you need - and which failures you can see at all.

TechniqueHow you recognize itWhat the check must verifyMatching building block
Pollingrecurring ordinary requestsstatus, response time, contentAPI monitoring with assertions
Server-sent eventsstatus 200, media type text/event-stream, response stays openstatus, media type, gap between events, resumptionstatus endpoint via API monitoring, browser monitoring
WebSocket over HTTP/1.1status 101 after an Upgrade headerhandshake, message flow, round-trip, close code, reconnectbrowser monitoring plus your own probe with a heartbeat
WebSocket over HTTP/2 or HTTP/3extended connect request with :protocol = websocket, success with status 200as above, plus the protocol versionas above

From a monitoring perspective, polling is an ordinary HTTP endpoint: XICTRAQ® API monitoring calls it at the configured interval, checks status, response time, and JSON values via assertions, and alerts when two consecutive checks fail. For server-sent events and WebSockets, a status endpoint of the realtime server such as /health helps as well, reporting how many clients are connected and how many seconds have passed since the last delivered message. An assertion such as $.seconds_since_last_message lt 30 makes a silent sender visible without the check having to hold a realtime connection.

The WebSocket Lifecycle: Four Phases That Need Monitoring

A robust realtime check follows the natural lifecycle of a WebSocket connection. Each phase has its own failure modes - and each yields its own meaningful metric. Checking only one phase misses the other three.

1. Handshake

The HTTP upgrade to 101 Switching Protocols. This is where TLS errors, wrong Sec-WebSocket-Accept headers, rejected origins, or a reverse proxy swallowing the upgrade show up. Metric: handshake time and success rate.

2. Open and Heartbeat

After readyState 1, ping/pong keeps the connection alive: the server sends a ping (opcode 0x9), the client replies with a pong (opcode 0xA). Control frames carry at most 125 bytes of payload (RFC 6455) with a two-byte header; the client masks every frame and adds four bytes of masking key (RFC 6455). Metric: pong rate and heartbeat latency.

3. Message Round-Trip

Send a test message and wait for the echo via onmessage. This measures true end-to-end latency including server processing. Metric: message RTT as median and p95.

4. Close and Reconnect

When the connection drops (code 1006), reconnect logic with backoff kicks in. Unlike SSE, the browser's WebSocket interface does not reconnect on its own; the application has to do it. Metric: reconnect frequency and reconnection time.

Important for monitoring: ping and pong frames are not accessible in the browser's WebSocket interface (WebSockets Living Standard). The browser answers a ping itself, because every endpoint must answer a ping with a pong unless it has already received a close frame (RFC 6455). A check in a real browser therefore sees the heartbeat only indirectly via connection state and application heartbeats, while a protocol client sees the frames directly.

In practice, many applications therefore add an application-level heartbeat to the protocol heartbeats: the server sends a small JSON message such as {"type":"heartbeat"} at a fixed cadence, which the client sees in its onmessage handler. A browser check can evaluate these messages. If the expected heartbeat does not arrive, the connection is most likely a zombie, even if readyState still reports 1.

Handshake Monitoring: Where Most Connections Fail

The handshake is the most common point of failure - and the easiest to overlook. The client sends an HTTP request with Connection: Upgrade, Upgrade: websocket, and a random Sec-WebSocket-Key. The request must use the GET method and at least HTTP/1.1 (RFC 6455). The server computes the matching Sec-WebSocket-Accept value from the key and replies with status 101. If any of these steps fails, no connection is established.

WebSocket handshake (simplified)
GET /socket HTTP/1.1
Host: live.example.com
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==
Sec-WebSocket-Version: 13
Origin: https://example.com

HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo=

Typical handshake problems a synthetic check surfaces: an expired or misconfigured TLS certificate on the wss:// endpoint, a reverse proxy or WAF that does not pass through the Upgrade header, a rejected origin, or an overloaded server that completes the handshake only after several seconds. Because the handshake sits on top of HTTPS, SSL certificate monitoring belongs to it.

Reading Handshake Failures Behind Proxies and Load Balancers

When the handshake fails, the status code usually reveals where in the chain. RFC 6455 names three typical responses: 400 Bad Request for a malformed handshake (RFC 6455), 403 Forbidden for an unwanted origin (RFC 6455), and 426 Upgrade Required together with Sec-WebSocket-Version when the server does not speak the requested protocol version (RFC 6455). Other codes usually come from the infrastructure in front of it.

ResponseTypical causeWhat the check should report
101 Switching Protocolshandshake accepted (HTTP/1.1)success, continue with the message flow
200 instead of 101 (HTTP/1.1)proxy or CDN swallowed the upgradefailure, even though the status looks green
403 Forbiddenorigin not on the allowlist or authentication missingfailure, but expected in the counter-test with a foreign origin
426 Upgrade Requiredprotocol version not supportedfailure, with the offered version
502 or 504proxy cannot reach the backend or waits too longinfrastructure failure
Close code 1006drop without a close frame, often due to an idle timeoutdrop with time and connection duration

The most common reason for "200 instead of 101" is a reverse proxy that does not pass the upgrade through: Upgrade and Connection are hop-by-hop headers and do not reach the backend unless forwarded explicitly (nginx). With nginx there is also a version question. Before 1.29.7 the proxy module spoke HTTP/1.0 to the backend by default, since 1.29.7 HTTP/1.1 is the default (nginx). Because the handshake requires at least HTTP/1.1, older configurations strictly needed proxy_http_version 1.1. Version 1.29.7 was released on 24 March 2026 and no longer sends the Connection header by default (nginx); both upgrade headers therefore remain mandatory.

nginx: WebSocket behind the reverse proxy
http {
    # derive the Connection value from the request
    map $http_upgrade $connection_upgrade {
        default upgrade;
        ''      close;
    }

    server {
        location /socket/ {
            proxy_pass http://realtime_backend;
            # required before nginx 1.29.7, default since then
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection $connection_upgrade;
            # default 60 s: if the backend sends nothing for this long, nginx closes
            proxy_read_timeout 60s;
        }
    }
}

The second trap is the idle timeout: nginx closes a proxied connection by default if the backend server does not transmit any data for 60 seconds, and names a longer proxy_read_timeout or periodic ping frames from the server as remedies (nginx). The right interval can be calculated. If the shortest idle timeout in the chain of CDN, load balancer, and nginx is 60 seconds, a heartbeat every 45 seconds is only enough as long as every one arrives: if one gets lost, a gap of 90 seconds opens. At 25 seconds the gap stays at 50 seconds even then. Rule of thumb: heartbeat interval below half of the shortest idle timeout. For server-sent events the HTML standard similarly suggests a comment line roughly every 15 seconds, because some proxies drop connections after a short timeout (HTML Living Standard).

Tip: Origin Validation Belongs in Monitoring

Browsers send cookies with the handshake, even when a foreign page opens the connection. Protection against cross-site WebSocket hijacking (CWE-1385) therefore rests on server-side validation of the Origin header against an allowlist (OWASP WebSocket Security Cheat Sheet). A protocol check with a correct and with a foreign origin shows whether the allowlist holds: 101 in the first case, 403 in the second (RFC 6455).

Ping/Pong and Message Round-Trip: Measuring Real Latency

Once the connection is open, the real work begins. The ping/pong mechanism detects dead connections (so-called zombies) and keeps intermediaries from closing a seemingly idle connection. How often to ping follows from the shortest idle timeout of all stations in the chain, as shown in the reverse proxy example.

The most meaningful value is the message round-trip (RTT): a test message is sent and the time until the reply arrives via onmessage is measured. Unlike the handshake, the RTT captures the whole processing chain with server logic, queues, and database. The protocol's framing hardly matters here; network latency and the backend determine the latency budget.

MetricWhat it measuresAlert threshold (example)
Handshake timeTime to HTTP 101slower than 1 s
Handshake successShare of successful upgradesbelow 99% in 24 h
Pong rateHeartbeats answeredbelow 100% over 2 intervals
Message RTT (median)send to onmessageabove 250 ms
Message RTT (p95)Outlier latencyabove 500 ms
Reconnects/hourDropped connectionsmore than expected

These thresholds are examples - sensible values depend on the application. A trading ticker has a different latency budget than a background notification channel. What matters is that the values are captured at all and checked against an expected range. How such thresholds can be derived from real user behavior is described in the article on recording and automatically monitoring browser flows.

Worked Example: Measure the Round-Trip, Set Thresholds, Trigger the Alert

An example with made-up values: a probe sends 20 test messages per run. Sorted, the round-trips come to 38, 40, 41, 41, 42, 43, 44, 45, 46, 47, 48, 50, 52, 55, 58, 61, 70, 95, 180, and 640 milliseconds. The median is the mean of the 10th and 11th value, so 47.5 ms. Under the nearest-rank method, the 95th percentile is the value at position 19 (0.95 × 20 = 19), so 180 ms. The arithmetic mean would be 86.8 ms and thus almost twice the median - pulled up by a single outlier.

  1. Threshold per run: a median above 250 ms or a p95 above 500 ms counts as a violation. The example run stays green, although one value reaches 640 ms.
  2. Confirmation: alert only when two consecutive runs breach the threshold.
  3. Sample size: with 20 values, p95 is effectively the second-highest value; with fewer than 20 it coincides with the maximum under the nearest-rank method. A reliable p95 needs at least 20 measurements per evaluation.
  4. Cadence: "handshake success below 99% in 24 h" means 1,440 attempts and up to 14 permitted failures at one run per minute, but 288 attempts and only 2 at one run every five minutes.

Detection time follows the same sober arithmetic: interval times the number of confirmations plus run time. With runs every five minutes and two confirmations, an outage can go unnoticed for about ten minutes in the worst case, with one run per minute for about two. More on this in the articles on uptime check intervals and detection time and on p95 and p99 instead of the average.

Reconnect and Drop Detection: The Moment That Counts

The browser's WebSocket interface brings no built-in reconnect logic; the application has to reconnect itself. With server-sent events the browser takes care of it: EventSource waits for the reconnection time, whose initial value is set by the browser, according to the HTML standard probably in the region of a few seconds (HTML Living Standard), and sends the last seen event ID as Last-Event-ID. For WebSockets the check must therefore verify that the reconnect logic works and how long it takes.

Warning: Server-Sent Events Give Up on an Error Status

The automatic reconnect of EventSource applies after network errors, not after every response. If the server returns a status other than 200 or a media type other than text/event-stream, the browser fails the connection (HTML Living Standard) and makes no further attempt afterwards (HTML Living Standard). If a proxy briefly answers with 502 during a deploy, clients that reconnect at exactly that moment are left without live data until the page reloads or the application reconnects itself. So check the SSE endpoint after every deploy for status 200 and the media type.

The most common drop indicator is the close code 1006 (abnormal closure). An endpoint must not put it into a close frame itself; the value is reserved to indicate an end without a close frame (RFC 6455), for example after a network error, a proxy timeout, or a server crash. In the browser this shows as a close event with wasClean equal to false. If such drops pile up after exactly 60 seconds of silence, the cause is usually an idle timeout, not a crash. A good check then triggers a reconnect and reports when reconnection fails or takes unusually long - exactly these seconds decide whether users notice an outage.

Exponential backoff with a random component (jitter) makes sense, so that after a server restart not all clients come back at once. The arithmetic: if 10,000 clients reconnect within one second, the server has to accept 10,000 handshakes in that second; if a random delay spreads them evenly over 30 seconds, it is about 333 per second on average. From a monitoring perspective, two values count: reconnects per hour and average reconnection time. If both rise, the connection is unstable, even if the endpoint appears reachable in between - a pattern a plain ping usually does not uncover.

From Dead Socket to Alert

A dropped WebSocket is invisible in classic monitoring - the HTTP endpoint stays reachable, after all. Only a check that opens the connection, performs a round-trip, and reacts to close code 1006 as well as missing pongs turns the silent failure into a concrete alert - before the first user reports a frozen dashboard.

WebSocket vs. SSE: What to Monitor and When

Not every realtime feature needs a WebSocket. Server-Sent Events (SSE) are a lightweight, HTTP-based one-way channel from server to client - well suited for live feeds, dashboards, and notifications. The text format with data: lines is easy to check. WebSockets show their strength with true bidirectional communication: chat, collaborative editing, multiplayer.

  • Monitor SSE: status 200 and media type text/event-stream, arrival of event: and data: lines, the gap between events, and resumption with Last-Event-ID.
  • Monitor WebSocket: handshake, readyState, ping/pong, message RTT, and reconnect - the full lifecycle.
  • Both together: TLS certificate of the wss:// or https:// endpoint, reachability, and latency against a target value.
  • Mind the protocol version: SSE runs over ordinary HTTP; whether HTTP/1.1, HTTP/2, or HTTP/3 decides how many streams share one connection. For the transport layer see the HTTP/3 and QUIC protocol monitoring.

HTTP/2 and HTTP/3: No 101, Different Failure Patterns

HTTP/2 does not support the status code 101 (RFC 9113), because one connection carries many streams at once there. RFC 8441 therefore defines its own path: the server signals with SETTINGS_ENABLE_CONNECT_PROTOCOL that it accepts WebSockets over HTTP/2, and the client opens a stream with the CONNECT method and the pseudo-header :protocol with the value websocket (RFC 8441). In the RFC's example, success shows as :status 200, not as 101. RFC 9220 applies the mechanism to HTTP/3; the setting there carries the value 0x08, as in HTTP/2 (RFC 9220).

For monitoring this has three consequences. First, the expectation must match the protocol version: a check that insists on 101 reports a healthy WebSocket over HTTP/2 as a failure; one that accepts any 2xx status misses a swallowed upgrade under HTTP/1.1. Second, the station the browser talks to decides whether it uses HTTP/2 - often a CDN or load balancer. A check over HTTP/1.1 then tests a different path than the one your users take. Third, server-sent events benefit from HTTP/2: browsers with a per-server connection limit can run into trouble when several tabs open event streams to the same domain (HTML Living Standard). This limit affects connections over HTTP/1.1; under HTTP/2 the streams share one connection, and the specification recommends allowing at least 100 concurrent streams (RFC 9113).

GraphQL subscriptions, which often run over WebSocket, are a special case. The graphql-transport-ws protocol requires an initialization message after the handshake; if it does not arrive within the waiting time, the server closes with code 4408 (graphql-ws). Unlike the frames from RFC 6455, its ping and pong messages are visible in the browser and work as an application heartbeat. How queries, mutations, and the errors array are checked is described in the article on GraphQL API monitoring.

Monitoring Realtime Endpoints with Synthetic Browser Checks

An effective approach to realtime monitoring is synthetic checks from a real browser or protocol context: a script that opens the connection just like a real user, sends a message, waits for the reply, and checks the result against expected values. This is the same logic behind synthetic browser checks for critical flows - just applied to the realtime layer.

With XICTRAQ® you assemble the check from three building blocks. Browser monitoring drives a real Chromium browser through your scenario: open the page, wait for an element that only appears with the first live message, and check its text. If the realtime connection breaks, the step fails; the alert names the step number and error message, the run detail shows the screenshot from the moment of failure, and the duration per step reveals the time until the first live message. API monitoring checks polling endpoints and the status endpoint of the realtime server. For the protocol level you run a small probe of your own that pings heartbeat monitoring after every successful pass and sends the measured duration along; if the ping stops or the probe reports a failure, the alert goes out. All three paths alert via email, Slack, Discord, Telegram, Microsoft Teams, or webhook.

Location matters too: a realtime endpoint can be reachable from one network and stall from another. XICTRAQ® uptime monitoring checks from three EU data centers in Nuremberg, Helsinki, and Falkenstein with confirmation by two of the three nodes; API and browser checks currently run from one location in Germany. If you have users in several regions, place your own probe there as well and record handshake time and round-trip per location.

Realtime in SaaS Operations: Error Budget and Detection Time

For SaaS providers, the live feature is often the part of the product customers see every day. Expectations are high: in an ITIC poll conducted alongside its 2023 server reliability survey, 90% of the surveyed organizations required at least 99.99% availability (ITIC 2024). That leaves 525,600 × 0.0001 = about 52.6 minutes of downtime per year, and 43,200 × 0.0001 = about 4.3 minutes in a 30-day month. A realtime channel that stands still unnoticed for ten minutes uses up this monthly budget more than twice.

It follows that detection time must be well below the budget. A browser check every five minutes catches longer-lasting realtime outages, but on its own it is too slow for 4.3 minutes per month. Tighter coverage comes from the status endpoint in API monitoring, whose interval goes down to 30 seconds depending on the plan, and from your own probe, whose heartbeat can be expected every minute. The article on error budget and burn rate derives alert thresholds from budget and burn rate; further checks for SaaS products are summarized on the page monitoring for SaaS and web-app operators.

Realtime checks are not an isolated topic. They feed into the same chain as the other functional checks: a live cart that updates over WebSocket belongs to the same critical path as the checkout itself. How to check such business processes end to end is shown in the articles on monitoring login flow and checkout and on e-commerce monitoring for online shops.

The economic lever is considerable. Even on average, 97% of large enterprises with more than 1,000 employees put one hour of downtime at over USD 100,000 (ITIC 2024). Early detection of a dead realtime channel is therefore direct damage reduction: a frozen live dashboard that goes unnoticed for hours costs trust - and in doubt, revenue. XICTRAQ® is built to current GDPR requirements and operates its monitoring nodes in EU data centers, two of them in Germany.

Note: Sources and Studies

This article draws on: IETF (RFC 6455 The WebSocket Protocol, RFC 8441 and RFC 9220 on WebSockets over HTTP/2 and HTTP/3, RFC 9113 HTTP/2), HTML Living Standard (server-sent events), WebSockets Living Standard, nginx (documentation WebSocket proxying and ngx_http_proxy_module, change log for 1.29.7), OWASP (WebSocket Security Cheat Sheet), CWE-1385, Web Conference 2021 (Murley et al., WebSocket Adoption and the Landscape of the Real-Time Web), HTTP Archive (Web Almanac 2025, Security chapter), graphql-ws (graphql-transport-ws protocol), ITIC (Hourly Cost of Downtime 2024, Part 2). The worked examples are our own sample calculations with made-up values. Statistics may have changed since publication.

Frequently Asked Questions on WebSocket and Realtime Monitoring

Is a normal uptime check enough for a WebSocket endpoint?
Usually not. A classic check typically only verifies that the HTTP endpoint is reachable and returns a 2xx or 101 status. Whether messages actually flow after the upgrade, heartbeats are answered, and the connection stays stable is something it generally does not see. For realtime features, a synthetic check that opens and uses the connection is advisable.
How do you measure a WebSocket's latency meaningfully?
The most meaningful value is the message round-trip: send a test message and measure the time until the reply arrives via onmessage, as a median and as p95. This captures the whole processing chain including server logic. A reliable p95 usually needs at least 20 measurements per evaluation; otherwise it coincides with the maximum under the nearest-rank method.
What does close code 1006 mean in monitoring?
Code 1006 stands for a drop without a close frame, often caused by network errors, proxy timeouts, or server problems. It is not transmitted but reported locally. In monitoring it should typically trigger a reconnect attempt and, when frequent, a notification. If the drops regularly occur after the same period without data, an idle timeout is usually the cause.
Which heartbeat interval fits behind a proxy with a 60-second timeout?
Usually one below half of the shortest idle timeout, so about 25 seconds for 60 seconds. The connection then survives one lost heartbeat, because the gap of 50 seconds stays below the timeout; at 45 seconds, a single missing heartbeat already opens a gap of 90 seconds. The direction matters: nginx measures the timeout against the data the backend sends.
Why does a WebSocket server answer with 200 instead of 101 over HTTP/2?
Because HTTP/2 does not support the status code 101. WebSockets over HTTP/2 and HTTP/3 are set up according to RFC 8441 and RFC 9220 via an extended connect request with the pseudo-header :protocol, whose success shows as status 200. A check should therefore tie its expectation to the protocol version. A 200 under HTTP/1.1, by contrast, usually points to a swallowed upgrade.
How does XICTRAQ® monitor a WebSocket feature?
With three building blocks: browser monitoring checks in a real browser whether live data arrives on the page, API monitoring checks polling endpoints and a status endpoint of the realtime server, and heartbeat monitoring alerts when your own probe stops sending a ping or reports a failure. The probe measures ping/pong frames and round-trip series itself, because the browser interface does not expose these frames.

Related in XICTRAQ®

First scan usually in under a minute

Let XICTRAQ® watch your website.

Free plan with no fixed term available. No credit card, no installation, no hidden fees.