Skip to content

Comments

Tunnel creation stability improvements#4029

Merged
thallgren merged 2 commits intorelease/v2.26from
thallgren/no-dialer
Jan 12, 2026
Merged

Tunnel creation stability improvements#4029
thallgren merged 2 commits intorelease/v2.26from
thallgren/no-dialer

Conversation

@thallgren
Copy link
Member

This pull request introduces important reliability improvements to the tunnel connection logic in the traffic agent and dialer. The main enhancement is the addition of backoff-based retry mechanisms, which help prevent connection failures caused by race conditions or delayed availability of target endpoints. These changes ensure that tunnel establishment is more robust for both TCP and UDP protocols, reducing transient errors and improving overall agent stability.

Introduce backoff-based retry logic to handle latency caused by delayed
arrival of dial watcher channel during tunnel creation.

Signed-off-by: Thomas Hallgren <thomas@tada.se>
Introduce backoff-based retry mechanism in `dialer` to handle cases
where the target IP isn't ready to accept requests immediately.

Signed-off-by: Thomas Hallgren <thomas@tada.se>
@thallgren thallgren force-pushed the thallgren/no-dialer branch from d091d19 to 9858499 Compare January 12, 2026 20:54
@thallgren thallgren added the ok to test Applied by maintainers when a PR is ready to have tests run on it label Jan 12, 2026
@github-actions github-actions bot removed the ok to test Applied by maintainers when a PR is ready to have tests run on it label Jan 12, 2026
@thallgren thallgren merged commit ab5b055 into release/v2.26 Jan 12, 2026
11 checks passed
@thallgren thallgren deleted the thallgren/no-dialer branch January 12, 2026 21:28
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.

1 participant