Skip to content

publish hangs to multi-relay flow when one relay doesn't respond #24

Description

@alltheseas

What happened

When one relay in the --relays list is down or slow to respond, the entire upload process hangs with no timeout, no output, and no way to know what's wrong.

If e.g. wss://nos.lol is unresponsive, the process hangs silently. Switching to a i single relay e.g. --relays wss://relay.damus.io alone completes instantly.

Actual: Process hangs forever with no output. User has to guess which relay is the problem by trying them one at a time.

Suggestion

Timeout per relay (e.g. 5-10s), display and/or log which relay failed, continue with the rest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions