We are getting randomly lots of 504 Error but could not find the reason for this error., As we do not see any 504 error or taking long time in upstream service. We suspect the request is not even send to upstream but it return back to consumer 504 by KONG.
Really KONG logs are not helping. Any suggestion to enable more log. we enabled debug level also.
we set higher upstream read write connection out. (120000)
All 504 connection time ( upstream_response_time is around ~10.000) out is
What could be the cause ?
nginx_http_upstream_keepalive_requests , nginx_upstream_keepalive ? anything needs to be tuned .