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

crash on startup when no connection is available (mobile) #4016

Closed
nicolasburtey opened this issue Feb 18, 2020 · 2 comments · Fixed by lightninglabs/neutrino#208
Closed
Assignees
Labels
bug Unintended code behaviour mobile neutrino Lightweight neutrino backend-type v0.12
Milestone

Comments

@nicolasburtey
Copy link

Background

In plane mode, lnd is giving the following error when starting (using neutrino):
Unable to initialize neutrino backend: unable to create neutrino light client: lookup btcd-testnet.lightning.computer: no such host

I can reproduce with the mobile lightning labs app: just start in plane mode and the app will crash after loading up for ~1 sec.

I'm not sure how to recover from this error.

Your environment

  • version of lnd : 0.9.0
  • which operating system (uname -a on *Nix): iOS. build from react native
  • version of btcd, bitcoind, or other backend: neutrino
@halseth
Copy link
Contributor

halseth commented Jul 17, 2020

Probably makes the most sense to fix neutrino side? By having it retry until peers are available.

@halseth
Copy link
Contributor

halseth commented Sep 24, 2020

@nicolasburtey Created lightninglabs/neutrino#208 to fix this. Please report back if it fixes the problem for you!

Roasbeef added a commit to Roasbeef/lnd that referenced this issue Oct 1, 2020
Includes a fix for lightningnetwork#4016 in addition to some other bug fixes and
enhancements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unintended code behaviour mobile neutrino Lightweight neutrino backend-type v0.12
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants