Skip to content

Add flag to server to force all clients to use DERP over WebSockets by default #9237

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

Closed
deansheather opened this issue Aug 22, 2023 · 0 comments · Fixed by #9238
Closed

Add flag to server to force all clients to use DERP over WebSockets by default #9237

deansheather opened this issue Aug 22, 2023 · 0 comments · Fixed by #9238
Assignees

Comments

@deansheather
Copy link
Member

Currently, Tailscale falls back to WebSocket if it sees a 4xx when trying to connect with Upgrade: derp. Some reverse proxies (like Azure Application Proxy) handle Upgrade: derp in a very silly way which circumvents this automatic detection and fallback to WebSockets (Azure redirects you to the login page?!?!?)

Add a server flag --derp-force-websockets to force all clients and agents to connect to every DERP server over websockets instead of trying Upgrade: derp first.

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 a pull request may close this issue.

1 participant