1001
WebSocket

1001 Going Away

An endpoint is going away, such as a server shutting down or a browser navigating away from the page. The connection must be closed.

Khi bạn thấy mã này

The server is shutting down for maintenance, or the user navigated away from the page or closed the browser tab while a WebSocket was open.

Cách khắc phục

Implement automatic reconnection logic with exponential backoff in your client. If the server is restarting, the client should retry after a short delay.

So sánh với

Hướng dẫn

Tình huống gỡ lỗi

Đặc tả

Hướng dẫn quyết định

Thuật ngữ