v0l / snort

Feature packed nostr web UI, Mirror of https://git.v0l.io/Kieran/snort
https://snort.social
MIT License
315 stars 119 forks source link

LND LNC error: Not a proper lightning payment request #383

Closed aphex3k closed 1 month ago

aphex3k commented 1 year ago

Describe the bug I used LND LNC to connect to my node running lnd v0.15 and I get an error after correctly pairing and entering the wallet password.

Screenshots

image

Desktop (please complete the following information):

Additional context I generated the pairing phrase in lightning terminal and it seems to pair correctly to the node as it shows my node alias correctly.

v0l commented 1 year ago

I added more logging can you check again?

aphex3k commented 1 year ago

I added more logging can you check again?

I'm using ghcr.io/v0l/snort:latest but it hasn't updated yet...

v0l commented 1 year ago

I added more logging can you check again?

I'm using ghcr.io/v0l/snort:latest but it hasn't updated yet...

Yea builds take about 30mins for docker (thanks to ARM64)

aphex3k commented 1 year ago

Pasting the log as (redacted) file. It looks like it fetches the last 10 payments but fails to parse the information it receives back?

wallet-1677797240316.log

aphex3k commented 1 year ago

Before the update the UI would flash after entering the password to a wallet screen for a brief second before showing an error screen.

Pasting the log as (redacted) file. It looks like it fetches the last 10 payments but fails to parse the information it receives back?

wallet-1677797240316.log

sorry, the above is the old log...

This one is the log from the updated version: wallet-1677797936857.log

image

(Sorry but Windows 11 mangles the colors on my HDR screen when snapping pictures in the web browser some times)

aphex3k commented 1 year ago

image image When I attempt zapping a post I receive the following error. Not sure if this really provides any additional information.

v0l commented 1 year ago

I dont see the logs that i added did you remove them?

v0l commented 1 year ago

Regarding the zapping issue, did you first unlock the wallet? You need to go to the wallet page and enter password

aphex3k commented 1 year ago

wallet-1677860772690.log

Here is a log file that was started before entering the wallet password until after the error is displayed.

I did not remove any lines from the log files, I do however replace mentions of hosts and keys with <redacted>.

aphex3k commented 1 year ago

Regarding the zapping issue, did you first unlock the wallet? You need to go to the wallet page and enter password

Thanks for the remark. Unlocking the wallet first and zapping second works as expected!

v0l commented 1 year ago

Ok so you can make payments but not view history, did you generate a session with read & activity permission?

aphex3k commented 1 year ago

Ok so you can make payments but not view history, did you generate a session with read & activity permission?

I can double-check. I used the default settings but they might not be inclusive on the permissions...

aphex3k commented 1 year ago

Ok so you can make payments but not view history, did you generate a session with read & activity permission?

I can double-check. I used the default settings but they might not be inclusive on the permissions...

I created and connected to a new session that specifically mentions ADMIN permissions and I'm still seeing the same error.