Not sure if it's a problem on my end, but I'm getting the following error when trying to attach an invoice key for receiving with lnbits.
0s [lnbits] error failed to create test invoice: Unexpected token < in JSON at position 0
P.S. the admin key for payments seems to work just fine.
On my end, that's what I'm getting in the logs when trying to attach the wallet here.
Aug 15 12:56:34 [hostname] docker-lnbits-start[587959]: 2024-08-15 12:56:34.84 | WARNING | Server error '500 Internal Server Error' for url 'http://[phoenixd-server-url]:9740/createinvoice' Aug 15 12:56:34 [hostname] docker-lnbits-start[587959]: For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500 Aug 15 12:56:34 [hostname] docker-lnbits-start[587959]: 2024-08-15 12:56:34.85 | ERROR | InvoiceError: Unable to connect to http://[phoenixd-server-url]:9740., Status: pending
I'm creating invoices just fine using lnbits, so not sure why phoenixd is complaining.
reply
10 sats \ 1 reply \ @k00b OP 15 Aug
Our test payment might be too small for phoenix.
reply
I'm looking at all of this now. The problem is most of this kind of node middleware barfs on millisats ("oh no one needs those lets just pretend they don't exist") even though the specs support it.
reply