EnduraUmb-I asked over 1 year ago

How to remove a watchtower

Hi
on https://lightningnetwork.plus/watchtower a new watchtower is mentioned and the old one to be removed.
(" Our old watchtower with pubkey 0301135932e89600b3582513c648d46213dc425c7666e3380faa7dbb51f7e6a3d6 is being retired. If you're using it currently, please remove it from your node and migrate to the new one described below. ")
Tried it using
lncli wtclient remove 0301135932e89600b3582513c648d46213dc425c7666e3380faa7dbb51f7e6a3d6

then getting
[lncli] rpc error: code = Unknown desc = removing towers is disallowed while a new session negotiation is in progress

Tons of article how to add but did not find one how to remove properly hopefully someone can help e.g. stop sessions....

7 Comments

EnduraUmb-I wrote over 1 year ago

OK then I will retry after SW updates/reboot maybe it will help.


LN+

LN+ Admin wrote over 1 year ago

I think you need to add a new one before removing the old one. I think this is an existing LND bug. But it's been around for quite some time. I thought it's already been fixed honestly.


EnduraUmb-I wrote over 1 year ago

second one was already up, so does not help. then my next question would be does it harm to have the old and new one?


LN+

LN+ Admin wrote over 1 year ago

It doesn’t harm. But it would be best to remove. Don’t give up. 


Lightning Redirect wrote over 1 year ago

Hello, I'm a non-technical noob trying to get a watch tower set up for my lightning node, but having issues getting a watchtower client set up. When I use the command "$ lncli wtclient towers" I see that the active session candidate is false and number of sessions is 0.  I want to remove all the watchtowers and retrying from a clean set up, but I am unable to remove the watchtowers. Any help would be appreciated!

admin@myNode:~ $ lncli wtclient towers
{
    "towers": [
        {
            "pubkey": "02af24d7295ebd2c48ec8ad05236c602ca4712793b3dc4418decb802d41b5ce450",
            "addresses": [
                "6kvvj7srf2lrbqmscfn4acncecfnuyz62dghs25rdu4b3sighdvgn6id.onion:9911"
            ],
            "active_session_candidate": false,
            "num_sessions": 0,
            "sessions": [
            ]
        } 

admin@myNode:~ $ for i in $(lncli wtclient towers | grep false -B 4 | grep pubkey | awk '{print $2}' | cut -d'"' -f2); do lncli wtclient remove $i; done
[lncli] rpc error: code = Unknown desc = removing towers is disallowed while a new session negotiation is in progress


LN+

LN+ Admin wrote over 1 year ago

As far as I know there is a bug in LND. You have to add a watchtower so you can remove another one.


Lightning Redirect wrote over 1 year ago

I'm unable to get any watch tower to connect... 
admin@myNode:~ $ lncli wtclient towers
{
    "towers": [
        {
            "pubkey": "02af24d7295ebd2c48ec8ad05236c602ca4712793b3dc4418decb802d41b5ce450",
            "addresses": [
                "6kvvj7srf2lrbqmscfn4acncecfnuyz62dghs25rdu4b3sighdvgn6id.onion:9911"
            ],
            "active_session_candidate": false,
            "num_sessions": 0,
            "sessions": [
            ]
        },
        {
            "pubkey": "029913ab77909b8e322e72a2d2725348d527c391e6f3a3376411ff562d4bf34c45",
            "addresses": [
                "eft6b5ulv4zh2qi3crd7fyxb3x7xa374ohkmhcx75i73s3hrfoj37tqd.onion:9735"
            ],
            "active_session_candidate": false,
            "num_sessions": 0,
            "sessions": [
            ]
        },
        {
            "pubkey": "025d21fc580d854052e7087670ac85283dd10db7b273fc697827520a34360279db",
            "addresses": [
                "looplnk2vszfniwkiqi66pq5tpkuslzobpo3x6jkpgjzm4jbq7i6f5qd.onion:9911"
            ],
            "active_session_candidate": false,
            "num_sessions": 0,
            "sessions": [
            ]
        },
        {
            "pubkey": "037b41f25c467d7d45a1242cb3926ba049cb2624ef0e3a47437f8f977bae2fca8c",
            "addresses": [
                "wxlxqbdxky755yegdver4xpad44ko6h2hbiun6jjtwhkydgxsewbqfid.onion:9911"
            ],
            "active_session_candidate": false,
            "num_sessions": 0,
            "sessions": [
            ]
        },
        {
            "pubkey": "023bad37e5795654cecc69b43599da8bd5789ac633c098253f60494bde602b60bf",
            "addresses": [
                "iiu4epqzm6cydqhezueenccjlyzrqeruntlzbx47mlmdgfwgtrll66qd.onion:9911"
            ],
            "active_session_candidate": false,
            "num_sessions": 0,
            "sessions": [
            ]
        },
        {
            "pubkey": "03644c350ce2bff6334ef513b2797619fb1c16edecd8011213b26168f522758d28",
            "addresses": [
                "aroxsistvam7yokwok66ptq3wiitov3ktxhhu4txsvh44l3hc4e4rpid.onion:9911"
            ],
            "active_session_candidate": false,
            "num_sessions": 0,
            "sessions": [
            ]
        },
        {
            "pubkey": "0274a6c5e936451bfd66da421941fe933edc95de94b36aec2f7b07ad9055fbe9e6",
            "addresses": [
                "jtnyj5eqenu4427zzooibhx37vblmb5basurl5uod7jn5sbmbzq6isqd.onion:9911"
            ],
            "active_session_candidate": false,
            "num_sessions": 0,
            "sessions": [
            ]
        }
    ]
}

Please login to post comments.