Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong balance shown on Albyhub/Umbrel #959

Open
Funman2 opened this issue Jan 8, 2025 · 10 comments
Open

Wrong balance shown on Albyhub/Umbrel #959

Funman2 opened this issue Jan 8, 2025 · 10 comments
Assignees

Comments

@Funman2
Copy link

Funman2 commented Jan 8, 2025

When running the Albyhub app on Umbrel, with my umbrel lightning node as a backend for Albyhub, in Wallet or in AlbyGo it displays the wrong lightning spending balance(about 0.1 btc missing...) Whereas when i use the nwc app and connect to alby extensoin the balance is correct...

@rolznz
Copy link
Contributor

rolznz commented Jan 8, 2025

Please ignore the above comments, they are spam.

@rolznz
Copy link
Contributor

rolznz commented Jan 8, 2025

@Funman2 is it possibly the channel reserves? we do not include the unspendable part within your balance.

@Funman2
Copy link
Author

Funman2 commented Jan 8, 2025

@Funman2 is it possibly the channel reserves? we do not include the unspendable part within your balance.

No, Thunderhub for instance shows about one third more available sats for transacting ( about 1m sats) and only 15000 sats ( in lightning wallet)reserved as not available, not talking about the onchain balance...
Also alby extensoin connected through the NWC app by alby shows the correct available balance, as well as Zeus...

@Funman2
Copy link
Author

Funman2 commented Jan 9, 2025

Checked and tested today with a new seperate docker Installation of Alby hub with latest Master package 1.13.0 ... and connected to my lnd of my umbrel lnd node, had the exact same result: 2m Sats balance shown instead of the correct 3.5m Sats available balance...

@rolznz
Copy link
Contributor

rolznz commented Jan 10, 2025

@Funman2 you can go to settings -> debug tools -> get balances and see if you can find the discrepancy, this would be very helpful.

@Funman2
Copy link
Author

Funman2 commented Jan 11, 2025

under the "get node status" command i got this error message: API Response: {"fileName":"http://192.1.........:...87/assets/index-RpciCtZq.js","lineNumber":116,"columnNumber":14247,"message":"500 rpc error: code = ResourceExhausted desc = grpc: received message larger than max (6399710 vs. 4194304)"}

otherwise, with get balance i get the same wrong spendable output, but with alby NWC app on umbrel, I get the right output ( 3.464.999 spendable)....
API Response: {
"onchain": {
"spendable": 100561,
"total": 100561,
"reserved": 100000,
"pendingBalancesFromChannelClosures": 0,
"pendingBalancesDetails": [],
"internalBalances": {
"balances": {
"total_balance": 100561,
"confirmed_balance": 100561,
"reserved_balance_anchor_chan": 100000,
"account_balance": {
"default": {
"confirmed_balance": 100561
}
}
},
"pending_channels": {}
}
},
"lightning": {
"totalSpendable": 2614616000,
"totalReceivable": 83437169000,
"nextMaxSpendable": 1268808000,
"nextMaxReceivable": 15676059000,
"nextMaxSpendableMPP": 2614616000,
"nextMaxReceivableMPP": 57582444997
}
}

@rolznz
Copy link
Contributor

rolznz commented Jan 12, 2025

@Funman2 it looks like you omitted the individual channel balances in the response, are you able to include those and just hide the counterparty IDs / channel IDs, etc (anything you think is sensitive?).

@rolznz
Copy link
Contributor

rolznz commented Jan 12, 2025

@im-adithya any chance you could look into the issue above with getting the node status? why is the payload so big?

@Funman2
Copy link
Author

Funman2 commented Jan 12, 2025

@Funman2 it looks like you omitted the individual channel balances in the response, are you able to include those and just hide the counterparty IDs / channel IDs, etc (anything you think is sensitive?).

What i posted was the total output of get info command, nothing left out/ommitted...

I can paste the list channels command here if you like, but it has indeed many sensitive info, i don't reall would like to expose...

@rolznz
Copy link
Contributor

rolznz commented Jan 12, 2025

@Funman2 that's ok. We will try to reproduce the issue

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

No branches or pull requests

7 participants
@rolznz @im-adithya @Funman2 and others