I stopped lnd and then upgraded bitcoind to v18. When finished, after restarting bitcoind, I restarted lnd and got the following error unlocking the wallet:
[lncli] rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: authentication handshake failed: x509: certificate has expired or is not yet valid"
No changes were made to my configuration.
lncli unlock
@tim222tim delete tls.cert and tls.key, restart lnd. It will recreate a new tls pair for you.
That did it. Thanks!
Yeah it's been a year or so since we launched on mainnet, and the default expiration for the original certs created was around that time. There's a PR with a proposed fix (auto regen on restart) that we're considering: https://github.com/lightningnetwork/lnd/pull/3011
Thanks @Roasbeef !
i don't want to open a new thread because i have the same problem.
I updated from lnd 0.8 to 0.8.1 and if I want to get info with "lncli getinfo" I get the same error message.
can i also delete the tls.cert and tls.key to solve the problem?
thank you!
@waffi121 yes, you can try the same.
I ran into this again and resolved the issue by deleting tls.cert and tls.key, then restarting lnd.
Most helpful comment
Yeah it's been a year or so since we launched on mainnet, and the default expiration for the original certs created was around that time. There's a PR with a proposed fix (auto regen on restart) that we're considering: https://github.com/lightningnetwork/lnd/pull/3011