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

Unable to connect. #68

Open
CoderBoogs opened this issue Feb 15, 2023 · 19 comments
Open

Unable to connect. #68

CoderBoogs opened this issue Feb 15, 2023 · 19 comments

Comments

@CoderBoogs
Copy link

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?

@ellemouton
Copy link
Member

Hi @CoderBoogs - did you definitely create a session on the Litd side? (through the Litd UI most likely)

@CoderBoogs
Copy link
Author

Yes I did on two different nodes same errors

@ellemouton
Copy link
Member

do your Litd node logs say anything of interest at the time when you create the session?

@CoderBoogs
Copy link
Author

I am unsure how to access the logs .

@ellemouton
Copy link
Member

how are you running your Lit node? As a stand alone or through node packaging software (like Umbrel etc)?

@CoderBoogs
Copy link
Author

Yea as an app both on umbrel and on nodl

@ellemouton
Copy link
Member

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.

@CoderBoogs
Copy link
Author

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

@ellemouton
Copy link
Member

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.

@ellemouton
Copy link
Member

this guide might be useful

@CoderBoogs
Copy link
Author

After running the logs where should i post the results here?

@ellemouton
Copy link
Member

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

@guggero
Copy link
Member

guggero commented Feb 27, 2023

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.

@CoderBoogs
Copy link
Author

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?

@guggero
Copy link
Member

guggero commented Feb 28, 2023

Yes, exactly.

@CoderBoogs
Copy link
Author

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?

@guggero
Copy link
Member

guggero commented Mar 2, 2023

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?

@CoderBoogs
Copy link
Author

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

@ellemouton
Copy link
Member

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants