My client send a request with size >8KB to my Nginx reverse proxy server. There is an upstream gRPC server behind Nginx.
When I check the error code, it is rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM
I was confused with why did I receive such error code?
I know that the limitation of the size of header is specified in my nginx rule. By default it is
large_client_header_buffers 4 8k;
Does the gRPC client interpret the response from Nginx wrongly?
After increase the limitation, the error code does not show up again.