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

502 Bad Gateway Error with Keycloak as Auth Provider #199

Open
leoraba opened this issue Apr 18, 2024 · 0 comments
Open

502 Bad Gateway Error with Keycloak as Auth Provider #199

leoraba opened this issue Apr 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@leoraba
Copy link
Contributor

leoraba commented Apr 18, 2024

Description

When having Stage running behind a reverse proxy like nginx we're getting a 502 Bad Request.
Error is shown after entering valid credentials on Keycloak login page its redirected to stage redirect url showing this error.

However this was temporary solved using the described workaround that is not the final solution.

Workaround

As a temp solution is to adjust ingress to increase proxy buffer size.

nginx.ingress.kubernetes.io/proxy-buffer-size: 32k
nginx.ingress.kubernetes.io/proxy_buffers: 8 16k

solution based on link
Issue related to OHCRN platform issue

Steps to Reproduce

  1. Go to stage URL
  2. Click on Login Button
  3. On Keycloak login page enter valid user credentials
  4. Page is redirected to stage redirect URL with the 502 Bad Gateway
@leoraba leoraba added the bug Something isn't working label Apr 18, 2024
@leoraba leoraba changed the title 502 Bad Gateway Error with Keycloak login 502 Bad Gateway Error with Keycloak as Auth Provider Apr 18, 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
Projects
None yet
Development

No branches or pull requests

1 participant