lightninglabs / lightning-app

An easy-to-use cross-platform Lightning wallet
GNU General Public License v3.0
899 stars 173 forks source link

App not working with testnet #1333

Closed mullojo closed 4 years ago

mullojo commented 4 years ago

Description

Lighting Labs Desktop App (Mac OSX) not working with testnet

Steps to reproduce the behavior

The proper Staring App via opt into testent:

./dist/mac/Lightning.app/Contents/MacOS/Lightning --bitcoin.testnet --bitcoin.node=neutrino --neutrino.addpeer=btcd-testnet.lightning.computer --neutrino.feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json

Expected behavior

App launches without any errors and connects to testnet.

Actual behavior

Errors prevent the app from opening to testnet:

Checking for update
[20:01:00.754] [info] Using lnd in path /Applications/Lightning.app/Contents/Resources/assets/bin/darwin/lnd
[20:01:01.023] [info] lnd: 2020-02-26 20:01:00.959 [WRN] LTND: open /Users/username/Library/Application Support/lightning-app/lnd/lnd.conf: no such file or directory
2020-02-26 20:01:00.959 [INF] LTND: Version: 0.8.0-beta commit=v0.8.0-beta, build=production, logging=default
2020-02-26 20:01:00.959 [INF] LTND: Active chain: Bitcoin (network=testnet)

[20:01:01.373] [info] Loaded initial state
[20:01:01.473] [info] lnd: 2020-02-26 20:01:01.473 [INF] CHDB: Checking for schema update: latest_version=11, db_version=11

Update for version 0.5.9-alpha is not available (latest version: 0.5.9-alpha, downgrade is disallowed).
[20:01:05.743] [info] lnd: 2020-02-26 20:01:05.743 [ERR] LTND: Unable to initialize neutrino backend: unable to create neutrino light client: EOF

[20:01:05.744] [info] lnd: 2020-02-26 20:01:05.743 [INF] LTND: Shutdown complete

[20:01:05.744] [error] lnd Error: Unable to initialize neutrino backend: unable to create neutrino light client: EOF

Is this app still working for others on the testnet?

mullojo commented 4 years ago

I was able to revolve my issue by deleting the files where my testnet wallet was stored. On a Mac (OSX) the files are stored here:

OSX: ~/Library/Application Support/lightning-app

After deleting this directory and re-installing the .dmg file to Applications, I was able to create a new wallet on the testnet and fund the new wallet with testnet BTC.