lightninglabs / lndmon

🔎lndmon: A drop-in monitoring solution for your lnd node using Prometheus+Grafana
MIT License
149 stars 47 forks source link

Lndmon exiting with error: WalletCollector ListUnspent failed with: invalid utxo address type 4 #87

Closed kiwiidb closed 1 year ago

kiwiidb commented 1 year ago

After upgrading to LND 0.15.1, lndmon crashes with this error.

2022-09-11 08:33:29.979 [INF] LNDMON: Starting Prometheus exporter...
2022-09-11 08:33:29.980 [INF] HTLC: Starting Htlc Monitor
2022-09-11 08:33:29.980 [INF] LNDMON: Prometheus active!
Lndmon exiting with error: WalletCollector ListUnspent failed with: invalid utxo address type 4
2022/09/11 08:33:34 Stopping Prometheus Exporter
2022-09-11 08:33:34.429 [INF] HTLC: Stopping Htlc Monitor
WalletCollector ListUnspent failed with: invalid utxo address type 4
kiwiidb commented 1 year ago

I suspect this will probably be solved by using a release with the most up-to-dat LND dependencies, I see there was a commit last month, will try and build from master to see if that does the trick.

guggero commented 1 year ago

I think all you need to do is bump lndclient to v0.15.0-15.

Roasbeef commented 1 year ago

Tried bumping, and it didn't resolve the issue, investigating further.

Roasbeef commented 1 year ago

AFAICT, lndclient needs to be updated too: https://github.com/lightninglabs/lndclient/blob/lnd-16-0/walletkit_client.go#L225-L238

EDIT: or not...