lightning-node-connect
lightning-node-connect copied to clipboard
Unable to connect.
Having an issue connecting to my LND Node via LNC. Getting an error that says "session not found failed to connect to the WASM client try reloading the page or Obtaining a new phrase"
Any idea how to troubleshoot/fix this?
Hi @CoderBoogs - did you definitely create a session on the Litd side? (through the Litd UI most likely)
Yes I did on two different nodes same errors
do your Litd node logs say anything of interest at the time when you create the session?
I am unsure how to access the logs .
how are you running your Lit node? As a stand alone or through node packaging software (like Umbrel etc)?
Yea as an app both on umbrel and on nodl
random thought: did you by anychance have a previous session connection before? (ie, one that worked?) and in that case, when you went to start this new connection, did you definitely select the "connect with different paring phrase" option or did you just click on the magic link? If the later, try the former.
If I follow I tried both. Even tried it with a node that I never used LNC with and still got the same error. In the slack channel they suggest I delete my macaroon but I don't know how using umbrel
ok, next step would then be to figure out how to access the logs on your node so that we can make sure that the session is actually being started.
this guide might be useful
After running the logs where should i post the results here?
Up to you. If the logs clearly dont contain private info then feel free to post it here. Otherwise, you can send them to me on the developer slack channel. My username there is elle
You might need to re-generate your lnd macaroons by deleting the admin.macaroon
, readonly.macaroon
and invoice.macaroon
(singular, not "invoices"). They are located in ~/umbrel/app-data/lightning/data/lnd/data/chain/bitcoin/mainnet
for Umbrel.
Then restart lnd
and try again. If that doesn't help, we definitely need logs as @ellemouton mentioned.
I am very new to all this stuff. so do i go to that location and then use linux commands to deleted those files? then restart lnd?
Yes, exactly.
after this latest terminal update i noticed now when i try to run LNC it says a macaroon has not been created yet. I also see in thurnderhub i can bake macaroons. Is it possible i can create a new macaroon in thurnderhub that lightning terminal will find then LNC will work? Also what permissions should i allow this macaroon i bake?
I don't think that will work, since you can't easily tell lightning terminal what macaroon to use. So you deleted the macaroons, restarted lnd, restarte lightning terminal and now get a new error? Can you post the full error (and if possible some logs) here please?
I am sorry I just don’t know how do do all that. I know how to ssh in and know basics linux but that is as far as my knowledge will go
@CoderBoogs , did you do the above steps that you mentioned?
so do i go to that location and then use linux commands to deleted those files? then restart lnd?