-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
503 error with websocket #16925
Comments
If you enable access logging and log the %RESPONSE_CODE_DETAILS% field, it may shed light on the problem. e.g., perhaps Envoy cannot connect to to backend:3001 or the error is coming up from the upstream. Alternatively, turning on debug logging which should log attempts to connect to the upstream, the forwarded request and the upstream's response headers. |
@zuercher can you give me an example for getting access logging, I tried to follow docs to configure |
This configures logging: envoy/test/config/integration/server.yaml Line 53 in a12869f
It uses templates and is for testing log filter, so change path to an actual path on your system and remove the |
I received this message
Do you have any idea? Following #14981, the upstream's connection might be closed. However, I don't think |
Thanks for your support. It worked after using upstream_connection_options with
Following #8639 |
Description
Setup envoy with
websocket
has 503 error. I read an issue about this and get a suggestion that's turning onkeepalive
. However, I can't find this option in the docsI tested without envoy (using direct `http://localhost:3001) and it worked.
Update Application return 503
Code
Thanks for any help!
The text was updated successfully, but these errors were encountered: