Why did this server migration fail? #9075
-
Quting from a previous answer at #9073 (comment)
OK. Keys and signatures have been exchanged and verified. A home modem reboots. New IP address. New type 257 node_announcment message with a NAT IP address for propagation. Peer accepts because message signature is OK and a channel is open, even when sending IP address is different, because what the IP address is is not relevant, only the verifable signature is. Gossip is propagated. What about the following. Home modem disconnects. Home server reboots. Home modem comes back online with a new IP address. Since channel keys can be verified by channel peer, all the channels come straight back up but non channel nodes take time to get updated information. Is this correct? The reason I am asking this is because a node owner got results below when they migrated to another server with another IP address (I assume on a VPS, so not behind a modem using NAT). Results at #9070 (reply in thread)
No channels reopened and none pending. But this when they went back to the previous host (which I assume was offline when the above results were obtained).
These are some repeated log messages from #9070 (comment) for the new server that failed to reopen channels
What is the best conclusion as to what happened?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
This has likely nothing to do with peers and/or connections. If no channels are shown (neither pending, active or inactive), it means the channel database hasn't been migrated properly (the Channels being opened/closed is an on-chain activity, so it involves an on-chain transaction. Whether a channel is active or not depends on it being connected with the peer. We have a node migration guide, was that followed? |
Beta Was this translation helpful? Give feedback.
This has likely nothing to do with peers and/or connections. If no channels are shown (neither pending, active or inactive), it means the channel database hasn't been migrated properly (the
channel.db
file).Channels being opened/closed is an on-chain activity, so it involves an on-chain transaction. Whether a channel is active or not depends on it being connected with the peer.
We have a node migration guide, was that followed?