Skip to content

Self-host: DNS failure in app fetch comes back as empty HTTP 500, not an egress error #127

Backlog

Description

@shuv1337

On self-host workerd, an app fetch to a hostname that fails DNS resolution does not reject. It resolves as an HTTP 500 response with an empty body.

Found while building #126 (network failure reasons for #112/#115/#120). Because the failure arrives as a normal response, the new egress failure classifier never sees it. The agent gets a bare upstream 500 with no reason, instead of a "could not reach host" style error.

Expected: a DNS failure surfaces as an egress failure with a fixed, safe reason (no hostname in the message), the same way connection-reset now does.

Notes:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions