Baoyuantop commented on issue #10838:
URL: https://github.com/apache/apisix/issues/10838#issuecomment-3996332047

   This appears to be a protocol mismatch issue:
   
   1. The APISIX `@grpc_pass` location uses the Nginx `grpc_pass` directive to 
connect upstream, expecting an HTTP/2 frame response.
   
   2. The upstream server returned an HTTP/1.x response (evidence: frame size 
4740180 = ASCII "HTT").
   
   3. Nginx's HTTP/2 frame parser misread the HTTP/1.x response bytes as the 
frame length.
   
   Possible causes:
   
   - The upstream gRPC service is not properly started or listening on port 
9081.
   
   - A service actually running on port 9081 is actually HTTP/1.x.
   
   - There might be an L7 proxy/load balancer in the middle downgrading the 
connection to HTTP/1.x.
   
   Please carefully check your environment.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to