Regression in 0.75.0 client: ~2s delay reconnecting to relayed peer after short idle period #6924
Unanswered
kurthw
asked this question in
Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Before posting
Affected area
Client / Agent, Peer connectivity, Relay / Signal / NAT traversal
Deployment type
Self-hosted - advanced/custom deployment
Operating system or environment
Windows 10, macOS (Apple Silicon / M1) — reproduced independently on both
NetBird version and upgrade status
Did this work before?
Yes, this worked before
Regression details
Summary
After upgrading the NetBird client to 0.75.0, the first request to a service behind a relayed (non-P2P) peer takes ~2 seconds longer than expected if the connection has been idle for roughly 3–4 minutes. Downgrading the client alone to 0.74.7, while leaving management/signal/relay on 0.75.0, completely eliminates the delay.
Current behavior
Accessing a service behind a relay-only peer (netbirdio/reverse-proxy cluster, no P2P/ICE candidates, no host networking) after a short idle period causes the first request to stall for roughly 2 seconds before completing. Subsequent requests within the same active window are fast. Client log shows the relay proxy being torn down and recreated right before each slow request:
INFO [peer: ] client/internal/peer/conn.go:575: created new wgProxy for relay connection: 127.1.x.x:51820
WARN client/iface/bind/activity.go:85: could not find record for address 127.1.x.x:51820
This appears tied to the WGWatcher handshake/idle check cycle (~3:30 min). Peers on an older client version (iOS/iPadOS) connecting to the same relayed peer do not exhibit this delay, which first drew our attention to a client-version-specific cause rather than a server/proxy issue.
Expected behavior
Either the relay proxy connection should be kept warm / re-established proactively in the background before it's needed again, or the teardown-and-recreate cycle should not introduce a multi-second, user-visible stall on the next request. This delay was not present (or not noticeable) on client 0.74.7 under the same server-side conditions.
Steps to reproduce
Environment and topology
Self-hosted details, if available
Logs, status output, or debug evidence
Related issues or discussions
Impact
Additional context
NetBird is still pre-1.0 / beta, so we understand regressions between minor versions are expected; reporting mainly so the relay-idle/reconnect handling change in 0.75.0 is on the radar. Happy to provide a full debug bundle (netbird debug for -A) if useful.
All reactions