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

[Bug]: Error LNURL payment link on creating invoices over API #5898

Open
1 task done
ndeet opened this issue Apr 3, 2024 · 2 comments
Open
1 task done

[Bug]: Error LNURL payment link on creating invoices over API #5898

ndeet opened this issue Apr 3, 2024 · 2 comments
Labels
API Questions and issues related to API Bug Lightning Issues related to Lightning Network
Milestone

Comments

@ndeet
Copy link
Contributor

ndeet commented Apr 3, 2024

What is your BTCPay version?

v1.12.5

How did you deploy BTCPay Server?

Umbrel

What happened?

A user reported that he gets this error when invoices are created through API via WooCommerce:

"Error generating LNURL payment link: serviceUrl must be an onion service OR https based OR on the local network (Parameter 'serviceUrl')

Seems this is related to Umbrel setup and not a general problem as I was not able to reproduce it.

This can be fixed by disabling LNURL in the LN wallet settings.

How did you encounter this bug?

Running on BTCPay on Umbrel and creating an invoice over the API (in this case WooCommerce plugin)

Relevant log output

Error generating LNURL payment link: serviceUrl must be an onion service OR https based OR on the local network (Parameter 'serviceUrl')

What browser do you use?

No response

Additional information

No response

Are you sure this is a bug report?

  • I confirm this is a bug report
@pavlenex pavlenex added this to the 1.13.x milestone Apr 8, 2024
@pavlenex pavlenex added Bug Lightning Issues related to Lightning Network API Questions and issues related to API labels Apr 8, 2024
@pavlenex
Copy link
Contributor

pavlenex commented Apr 8, 2024

I don't quite understand, is this a problem with Umbrel only, do we know how to resolve this?

@ndeet
Copy link
Contributor Author

ndeet commented Apr 10, 2024

To me it looks like the error happens because on Umbrel the setup is missing LNURL support or some endpoint not reachable - nothing we can do there. But we may can do some check if LNURL is available and avoid the error and just silently ignore it to solve he issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Questions and issues related to API Bug Lightning Issues related to Lightning Network
Projects
None yet
Development

No branches or pull requests

2 participants