BTCPayServer attempting to connect to Eclair using TLS
See original GitHub issueDescribe the bug
When creating an invoice using the /invoices/create
page it’s no longer possible to use BTC
currency. I remember this being possible in the past, so I’m filling this as a bug.
To Reproduce the bug Steps to reproduce the reported bug:
- Go to “Invoices” page
- Click on “Create an invoice”
- Fill amount (e.g. 0.0001, doesn’t matter)
- Enter “BTC” (without quotes) into the “Currency” field
- Click Create
Expected behavior
An invoice is created with specified amount in BTC.
(Ideally SAT would be possible too, but that’d be a feature request, not a bug.)
Screenshots
Your BTCPay Environment (please complete the following information):
- BTCPay Server Version: 1.3.1
- Deployment Method: Debian package
- Browser: Firefox ESR (probably irrelevant)
Logs (if applicable)
2021-11-02 17:30:04.436 +01:00 [ERR] Invoice creation failed due to invalid currency BTC
BTCPayServer.BitpayHttpException: 11/02/2021 16:30:04:Info Creation of invoice starting
at BTCPayServer.Controllers.InvoiceController.CreateInvoiceCoreRaw(InvoiceEntity entity, StoreData store, IPaymentFilter invoicePaymentMethodFilter, String[] additionalSearchTerms, CancellationToken cancellationToken)
at BTCPayServer.Controllers.InvoiceController.CreateInvoiceCoreRaw(BitpayCreateInvoiceRequest invoice, StoreData store, String serverUrl, List`1 additionalTags, CancellationToken cancellationToken) in /home/user/cadr-build/btcpayserver-1.3.1/BTCPayServer/Controllers/InvoiceController.cs:line 156
at BTCPayServer.Controllers.InvoiceController.CreateInvoiceCore(BitpayCreateInvoiceRequest invoice, StoreData store, String serverUrl, List`1 additionalTags, CancellationToken cancellationToken) in /home/user/cadr-build/btcpayserver-1.3.1/BTCPayServer/Controllers/InvoiceController.cs:line 82
at BTCPayServer.Controllers.InvoiceController.CreateInvoice(CreateInvoiceModel model, CancellationToken cancellationToken) in /home/user/cadr-build/btcpayserver-1.3.1/BTCPayServer/Controllers/InvoiceController.UI.cs:line 868
Setup Parameters
N/A
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
Lightning Network FAQ
Lightning Network FAQ. This document clarifies some of the most common questions and issues users face with the Lightning Network in BTCPay.
Read more >Eclair test connection fails · Issue #2036 · btcpayserver ...
Go to Store settings; Click on Modify Lightning; Click Use the internal lightning node of this BTCPay Server instance by clicking here. Click ......
Read more >How to Accept Bitcoin and Lightning Network Payments
This article will go over how to connect your Lightning Node to your BTCPayServer instance, how to create a sales interface for a...
Read more >BTCPayWall (en) - Ereignishorizont
The BTCPayWall is a WordPress plugin that you can integrate into your website. With it, anyone can monetize their website quite easily.
Read more >Errors when applications try to connect to SQL Server in ...
Applications experience forcibly closed TLS connection errors when connecting SQL Servers in Windows · In this article · Symptoms · Cause.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just realized I forgot to switch store in the latter tests - after 1.3.2 and the previous issue magically fixed itself. Closing now and if it ever repeats I’ll probably open a new one. Sorry for the noise.
It seems that in #3065 we’ll be able to have better error messages so we can see what an underlaying error of this issue may be. Let’s wait for 1.3.2 and fix this afterwards.