Hi Kong community,
We are facing some very annoying issue. For few requests (a day) we are getting
Most of the requests are fine (
2xx), but for those few it is not working.
Issue is not related to request itself or the source of request. As the request rerun is fine and for the same source we got
2xx as well.
CloudFront is just saying:
AbortedOrigin. Logs from AWS:
upstream prematurely closed connection while reading response header from upstream
We have custom plugin, at the very begin of the plugin we added log entry to check if failing request is hitting Kong, and we do not see log entry for given request id.
The only message in Kong logs we see (when debug mode is turned on):
keepalive connection closed.
We found issue related to Nginx timeout & AWS LB iddle connection when have the same value. Change to different values did not help.
How can I disable
keepalive functionality in Kong?