Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[worker] Document response stream disconnected error #18567

Open
wants to merge 2 commits into
base: production
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/content/docs/workers/observability/errors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ Runtime errors will occur within the runtime, do not throw up an error page, and
| `Memory limit`<br/>`would be exceeded`<br/> `before EOF` | Trying to read a stream or buffer that would take you over the [memory limit](/workers/platform/limits/#memory). |
| `daemonDown` | A temporary problem invoking the Worker. |

### Response Stream Disconnected

A `responseStreamDisconnected` event `outcome` occurs when one end of the connection hangs up during the deferred proxying stage of a Worker request flow. This is regarded as an error for request metrics, and presents in logs as a non-error log entry. Commonly appears for longer lived connections such as websockets.
ToriLindsay marked this conversation as resolved.
Show resolved Hide resolved

## Identify errors: Workers Metrics

To review whether your application is experiencing any downtime or returning any errors:
Expand Down
1 change: 1 addition & 0 deletions src/content/docs/workers/runtime-apis/handlers/tail.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export default {
* `exceededMemory`: The Worker invocation exceeded memory limits.
* `scriptNotFound`: An internal error from difficulty retrieving the Worker script.
* `canceled`: The worker invocation was canceled before it completed. Commonly because the client disconnected before a response could be sent.
* `responseStreamDisconnected`: The response stream was disconnected during deferred proxying. Happens when either the client or server hangs up early.



Expand Down
Loading