-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Nodes Are Unable To Open Outbound Connections Via VPNs #1849
Comments
@nisdas Thank you for digging into this! @Stebalien (as the author of #1673), any idea what's going on here? |
|
Yes, most users will not listen in on
Yes, it is the local ip for the node. The interface that they are binded to.
This is correct
They are not, 13000 is the only port that they listen to. |
@nisdas Do you have a repro steps I could try to follow? |
Closed because I merged that PR. But please let me know if this doesn't fix it for you @nisdas and we'll reopen. |
Hey @MarcoPolo , thanks for the PR. I will give it a shot and see if it works on my end |
Hey @MarcoPolo , do you know when the next release will be to include this ? |
@nisdas we're going to release v0.24.0 this week which will include this fix. |
Thanks ! This is part of our next planned release, so hopefully we will stop getting user reports on this issue soon. |
We have recently updated Prysm to
v0.22
from go-libp2pv0.20.3
. However over the course of the release a number of Prysm users running via VPNs mentioned that they were unable to find and connect to any peers. This was only fixed by them falling back to an older prysm release so that they could continue connecting to peers.After confirming the issue with multiple users, I was able to reproduce this with my own local node when running via a VPN. After looking at all the debug libp2p logs, it became clear that none of the outbound dials were able to reach their remote peer. They all failed this way:
I tried updating Prysm to later libp2p releases
v0.23.x
, however the problem still persisted and Prysm was unable to make any outbound connections if the host machine was running via a VPN. Looking through commits tov0.22
, I found a PR that appeared that it might have touched the dialer #1673 . I reverted the PR on top ofv0.22
herenisdas@3807d6d
and ran prysm with this forked version of libp2p. Prysm was immediately able to find peers and connect with them succesfully. I haven't had time to dig into why exactly it broke for nodes running via VPNs but it does appear that the PR broke it for us.
The text was updated successfully, but these errors were encountered: