-
-
Notifications
You must be signed in to change notification settings - Fork 2
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 running locally since OAuth PR merged #875
Comments
I've tried resetting the Kubernetes cluster in my local Docker Desktop, and running I also updated my Docker Desktop version from 4.30.0 to 4.31.0; still no change. @hahn-kev @myieye Can you reproduce this on Windows, or is this Linux-only behavior so far? |
I was seeing this today, but it's actually only a UI container issue. If you go to localhost/API/swagger it returns just fine. So it's purely a Svelte issue. Taking a look at the code it's probably because I switched on the expose server and that turned on ssl. Now that I remember Tim mentioned something to me and I forgot to look into it today. As a workaround you can set exposeServer to false in the Vite file. |
I don't know if this is relevant, but there was a change to the vite config in #847 I don't know why the vite config changed - couldn't find any relevant info in the PR itself |
Confirmed, changing |
I took the liberty of reverting the vite changes (that were made to get oauth to work) for now. Feel free to reopen if anyone has any more problems with the latest develop. |
Ever since #847 was merged, I've been getting 502 Bad Gateway errors when connecting to http://localhost/. Checking out the commit before #847 was merged, everything builds.
When I look at the ingress logs with
docker logs -f ingress-nginx-controller-b6c6944f4-gxwd4
I can see why the ingress controller is reporting Bad Gateway:10.1.8.168 is the current IP address of the Vite dev server (confirmed by looking at the logs for the
ui-7f8d755587-8mkvv
pod).I have not yet been able to track down which change in #847 is causing Vite to stop responding to HTTP requests from the ingress controller, but it's definitely the commit that merged #847 (commit 55c846e) that's causing my issues.
P.S. This appears to be unrelated to #871, as the Bad Gateway errors are occurring both before and after the fix to #871 was pushed to
develop
.The text was updated successfully, but these errors were encountered: