LNPoS icon indicating copy to clipboard operation
LNPoS copied to clipboard

LNPoS Service - Cannot connect to LNBits Server

Open mroxso opened this issue 2 years ago • 3 comments

I tested this project on a TDisplay and everything works fine except the LNPoS Service. (LNURLPoS and LNATM works fine) My WiFi is set up correctly.

I debugged it with a connected serial console:

connecting to LNbits server legend.lnbits.com 
10:12:47.240 -> failed to connect to LNbits server legend.lnbits.com 
10:12:50.264 -> menuLoop

I don't know why this happens (yet).

mroxso avatar Jun 02 '22 08:06 mroxso

When I try to call the legend.lnbits.com API with curl, the response looks good.

Command: curl -X POST https://legend.lnbits.com/api/v1/conversion -d '{"amount": 1, "from": "EUR"}' -H "X-Api-Key: XXXX" -H "Content-type: application/json"

Response: {"EUR":1.0,"sats":3566,"BTC":3.566e-05}%

Maybe it's a problem with a used library or how it's configured?

mroxso avatar Jun 02 '22 08:06 mroxso

When booting up the device while looking at the debugging console there shows up an error: 10:35:57.025 -> E (3650) wifi:AP has neither DSSS parameter nor HT Information, drop it

mroxso avatar Jun 02 '22 08:06 mroxso

Weird, did you try another wifi?

arcbtc avatar Jun 22 '22 08:06 arcbtc