Skip to content

bug: Very loud when bound to 127.0.0.1 #3244

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

Open
dpc opened this issue Mar 21, 2025 · 0 comments
Open

bug: Very loud when bound to 127.0.0.1 #3244

dpc opened this issue Mar 21, 2025 · 0 comments
Labels
bug Something isn't working c-iroh
Milestone

Comments

@dpc
Copy link

dpc commented Mar 21, 2025

Describe the bug

In our test suite, we bind Iroh endpoints to 127.0.0.1 and use ticket overrides to avoid dependencies on external network and force quick and reliable connections.

However, this triggers some internal codepaths that do not expect this situation.

It's not a big deal, things still work fine, just the logs get a lot of warns from Iroh.

Relevant Logs

2025-03-21T16:40:44.644059Z  WARN ep{me=45ccca1685}:magicsock:net_report.actor:reportgen.actor:probe: iroh_net_report::reportgen: probe failed: Fai
led to send STUN request: StunIpv4: Invalid argument (os error 22) probe=StunIpv4 { delay: 0ns, node: RelayNode { url: RelayUrl("https://use1-1.rel
ay.iroh.network./"), stun_only: false, stun_port: 3478, quic: Some(RelayQuicConfig { port: 7842 }) } }

Expected behavior

Maybe detect 127.0.0.1 and [::1] and just skip all probes?

Platform(s)
Linux desktip/server.

@dpc dpc added the bug Something isn't working label Mar 21, 2025
@n0bot n0bot bot added this to iroh Mar 21, 2025
@flub flub added the c-iroh label Mar 24, 2025
@flub flub added this to the v1.0.0 milestone Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c-iroh
Projects
Status: No status
Development

No branches or pull requests

2 participants