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

gRPC method call doesn't respond when status code is not OK #504

Closed
fgarciacode opened this issue Oct 10, 2023 · 2 comments · Fixed by #519
Closed

gRPC method call doesn't respond when status code is not OK #504

fgarciacode opened this issue Oct 10, 2023 · 2 comments · Fixed by #519
Assignees

Comments

@fgarciacode
Copy link

Describe the bug
I have a custom gRPC service, the response of its methods sometimes return status codes different to "0 OK" (NotFound, AlreadyExists, PermissionDenied, Unauthenticated). Zilla doesn't respond when the status code of my gRPC is different to "0 OK".

To Reproduce
Steps to reproduce the behavior:

  1. Checkout https://github.com/fgarcia-code/examples/tree/main/zilla/echo and start.
  2. Use Postman to call the gRPC EchoStatus service with status "OK":
    image
  3. Call with status "Not Found":
    image
  4. Review UI for Apache Kafka, the service publish in echo-requests, but not in echo-responses.
    image

Expected behavior
I think that Zilla should responds in the same way with the status code.

I don't know if I'm doing something wrong.

@jfallows
Copy link
Contributor

@fgarcia-code thank you, we'll look into this a post an update.

@jfallows
Copy link
Contributor

@fgarcia-code we are testing a fix, please see #519.

@jfallows jfallows self-assigned this Oct 16, 2023
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

Successfully merging a pull request may close this issue.

2 participants