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

Connection string format? #302

Open
decentropy opened this issue Feb 8, 2022 · 4 comments
Open

Connection string format? #302

decentropy opened this issue Feb 8, 2022 · 4 comments

Comments

@decentropy
Copy link

decentropy commented Feb 8, 2022

Sorry - this isn't really a bug... maybe just a question.

I can't figure out how to connect Joule to Umbrel. I grabbed from Umbrel the lndconnect REST url, which is like: http://IP:8080?cert=&macaroon=

... but that gives a 'bad request' error. What is the expected URL format?

@wbobeirne
Copy link
Member

Joule doesn't parse LNDConnect URLs, you'll need to split it out into its pieces. The URL should just be the http://[ip]:8080 part, and then you'll want to copy the macaroon hex query param and use that for readonly and admin. Be warned though, using that macaroon for both means that your admin macaroon will be stored unencrypted. I recommend finding a way to get the readonly macaroon out of Umbrel.

Unfortunately I don't have an Umbrel node so I can't give super detailed instructions, sorry!

@wbobeirne
Copy link
Member

Also for what it's worth, I should probably start supporting LNDConenct URLs! I originally did not because they mostly used the gRPC API port, not the HTTP one, so that could be confusing. But it's worth at least trying if someone pastes one in.

@decentropy
Copy link
Author

decentropy commented Feb 9, 2022

Not working with HTTP, because Umbrel sends back "Client sent an HTTP request to an HTTPS server."

While HTTPS://My-IP:8080/v1/getinfo works directly in the browser (after I click advanced->proceed)... but Joule gets stuck there, since there's no valid cert... showing below:

Request failed with the message "Internal Server Error"
If you're sure you've setup your node correctly, try [clicking this link](https://My-IP:8080/v1/getinfo) and making sure it loads correctly. If there are SSL errors, click "advanced" and proceed to accept the certificate.

Not sure what else to try... but If I figure something else out, I'll post back here..

@wbobeirne
Copy link
Member

Did you read those instructions? You can either click thru to the link and override the warning, or if you go to that URL you should be able to download the SSL certificate and add it to your local machine as a trusted cert. Instructions on how to do the latter are dependent on your OS and browser combination.

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

2 participants