Skip to content

Do not continue reconnecting if the last failure was permanent #871

Closed

Description

@laanwj

I get the following, repeatedly, in the log of my mainnet lightning node:

lightningd(23449): lightning_channeld(<peerid>): STATUS_FAIL_PEER_IO: bad reestablish revocation_number: 316 vs 366
lightningd(23449): peer <peerid>: Peer transient failure in CHANNELD_NORMAL: Owning subdaemon lightning_channeld died (33792)

This happens after the node aborted with a repeated "missing inputs" error (I don't have the exact log of that anymore, sorry.) It looks like that caused my node to be out of whack with another peer, but that doesn't stop it from trying.

Activity

  1. cdecker commented on Feb 1, 2018

    @cdecker
    Member

    Yeah, we need to stop reconnecting if we terminated with a permanent failure. That particular one indicates that the two endpoints disagree on the version of the state.

  2. changed the title [-]Repeated "bad reestablish revocation_number: 316 vs 366" errors in log[/-] [+]Do not continue reconnecting if the last failure was permanent[/+] on Feb 1, 2018
  3. self-assigned this
    on Feb 1, 2018
  4. added
    Type::Bug
    on Feb 1, 2018
  5. cdecker commented on Feb 1, 2018

    @cdecker
    Member

    I took the liberty of making this a broader issue that we can use to track progress.

  6. ZmnSCPxj commented on May 23, 2019

    @ZmnSCPxj
    Contributor

    Is this still an issue?

  7. laanwj commented on May 23, 2019

    @laanwj
    ContributorAuthor

    I don't have any way to test, sorry. From my side it's fine to close this issue (but maybe someone else knows better).

  8. ZmnSCPxj commented on May 23, 2019

    @ZmnSCPxj
    Contributor

    @cdecker ? Is this "broader issue" still existing?

  9. cdecker commented on May 23, 2019

    @cdecker
    Member

    I think we can close, it got better once we had the backoff mechanism and then I think we fixed it completely by transitioning the channel into a failing state and disabling reconnection completely

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

Metadata

Metadata

Assignees

Labels

Type::Buggossip

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions