grpc error

Java NANO_RUNTIME does not support services

解决:protoc –javanano_out=ignore_services=true:. helloworld.proto

io.grpc.StatusRuntimeException: INTERNAL: Too many responses

io.grpc.StatusRuntimeException: CANCELLED: HTTP/2 error code: CANCEL

The problem has been solved, and the problem is caused by the server. The queue size of grpc server’s thread pool is too small, resulting in tasks submit failed. the server throw exception below: