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

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

Open
kilrau opened this issue Nov 11, 2020 · 3 comments
Assignees
Labels
bug Something isn't working P2 mid priority

Comments

@kilrau
Copy link
Contributor

kilrau commented Nov 11, 2020

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.

@kilrau kilrau added bug Something isn't working P2 mid priority labels Nov 11, 2020
@kilrau kilrau changed the title Starting environment fails "wait for lndltc to be ready" when xud is locked Starting environment fails with "wait for lndltc to be ready" when xud is locked Nov 11, 2020
@sangaman
Copy link
Contributor

I'm getting this same issue on master when trying to start up an xud-docker environment from scratch using master - it's preventing me from using xud-docker. Any suggestions on a workaround until this is fixed?

@kilrau
Copy link
Contributor Author

kilrau commented Nov 26, 2020

docker exec -it mainnet_xud_1 xucli unlock

@sangaman
Copy link
Contributor

docker exec -it mainnet_xud_1 xucli unlock

Works as advertised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2 mid priority
Projects
None yet
Development

No branches or pull requests

3 participants