I am using Google Kubernetes Engine, got this error from stackdriver logs
2020/05/14 07:31:19 [warn] 9#9: *658 an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/0/01/0000000010 while reading upstream, client: 155.201.35.107, server: , request: "POST /graphql?key=AIzaSyCkP6djTqVJ5E9lUWcOlWYxpJw7zJuU9dQ HTTP/1.1", upstream: "http://127.0.0.1:4000/graphql?key=AIzaSyCkP6djTqVJ5E9lUWcOlWYxpJw7zJuU9dQ", host:...
I had read this post: an upstream response is buffered to a temporary file
But it's nginx related, not GKE. I know GKE maybe use Nginx as a proxy server.
I also found this doc: https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#proxy-max-temp-file-size
But I don't know does GKE support it. I don’t know the cause of this problem and can’t reproduce it. How should I solve this issue? Thanks in advance.
UPDATE:
I am doing the API load testing using jmeter, here is the error from jmeter:
As you can see, the API should work fine and I have handled each exception inside isLogin
API. So I don't think this error comes from my application. I guess it's related to infrastructure.