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

Unable to Get it to work #1

Open
avinash92c opened this issue May 13, 2020 · 3 comments
Open

Unable to Get it to work #1

avinash92c opened this issue May 13, 2020 · 3 comments

Comments

@avinash92c
Copy link

I Followed Your example and create a couple of endpoints and tried with grpc and rest clients.
Both End in failures with the following error
rpc error: code = Unavailable desc = unavailable
also i noticed for no reason, the client inside the server which proxies the requests keeps calling * endpoint nonstop in 1 second intervals.
i was trying in insecure mode.

@arkadyb
Copy link
Owner

arkadyb commented May 14, 2020

Hi @avinash92c , what blog post are you referring to? Were you able to run an example i built?

@avinash92c
Copy link
Author

i referred to this blog post
https://medium.com/swlh/rest-over-grpc-with-grpc-gateway-for-go-9584bfcbb835.
i referred to this git codebase and wrote a insecure version of the solution.
i didnt yet try the example you built.
grpcgateway.zip

@arkadyb
Copy link
Owner

arkadyb commented May 21, 2020

I guess without tls, you end-up running http1.1 which is time limited and going to be cancelled once in a while. That is my guess, i never tried to run insecure grpc server with grpc-gateway myself. Try to turn it into secure connection to establish a single connection via http2.

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

No branches or pull requests

2 participants