Skip to content

Returning gRPC response results in random stream error #210

Description

@sishbi

Version

5.0.4

Context

We have just upgraded to vertx 5.0.4 using the GrpcIoServer
And we see this for quite a few requests:

java.lang.IllegalStateException: The stream is failed: INTERNAL
	at io.vertx.grpc.common.impl.GrpcWriteStreamBase.writeMessage(GrpcWriteStreamBase.java:214)
	at io.vertx.grpc.server.impl.GrpcServerResponseImpl.writeMessage(GrpcServerResponseImpl.java:214)
	at io.vertx.grpc.common.impl.GrpcWriteStreamBase.endMessage(GrpcWriteStreamBase.java:179)
	at io.vertx.grpc.common.impl.GrpcWriteStreamBase.end(GrpcWriteStreamBase.java:161)

We thought it was for responses that were streaming but we also see it for unary responses.
For now I am reverting back to the previous vertx version - I don't know what would cause this issue.

Steps to reproduce

  1. create a gRPC server
  2. return a response
  3. encounter the error

Do you have a reproducer?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions