Hi All,
We have deployed temporal 1.20.2 version on k8s. We are facing an issue i.e 499 error code at nginx which is routing calls to Temporal frontend service.
Nginx Error:
- [22/May/2023:22:26:48 +0000] “POST /temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue HTTP/2.0” 499 0 “-” “grpc-go/1.52.3” 507 30.004
nginx debug log:
2023/05/22 21:52:14 [info] 25#25: *37189 client canceled stream 5 while sending request to upstream, client: <>, server: temporal-frontend, request: “POST /temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue HTTP/2.0”, upstream: “<>”, host: “<>”
2023/05/22 21:52:14 [debug] 25#25: *37189 http run request: “/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue?”
2023/05/22 21:52:14 [debug] 25#25: *37189 http upstream check client, write event:0, “/temporal.api.workflowservice.v1.WorkflowService/PollWorkflowTaskQueue”
2023/05/22 21:52:14 [debug] 25#25: *37189 finalize http upstream request: 499
I have tried passing ‘0’ for frontend.keepAliveMaxConnectionAge
to disable it which did not work,. Any ideas on how to fix this issue. Not seeing any functionality issue but seeing so many these errors in nginx logs which looks like we are getting these when idle connections terminated by frontend service. Also no errors/logs in frontend service. Appreciate the help here.