Skip to content

Starting environment fails with "wait for lndltc to be ready" when xud is lockedΒ #779

@kilrau

Description

@kilrau

Describe the bug
Can't enter environment when xud is locked, lnd was restarted and locked too:

Please choose the network: 3
Pulling image exchangeunion/utils:20.11.02
πŸš€ Launching mainnet environment
🌍 Checking for updates...
- Image exchangeunion/lndbtc:0.11.1-beta: pull
- Container mainnet_lndbtc_1: create
A new version is available. Would you like to upgrade (Warning: this may restart your environment and cancel all open orders)? [Y/n] 
Pulling exchangeunion/lndbtc:0.11.1-beta...
cbdbe7a5bc2a: Already exists
73b0c4c3aade: Pull complete
e77afe086a99: Pull complete
883038903d7a: Pull complete
cd4413c03736: Pull complete
5c5bdf4e8f49: Pull complete
d7d7d1f568a4: Pull complete
de498de17a72: Pull complete
d07569f495ac: Pull complete
Creating mainnet_lndbtc_1...

πŸƒ Warming up...

Failed to wait for lndltc to be ready. For more details, see /media/SSD/xud-docker/mainnet/logs/mainnet.log

xud logs:

11/11/2020 11:26:02.114 [RPC] error: call /xudrpc.Xud/GetBalance errored with code 12: xud is locked
11/11/2020 11:26:02.116 [RPC] error: call /xudrpc.Xud/TradingLimits errored with code 12: xud is locked
11/11/2020 11:26:02.117 [RPC] error: call /xudrpc.Xud/SubscribeSwaps errored with code 12: xud is locked
11/11/2020 11:26:05.372 [LND-BTC] error: could not verify connection at lndbtc:10009, error: {"code":14,"metadata":{"_internal_repr":{},"flags":0},"details":"failed to connect to all addresses"}, retrying in 5000 ms
11/11/2020 11:26:05.379 [LND-LTC] error: could not verify connection at lndltc:10009, error: {"code":14,"metadata":{"_internal_repr":{},"flags":0},"details":"failed to connect to all addresses"}, retrying in 5000 ms

lndbtc logs:

2020-11-11 13:02:58.285 [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.

Expected behavior
xud unlock prompt to come up and let me enter xud ctl.

Metadata

Metadata

Assignees

Labels

P2mid prioritybugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions