My server uses tonic, I have a gRPC call where the server streams some bytes to the client (that is using nice-grpc-web). However I'm getting the following error in my browser console:
ClientError: /images.Images/GetNationalId UNKNOWN: Response stream closed without gRPC status. This may indicate a misconfigured CORS policy on the server: Access-Control-Expose-Headers must include "grpc-status" and "grpc-message".
However the header names are specified in the required properties:
I've noticed that the error only appears after reading of the stream is completes. I'm not sure what is the solution to this.
My server uses tonic, I have a gRPC call where the server streams some bytes to the client (that is using nice-grpc-web). However I'm getting the following error in my browser console:
However the header names are specified in the required properties:
I've noticed that the error only appears after reading of the stream is completes. I'm not sure what is the solution to this.