Its happening to all logins - every time I try to log in, it shows me 502
There is nothing different - both are in the same cluster but in different namespaces.
No proxy/cdn.
We apply the same config to both
When it fails, in logs it shows as succeeded, here is the info:
The authorization response was successfully returned to ‘“``https://website.co.uk/umbraco/oauth_complete``”’ using the query response mode: “{ \“code\”: \”[redacted]\", \“state\”: \“zd4GbdWWrs\”,
The authorization request was successfully extracted: "{ \“redirect_uri\”: \“``https://website.co.uk/umbraco/oauth_complete\\``”, \“client_id\”: \“umbraco-back-office\”, \“response_type\”: \“code\”,
An ad hoc authorization was automatically created and associated with the ‘“umbraco-back-office”’ application: “17fa408f-7aee-4276-bcca-33c5acf9df1e”.
I’ve also set these in appsettings:
BackOfficeHost
UmbracoApplicationUrl
We have found the issue
*21349947 upstream sent too big header while reading response header from upstream”
Adding this fixed it nginx.ingress.kubernetes.io/proxy-buffering: “on” nginx.ingress.kubernetes.io/proxy-buffer-size: “128k” # header buffer size nginx.ingress.kubernetes.io/proxy-buffers-number:“8” # number of buffers