Skip to content

Should OhttpDecapsulation or Hpke Errors be considered fatal #1844

Closed as not planned

Description

@benalleng

At the moment it seems like OhttpDecapsulation errors and Hpke errors are considered fatal but in looking closer at them in #1843 I think that they can be transient but I would like some more brains on this.

Activity

  1. benalleng commented on Aug 25, 2026

    @benalleng
    CollaboratorAuthor

    I have since dropped these changes from the PR as I figure we should answer this question first before making the change

  2. arminsabouri commented on Sep 2, 2026

    @arminsabouri
    Contributor

    At the moment it seems like OhttpDecapsulation errors and Hpke errors are considered fatal but in looking closer at them in #1843 I think that they can be transient but I would like some more brains on this.

    Transient ussually implies you can wait or change some config (relay url for example) and expect a different result. Maybe somethings have change since I last looked at this code but I don't think that applies to either error type.

  3. benalleng commented on Sep 4, 2026

    @benalleng
    CollaboratorAuthor

    I think you are right here, the only other case would be some network error causing the contents being sent incomplete but either way it seems like perhaps the safest option here would be to consider it fatal.

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

Metadata

Metadata

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