Connection Control

disconnected

Common Close Codes

CodeDescription
1000Normal Closure
1001Going Away (Browser navigating away or refresh)
1002Protocol Error
1003Unsupported Data
1005No Status Received (Expected but missing)
1006Abnormal Closure (Connection drop, no close frame)
1009Message Too Big
1011Internal Server Error

About This Tool

The WebSocket Close Frame Inspector lets you inspect close frames in real time — showing the close code, reason string, and clean/unclean shutdown status whenever a connection terminates. It's built for debugging unexpected disconnects in production environments.

Connect to any endpoint, then trigger a close from either side. The inspector shows you the exact code and reason the server or browser reported, mapped against a reference table of standard WebSocket close codes so you can quickly understand what happened.

How to Use This Tool

1

Enter a WebSocket URL

Point it at the wss:// or ws:// endpoint you want to inspect.

2

Click "Connect"

Establish the connection, then trigger a disconnect from the client or server side.

3

Inspect the close frame

See the exact close code, reason string, and whether the shutdown was clean.

Common Use Cases

  • Diagnosing Silent Disconnects: Identify exactly why a connection was terminated instead of guessing from symptoms alone.

  • Distinguishing Client vs. Server Closures: See whether a disconnect originated from your own client or from the server.

  • Understanding Abnormal Shutdowns: Tell the difference between a clean close and an abrupt, unclean connection drop.

  • Debugging Real-Time App Reliability: Use close code patterns to track down recurring disconnect issues in chat or dashboard apps.

Why Use This Tool

Full Close Code Reference

Includes RFC 6455 descriptions for every standard WebSocket close code.

Live Activity Log

See every connection event timestamped as it happens.

Instant Code Lookup

The reference table highlights the exact code your connection just closed with.

Frequently Asked Questions