Skip to content
This repository was archived by the owner on Sep 13, 2022. It is now read-only.

LNPoS Service - Cannot connect to LNBits Server #31

Open
mroxso opened this issue Jun 2, 2022 · 3 comments
Open

LNPoS Service - Cannot connect to LNBits Server #31

mroxso opened this issue Jun 2, 2022 · 3 comments

Comments

@mroxso
Copy link

mroxso commented Jun 2, 2022

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
Copy link
Author

mroxso commented Jun 2, 2022

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
Copy link
Author

mroxso commented Jun 2, 2022

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

@arcbtc
Copy link
Owner

arcbtc commented Jun 22, 2022

Weird, did you try another wifi?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants