Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Channels to online peers becoming inactive. Disconnect/reconnect brings them back online #4714

Closed
mrfelton opened this issue Oct 22, 2020 · 2 comments
Assignees
Labels
bug Unintended code behaviour p2p Code related to the peer-to-peer behaviour server

Comments

@mrfelton
Copy link
Contributor

Background

We have a number of channels that keep flipping to an offline status even though I know for a fact that the peer is online.

For example, I could have 2 channels open to some node with one of them showing as online and the other showing as offline at the same time. The peer clearly can't be both online and offline at the same time. Also, I have channels to the same peer from another node and those channels are also showing as online.

If I issue lncli disconnect and then lncli connect the offline channel will start showing as online again (sometimes just lncli disconnect is enough without the subsequent connect call)

Your environment

  • version of lnd: 0.11.1-beta
  • which operating system (uname -a on *Nix): alpine
  • version of btcd, bitcoind, or other backend: bitcoind
  • any other relevant environment details

Steps to reproduce

Not sure. Seems to happen randomly but relatively frequently (most days)

Expected behaviour

Channel should remain active continuously unless the peer is actually offline.

Actual behaviour

Channel randomly gos into offline state even though the channel peer is online.

@mrfelton mrfelton changed the title Channels to online becoming inactive. Disconnect/reconnect brings them back online Channels to online peers becoming inactive. Disconnect/reconnect brings them back online Oct 22, 2020
@Roasbeef Roasbeef added bug Unintended code behaviour p2p Code related to the peer-to-peer behaviour server labels Oct 22, 2020
@hpbock
Copy link

hpbock commented Oct 26, 2020

The vertical spikes mark the restarts of LND. This Issue seems to have startet on week 42.
grafik

@Roasbeef
Copy link
Member

Closing as IIUC this was resolved as part of the #4724 saga

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unintended code behaviour p2p Code related to the peer-to-peer behaviour server
Projects
None yet
Development

No branches or pull requests

4 participants