Skip to content
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

Bug: WebSocket upgrade requests fail on HTTP/2 listeners #465

Open
benmurden opened this issue Jun 9, 2023 · 0 comments
Open

Bug: WebSocket upgrade requests fail on HTTP/2 listeners #465

benmurden opened this issue Jun 9, 2023 · 0 comments
Labels
Bug Something isn't working

Comments

@benmurden
Copy link

Summary
We have an App Mesh setup with a Virtual Gateway. When using HTTP/2 listeners on the VGW, WebSocket upgrade requests return 503 UC from the VGW.

Steps to Reproduce

  • Setup a simple WebSocket service with Envoy sidecar and HTTP/2 listeners.
  • Add Virtual Gateway service with HTTP/2 listeners.
  • Attempt WebSocket upgrade.

Are you currently working around this issue?
Using HTTP/1.1 listeners allows WebSocket upgrades to work correctly.

Additional context
There is a configuration option in Envoy to allow connection upgrades tunneled through HTTP/2.
https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/http/upgrades#websocket-over-http-2-or-http-3-hops

Attachments
Log sample for WebSocket upgrade attempt.

HTTP/1.1" 503 UC 0 95 1003
@benmurden benmurden added the Bug Something isn't working label Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant