Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't reconnect to TOR nodes after migration #5210

Closed
miketwenty1 opened this issue Apr 14, 2021 · 7 comments
Closed

Can't reconnect to TOR nodes after migration #5210

miketwenty1 opened this issue Apr 14, 2021 · 7 comments
Labels
p2p Code related to the peer-to-peer behaviour tor troubleshooting

Comments

@miketwenty1
Copy link

miketwenty1 commented Apr 14, 2021

Background

Migrated from 0.12.1 to commit hash 213b264 (master at the time)

There were a good many TOR nodes that were previously connected to our node.

Channels and peers with tor nodes didn't reconnect after migration, they remain inactive, we are using clear net only.

Is there a current strategy to reconnect with these nodes?

@miketwenty1
Copy link
Author

@guggero is this possible?.. connecting with an existing tor peer from clearnet after a migration?

@wpaulino
Copy link
Contributor

If you're on clear net only, you'll have to wait for Tor nodes to reconnect to you.

@andrerfneves
Copy link

@wpaulino the only way to force the Tor nodes to reconnect would be to lncli connect pubkey@newIP:9735 or by restarting their node, which will effectively perform checks on peers and channels on startup, etc, etc. Is this correct?

Is there any way to avoid this from happening in the future? If we were both tor and clear net, then this wouldn't be an issue I presume?

@wpaulino
Copy link
Contributor

We have reconnection logic, regardless of what network you're running on, that runs after a peer disconnects, so a restart or manual reconnection aren't needed. There could be an issue with the reconnection logic though as noted in #5189. Are you able to get in contact with the other node and see why it's not reconnecting to you?

Is there any way to avoid this from happening in the future? If we were both tor and clear net, then this wouldn't be an issue I presume?

It would only help in that you are now also able to reconnect to them through Tor, but they should still be able to reconnect to you regardless. All of your traffic would also go through Tor until we have #5042.

@andrerfneves
Copy link

@wpaulino thanks for the information. We had two tor-only node peers reboot their nodes and the channels have since become active. That's why I figured the reconnection through lncli would perform the same function.

Can I fetch any logs/info from our node to see if it really is the issues pointed out in #5189?

@wpaulino
Copy link
Contributor

We would need the remote node's logs to see why they aren't reconnecting (assuming you don't see any rejected reconnection attempts from them in your logs).

@Roasbeef
Copy link
Member

This should have ben addressed by #5538 and #5794

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2p Code related to the peer-to-peer behaviour tor troubleshooting
Projects
None yet
Development

No branches or pull requests

4 participants