Skip to content

Show errors instantly #4626

@kilrau

Description

@kilrau

Intro

E.g. payment calls hanging for several minutes, before erroring in "Internal server error". I have experienced this myself and I believe @offerm brought it up before.

Only errors that are thrown instantly are on initial validation (e.g. insufficient balance). Everything that passes initial validation is not instant. I understand this is not an easy problem to solve, because feedback from failures on the route if someone on the route is not responsive only return after lock expirmes. Consider failing locked transfers earlier (timeout), consider reporting back on the rest of the fucntioning route.

Consider moving away from active "refund payments" as way to notify about a failed route" to cancel locked payments and notify via p2p messages.

PFS should improve (due to higher routing success), but definitely will not solve this.

Problem Definition

Above.

System Description

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions