lightningnetwork / lnd

Lightning Network Daemon ⚡️
MIT License
7.73k stars 2.09k forks source link

unable to create chain control: status code: 401, response: "" Litecoin mainnet #1487

Closed bruceleeroy18 closed 6 years ago

bruceleeroy18 commented 6 years ago

Background

Attempting to run a lightning node on litecoin mainnet. (https://medium.com/@jason.hcwong/litecoin-lightning-howto-d6f8e115949c) All installation has gone smoothly. Once I unlock wallet the above error message appears.

Your environment

V. 04 LND Ubuntu mate 18.04 32 bit litecoind v0.16.0

litecoin.conf txindex=1 server=1 daemon=1 debug=1 discardfee=0.00000001 mintxfee=0.00000001 minrelaytxfee=0.00000001 rpcuser=xxxxxx rpcpassword=xxxxx zmqpubrawblock=tcp://127.0.0.1:28332 zmqpubrawtx=tcp://127.0.0.1:28332

lnd.conf litecoin.rpcuser=xxxx litecoin.rpcpass=xxxx

Steps to reproduce

lnd --litecoin.active --litecoin.mainnet --debuglevel=debug --litecoin.node=litecoind --litecoind.rpcuser=xxxxxxxxx --litecoind.rpcpass=xxxxxxxx --litecoind.zmqpath=tcp://127.0.0.1:28332 --externalip=192.168.2.1 --alias=xxxxxxxx_LTC 2018-06-30 21:36:42.722 [INF] LTND: Version 0.4.2-beta commit=9205720bea931d73e55a886f94d21a759180ff2b 2018-06-30 21:36:42.723 [INF] LTND: Active chain: Litecoin (network=mainnet) 2018-06-30 21:36:42.727 [INF] CHDB: Checking for schema update: latest_version=1, db_version=1 2018-06-30 21:36:42.734 [INF] RPCS: password RPC server listening on 127.0.0.1:10009 2018-06-30 21:36:42.735 [INF] RPCS: password gRPC proxy started at 127.0.0.1:8080 2018-06-30 21:36:42.735 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it. 2018-06-30 21:37:04.356 [INF] LNWL: Opened wallet 2018-06-30 21:37:04.930 [INF] LTND: Primary chain is set to: litecoin 2018-06-30 21:37:04.931 [INF] LTND: Initializing litecoind backed fee estimator unable to create chain control: status code: 401, response: "" 2018-06-30 21:37:05.186 [INF] LTND: Shutdown complete status code: 401, response: ""

Expected behaviour

I was expecting the node to start syncing with the network.

Actual behaviour

LND closes.

bruceleeroy18 commented 6 years ago

All is functioning after expected after reinstalling litecoind.