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

Console under subpath #2483

Closed
mworzala opened this issue Dec 4, 2022 · 3 comments · Fixed by #2818
Closed

Console under subpath #2483

mworzala opened this issue Dec 4, 2022 · 3 comments · Fixed by #2818

Comments

@mworzala
Copy link

mworzala commented Dec 4, 2022

Hi
I am trying to run the console under the subpath /console, but I am getting the following javascript error:

TypeError: e.console.session is null
    u consoleSlice.ts:54
    Redux 2
    yn ConsoleKBar.tsx:25
    React 7
    S scheduler.production.min.js:13
    T scheduler.production.min.js:14
    36813 scheduler.production.min.js:14
    Webpack 12

I have tried setting CONSOLE_SUBPATH, which does not solve the issue. I am running the console behind Envoy and using a prefix_rewrite to /, otherwise the console returns index.html instead of other assets like js.

Any help is appreciated!

@christophsing
Copy link

Hi - any updates on this Topics?
We try to use minio behind a traefik ingress controller and are also not able to use it as designed.

@avnav0
Copy link

avnav0 commented Apr 12, 2023

same with nginx:
i have a similar problem. i'm using a subpath of /minio, the console works and the session request returns 200.

Request URL: http://10.235.77.22/minio/api/v1/session
Request Method: GET
Status Code: 200 OK
Remote Address: 10.235.77.22:80
Referrer Policy: strict-origin-when-cross-origin

but when you try to use certain pages like buckets, you get:

Request URL: http://10.235.77.22/api/v1/buckets
Request Method: GET
Status Code: 404 Not Found
Remote Address: 10.235.77.22:80
Referrer Policy: no-referrer

@mskyttner
Copy link

@avnav88, related:

#2166 (comment)
#2174
#2725

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

Successfully merging a pull request may close this issue.

4 participants