LNPoS Service - Cannot connect to LNBits Server
mroxso opened this issue · 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).
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?
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
Weird, did you try another wifi?