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

ci(e2e): populate p2p with advertised addrs #1560

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

corverroos
Copy link
Collaborator

@corverroos corverroos commented Jul 23, 2024

When attempting to join omega using omni operator init-nodes and the local node fetches peer addresses from the bootstrapped peers, debug logs show that private IPs are returned, this causes P2P networking to fail.

This attempt to address the problem by using "advertised" IPs consistently (not only in advertised IP context).
This means that our internal nodes will also connect to seed/fullnodes using their external IPs.
When asked for peers, they would then hopefully return those external IPs and not internal IPs like previously.

issue: none

@corverroos corverroos merged commit 1500206 into main Jul 24, 2024
17 checks passed
@corverroos corverroos deleted the corver/advertisedp2p branch July 24, 2024 10:40
corverroos added a commit that referenced this pull request Jul 24, 2024
When attempting to join omega using `omni operator init-nodes` and the
local node fetches peer addresses from the bootstrapped peers, debug
logs show that private IPs are returned, this causes P2P networking to
fail.

This attempt to address the problem by using "advertised" IPs
consistently (not only in advertised IP context).
This means that our internal nodes will also connect to seed/fullnodes
using their external IPs.
When asked for peers, they would then hopefully return those external
IPs and not internal IPs like previously.

issue: none
corverroos added a commit that referenced this pull request Jul 24, 2024
Cherry picks #1560 from `main` to `release/v0.2`. This is required to
improve joining omega.

issue: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants