1000 Normal Closure
The connection has been closed cleanly, meaning the purpose for which it was established has been fulfilled. Both endpoints agree the session is complete.
On this page
When You See This Code
The WebSocket connection closed gracefully after both sides finished exchanging data. This is the expected close code for a successful session.
How to Fix
No fix needed — this indicates everything worked as intended. If you did not expect the connection to close, check your application logic for premature close() calls.
Specification
Compare With
Guides
Debugging Scenarios
Specifications
Decision Guides
Glossary
Frequently Asked Questions
What is WebSocket 1000 Normal Closure?
The connection has been closed cleanly, meaning the purpose for which it was established has been fulfilled. Both endpoints agree the session is complete.
When do you see WebSocket 1000 Normal Closure?
The WebSocket connection closed gracefully after both sides finished exchanging data. This is the expected close code for a successful session.
How to fix WebSocket 1000 Normal Closure?
No fix needed — this indicates everything worked as intended. If you did not expect the connection to close, check your application logic for premature close() calls.