Open anand-dotworld opened 2 years ago
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 host.docker.internal
which idk if is working for you. For that maybe you could refer to the HelloWorld example proxy configuration and see if that works for you.
Hope that helps :)
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:
docker build -t envoy . && docker run -d --network=host envoy
to
docker build -t envoy . && docker run -d -p 9091:9091 -p 8080:8080 envoy
worked for me
@shanifdhanani Thanks for sharing! Yes that's right, the -p
flags is required on Mac & Windows).
Some further instructions on how to run the echo demo app can be found here too. (P.S. I think the -p 8080:8080
flag would suffice since Envoy is ran on port 8080.)
I run the echo example and that run perfect.
But when I run the helloworld, I got the
Unexpected error for sayHello: code = 14, message = "Http response at 400 or 500 level, http status code: 503"
Because of the docker running on the windows, I changed address: host.docker.internal
I used the docker desktop, window10 Home(22H2)
version: PS C:\Users\user> docker --version Docker version 27.1.1, build 6312585 PS C:\Users\user> PS C:\Users\user> node -v v20.9.0
check the port is alive
error page
@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.
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: