Skip to content

Audit network disruption recovery experience #1007

Open

Description

@DanGould

Network disruption results in a brittle experience, but it doesn't have to. There can be sufficient backup directory, ohttp-relay servers so that client code can fall back seamlessly.

Ensure that client code is working and, ideally, tested in our reference. We must demonstrate for downstream implementations how to ship a delightful experience.

Tangential to this issue [#1005, #968], I also wonder if implementers could parallelize requests to multiple ohttp relays instead of trying them sequentially, and process whatever response returns first.

Originally posted by @spacebear21 in #1005 (comment)

if the [http] client should later be cached or re-used so that it can get a performance edge or if that only makes sense for custom clients and not the one we ship with io

Originally posted by @DanGould in #1005 (comment)

Activity

  1. 0xZaddyy commented on Jan 22, 2026

    @0xZaddyy
    Contributor

    @DanGould i'm picking this up.. :)

  2. zealsham commented on Jan 23, 2026

    @zealsham
    Collaborator

    Network disruption results in a brittle experience, but it doesn't have to. There can be sufficient backup directory, ohttp-relay servers so that client code can fall back seamlessly.

    @DanGould a little confused on how this is supposed to work for the directory, for the relay part, it is pretty straight forward as implemented by #1294 , however for the directory how does this work. The directory of choice is set by the receiver during the generation of the payjoin url and except will allow the payjoin url to have mutiple directories in the payjoin-url i don't see how the fallback will work

  3. DanGould commented on Jan 23, 2026

    @DanGould
    MemberAuthor

    The receiver may be able to choose from multiple directories. The sender has no such luck. correct.

  4. added this to the payjoin-cli-1.0 milestone on Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions