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

[Overview] xud not connected to lnds, raiden #38

Closed
kilrau opened this issue Jun 13, 2019 · 8 comments
Closed

[Overview] xud not connected to lnds, raiden #38

kilrau opened this issue Jun 13, 2019 · 8 comments
Assignees
Labels
bug Something isn't working P1 top priority

Comments

@kilrau
Copy link
Contributor

kilrau commented Jun 13, 2019

Status Overview:

@kilrau kilrau added the P1 top priority label Jun 13, 2019
@kilrau kilrau added the bug Something isn't working label Jun 13, 2019
@kilrau
Copy link
Contributor Author

kilrau commented Jun 13, 2019

> lndbtc-lncli getinfo
{
	"version": "0.6.1-beta commit=v0.6.1-beta-rc2",
	"identity_pubkey": "03aa43ec9de129585386f6b06bb2a0843647a8d7db352c58ed0ad5de7d208761d4",
	"alias": "lndbtc",
	"num_pending_channels": 0,
	"num_active_channels": 0,
	"num_inactive_channels": 0,
	"num_peers": 0,
	"block_height": 1543044,
	"block_hash": "0000000000000394838161178e48c9d87c46fe80ce76e803b9de817a59b29ca0",
	"best_header_timestamp": 1560424111,
	"synced_to_chain": true,
	"testnet": true,
	"chains": [
		{
			"chain": "bitcoin",
			"network": "testnet"
		}
	],
	"uris": null

but still

xud_1        | 13/06/2019 11:15:54.744 [RAIDEN] error: Error: connect ECONNREFUSED 172.22.0.4:5001
xud_1        |     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1097:14)
xud_1        | 13/06/2019 11:15:54.744 [RAIDEN] error: could not verify connection to raiden at raiden:5001, retrying in 5000 ms
xud_1        | 13/06/2019 11:15:54.745 [LND] info: LndClient status: Disconnected
xud_1        | 13/06/2019 11:15:54.745 [LND] error: could not verify connection to lnd at lndbtc:10009, error: {"code":12,"metadata":{"_internal_repr":{}},"details":"unknown service lnrpc.Lightning"},
xud_1        |           retrying in 5000 ms
xud_1        | 13/06/2019 11:15:54.745 [LND] info: LndClient status: Disconnected
xud_1        | 13/06/2019 11:15:54.745 [LND] error: could not verify connection to lnd at lndltc:10009, error: {"code":12,"metadata":{"_internal_repr":{}},"details":"unknown service lnrpc.Lightning"},
xud_1        |           retrying in 5000 ms

@kilrau
Copy link
Contributor Author

kilrau commented Jun 13, 2019

As just discussed on the call:
P0: figure out why the grpc connection to the lnd's is not working
P1: figure out why raiden seems not to be listening on 5001

@reliveyy
Copy link
Collaborator

reliveyy commented Jun 13, 2019

I find the reason of lnd not available problem. It's because the macaroon is not available somehow. So this is the reason I always see "Cannot read property 'blockheight' of undefined" like ExchangeUnion/xud#1011 @kilrau

@kilrau
Copy link
Contributor Author

kilrau commented Jun 13, 2019

macaroons get created automatically on default by lnd. Please double check you didn't switch no-macaroons=true in lnd.conf

@kilrau
Copy link
Contributor Author

kilrau commented Jun 14, 2019

Update on what's happening: setting up ssh & ssh port forwarding between xud and lndbtc to simulate lndbtc running locally in the xud container. Like this we can narrow down the problem.

E.g. the generated macaroons are only good for local access

@kilrau
Copy link
Contributor Author

kilrau commented Jun 14, 2019

TBD: how to move automatically generated macaroon file from the lnd container into the xud container

@kilrau
Copy link
Contributor Author

kilrau commented Jun 16, 2019

update: lnd's working now by setting host in xud.conf to

[lnd.BTC]
disable = false
host = "lndbtc"

and

[lnd.LTC]
disable = false
host = "lndltc"

@kilrau kilrau changed the title xud not connected to lnds, raiden [Overview] xud not connected to lnds, raiden Jun 17, 2019
@kilrau
Copy link
Contributor Author

kilrau commented Jun 21, 2019

closed by e2520dc

@kilrau kilrau closed this as completed Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 top priority
Projects
None yet
Development

No branches or pull requests

2 participants