-
Notifications
You must be signed in to change notification settings - Fork 293
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
Share URL Returns 403 #3331
Comments
|
If so that would be very confusing as to why my work around works. I have
When I take the share url and manually add |
#3284 when I checked the Sub path also worked fine. |
Interesting, do I possibly have something misconfigured? I also dug through the code some and found this section. If I'm reading it right, it uses the scheme and the host of the request to generate the url. I don't see it taking into account the path. |
@nreisingercres Try not defining the trailing slash on the minio_server_url:
|
Same issue when removing the trailing slash on MINIO_SERVER_URL It still generates |
thanks, I'll take a look. I also remember testing with subpath and nginx and worked fine. But will try to reproduce. |
Thanks, I'm 90% sure the issue is here as |
I was able to reproduce it, we need to pass the MINIO_BROWSER_REDIRECT_URL from minio to Console cause right now we only pass the subpath here. |
NOTE
If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.
Using the share URL returns a 403
Expected Behavior
The file should download
Current Behavior
The server returns a 403 status code
Possible Solution
Use MINIO_BROWSER_REDIRECT_URL to generate the url
Steps to Reproduce (for bugs)
minio.com/minio/console
/minio/console
Context
Trying to use curl to download a file
Regression
Your Environment
minio --version
): RELEASE.2024-05-01T01-11-10Zuname -a
):The text was updated successfully, but these errors were encountered: