503 Service Unavailable "Http response at 400 or 500 level" #1477
Replies: 8 comments
-
Thanks for the report :) The 503 error seems to indicate that the random_service backend is not reachable. Maybe you could try comparing your Docker setup with our Echo App setup (and its envoy config) and see what's different? One thing i noticed that you're using Hope that helps :) |
Beta Was this translation helpful? Give feedback.
-
I had the same issue. For anyone coming here from Google, my issue was that Docker wasn't exposing the ports that I needed to my local machine. Changing the run script from:
to
worked for me |
Beta Was this translation helpful? Give feedback.
-
@shanifdhanani Thanks for sharing! Yes that's right, the Some further instructions on how to run the echo demo app can be found here too. (P.S. I think the |
Beta Was this translation helpful? Give feedback.
-
I run the echo example and that run perfect. Because of the docker running on the windows, I changed
|
Beta Was this translation helpful? Give feedback.
-
@TommyWU-20170416 good to hear the echo demo runs well! I believe the echo demo uses this envoy config: https://github.com/grpc/grpc-web/blob/master/net/grpc/gateway/examples/echo/envoy.yaml If you diff it against the one you're currently using, you might be able to find out what's different. |
Beta Was this translation helpful? Give feedback.
-
I also had this error, in my case, this basically happened because the envoy was not able to properly forward my request due to the incorrect network resolution. It was trying to to use IPv6, instead of IPv4, that my server used. So after adding below line in the type: logical_dns
dns_lookup_family: V4_ONLY # This properly tells it to resolve for IPv4 |
Beta Was this translation helpful? Give feedback.
-
It's worked! |
Beta Was this translation helpful? Give feedback.
-
@mquandvr Great to hear!! 😃 It seems like in general this issue happens due to mis-configuration of Envoy proxy. So it's probably not an issue with grpc-web itself. I'll convert this into a discussion thread, and people who have the same issues can refer to it! Thanks!! |
Beta Was this translation helpful? Give feedback.
-
I am trying to run a simple demo application for react and grpc implementation. I am getting this error . My client is running on port 8080 and server is running on port 9090.
This is the envoy.yaml file I am using
I am getting this error:
Beta Was this translation helpful? Give feedback.
All reactions