lnd: Trying to remove tower from client causes rpc error: code = Unknown desc = tower has unacked updates

Background

Trying to remove a tower wtclient but it gives me an issue

Your environment

  • version of lnd : lnd version 0.10.99-beta commit=clock/v1.0.0-106-gc1ef5bb908606343d2636c8cd345169e064bdc91
  • which operating system (uname -a on *Nix) : ubuntu (in container)
  • version of btcd, bitcoind, or other backend bitcoins 0.19.1
  • any other relevant environment details

Steps to reproduce

I have a wtclient setup to the wrong address, in fact in the logs it is telling me it can’t dial. I want to remove it but it doesn’t let me

bash-5.0# lncli --macaroonpath /lnd/chain/bitcoin/testnet/admin.macaroon   --tlscertpath /shared/tls.cert wtclient remove 038f7f36689b9d7274702f5bce3a5d8bc4596d4894d9985c5203604fff4daef425
[lncli] rpc error: code = Unknown desc = tower has unacked updates

this is what the towers command retuns

   "towers": [
        {
            "pubkey": "038f7f36689b9d7274702f5bce3a5d8bc4596d4894d9985c5203604fff4daef425",
            "addresses": [
                "157.245.68.69:9911"
            ],
            "active_session_candidate": true,
            "num_sessions": 1,
            "sessions": [
            ]
        },

Expected behaviour

Allow me to remove a tower or allow some way to FORCE removal

Actual behaviour

It won’t let me, please see the issue above.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22 (14 by maintainers)

Most upvoted comments

The root issue hasn’t, which is replaying any pending backups to new towers. That would make the removal of a stale tower possible.