Simple project (based on Quarkus quickstart project) to reproduce a bug with the gRPC exception handler
- Original SO post: https://stackoverflow.com/questions/75412735/quarkus-grpc-exceptionhandlerprovider-does-not-close-response-message-with-the-c
- Quarkus discussion: quarkusio/quarkus#31110
- Run the server:
./mvnw quarkus:dev
- Use gRPC client (Postman, grpcurl, etc) and call the
Greeter / SayHello
(onlocalhost:8080
) service with message{"name": "internal"}
- The service throws an exception and the
HelloExceptionHandlerProvider
turns it into aStatusException
with "INTERNAL" gRPC status. - On the client, the status is "UNKNOWN" but it should be "INTERNAL" because
HelloExceptionHandler::handleException
is not called.