Skip to content

Conversation

@jasongin
Copy link
Member

@jasongin jasongin commented Jan 26, 2026

When creating a tunnel, the C# and TypeScript SDKs may auto-generate a tunnel ID, but then incorrectly handle the error condition when the generated ID conflicts with an existing tunnel. The main impact was that they could misinterpret other errors as ID conflicts and needlessly retry in those cases. This change fixes the logic to check for the HTTP 409 Conflict status code and retry only when creating a tunnel and not when updating an existing tunnel.

The other language SDKs use the older v1 API that doesn't require the client to generate a tunnel ID when creating a tunnel, so they do not have this issue.

@jasongin jasongin merged commit 1985628 into main Jan 27, 2026
9 checks passed
@jasongin jasongin deleted the dev/jasongin/idgen-conflict branch January 27, 2026 18:58
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.

3 participants