Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

499 reflect on service #5466

Closed
trevezani opened this issue Apr 29, 2024 · 4 comments
Closed

499 reflect on service #5466

trevezani opened this issue Apr 29, 2024 · 4 comments

Comments

@trevezani
Copy link

I tries capture the close connection in the service associate with the ingress-nginx but I cant find a way. When this situation occur the log of nginx shows the correct status code on log:

172.21.0.224 - user [29/Apr/2024:13:21:41 +0000] "POST /execute HTTP/1.1" 499 0 "-" "Apache-HttpClient/4.5.12 (Java/1.8.0_382)" 409 2.702 [service-8080] [] 172.21.72.106:8080 0 2.702 - da6c85d6276498086c97ccb1380ed096

But in the service the process continue. I think the correct behavior is the nginx close the connection with the service to interrupt the process.

In the documentation I only found the flag proxy_ignore_client_abort .

Have a way to change this behavior?

Copy link

Hi @trevezani thanks for reporting!

Be sure to check out the docs and the Contributing Guidelines while you wait for a human to take a look at this 🙂

Cheers!

@j1m-ryan
Copy link

Hello @trevezani,

To better assist you with this, could you please provide a bit more detailed information? Specifically, we need:

  • NIC Version.
  • k8s version.
  • relevant manifests and helm chart values / flags

Additionally, I noticed that you mentioned using "ingress-nginx". To clarify, are you using the community-managed Ingress controller, or are you using this project, the NGINX Inc. managed Ingress controller?

@trevezani
Copy link
Author

I'm using the community-managed Ingress controller following the instructions to install on aws changing only VPC CIDR and ACM. I installed the version 1.10.0 on k8s version 1.29.

@j1m-ryan
Copy link

These are separate projects with different codebases, you can make an issue for this on https://github.com/kubernetes/ingress-nginx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants