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

Note that chunked requests should not be used, or add nginx to Open Klant helm chart (and most likely Objects+ObjectTypes too) #299

Open
alextreme opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request triage

Comments

@alextreme
Copy link
Member

Thema / Theme

Klantinteracties API

Omschrijving / Description

Currently we use Open Klant with uwsgi-in-http-mode (as most components) however our helm charts are without nginx.

This works, but it does depend on the client not using HTTP 1 chunked requests (KISS did). If a client does then uwsgi will not process the body of the requests and Django doesn't see the contents. This was discovered by Utrecht by Marcel and Jordi, which also depends on which K8s ingress is used because if you communicate via an nginx-ingress or via an nginx pod then the problem doesn't occur (nginx supports chunked requests).

Lets either document this limitation of Open Klant, or (which I would prefer) is ensure that Open Klant and our other components always have nginx in front of them. Our SaaS-installs are set up this way, and we have nginx in our Open Zaak / Open Forms / Open Inwoner charts I'd want to avoid exposing uwsgi-specific restrictions if we can avoid this.

Further reading:

https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html#can-i-use-uwsgi-s-http-capabilities-in-production

Toegevoegde waarde / Added value

No response

Aanvullende opmerkingen / Additional context

No response

@alextreme alextreme added bug Something isn't working enhancement New feature or request triage labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request triage
Projects
Status: Triage
Development

No branches or pull requests

1 participant