Skip to content

Conversation

sukunrt
Copy link
Contributor

@sukunrt sukunrt commented Jun 9, 2025

This also ignores any unreachable TCP addresses that are prefixes of the websocket addresses.

@sukunrt sukunrt force-pushed the update-go-libp2p branch from 576ebdc to 31678e8 Compare June 9, 2025 11:10
This also ignores any unreachable TCP addresses that are prefixes
of the websocket addresses.
@sukunrt sukunrt force-pushed the update-go-libp2p branch from 31678e8 to e34af27 Compare June 9, 2025 11:57
@lidel lidel changed the title use autonatv2 event to begin cert management fix: use autonatv2 event to begin cert management Jun 10, 2025
Copy link
Contributor

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested locally (ipv4-only) with ipfs/kubo#10835 and against https://github.com/libp2p/go-libp2p/tree/master/examples/autotls and lgtm, but waiting with merge & release until:

Comment on lines +817 to +820
// if the tcp component is unreachable, ignore the ws addr too
if ua.Equal(withoutForgeWSS) {
continue
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx, iiuc this should help with #25 too

Copy link

codecov bot commented Jun 16, 2025

Codecov Report

Attention: Patch coverage is 34.54545% with 72 lines in your changes missing coverage. Please review.

Project coverage is 61.68%. Comparing base (834caf1) to head (c7b36f9).
Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
client/acme.go 34.54% 69 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   60.28%   61.68%   +1.40%     
==========================================
  Files          11       11              
  Lines        1035     1219     +184     
==========================================
+ Hits          624      752     +128     
- Misses        343      394      +51     
- Partials       68       73       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lidel lidel marked this pull request as ready for review June 16, 2025 20:11
Copy link
Contributor

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI in ipfs/kubo#10835 is green, manual tests also seem to work for me (at least ipv4 only setup seems to wait if no reachable addrs).

I'm going to merge this and use the commit from the main branch in Kubo 0.36 RC1.

If no issues, and once we have a final go-libp2p 0.42 i'll switch to that, and then tag a release of p2p-forge (we don't want to release without stable go-libp2p dependency)

@lidel lidel merged commit 2c25ee6 into main Jun 16, 2025
7 of 9 checks passed
@lidel lidel deleted the update-go-libp2p branch June 16, 2025 21:15
lidel added a commit to ipfs/kubo that referenced this pull request Jun 16, 2025
lidel added a commit to ipfs/kubo that referenced this pull request Jun 16, 2025
* update autotls; libp2p to use autonatv2
* chore: p2p-forge@main with autonat fix

ipshipyard/p2p-forge#70

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
@lidel lidel mentioned this pull request Jun 25, 2025
1 task
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.

Client attempts to register with invalid port
2 participants