-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Update start.sh #95
Update start.sh #95
Conversation
Access Denied while downloading update
This is really interesting. It seems like maybe the downloads folder had the wrong permissions, or maybe just the version.html file itself. I haven't got this behavior but it looks really interesting what you're doing. You seem to be downloading a gzipped version of the page. Can you explain a little bit more? |
Hi, when I tried to download the index.html from Minecraft server with curl (even in root), I got the file but it does not contain any information about server's version.
Adding headers is the way I've found to get the correct file Regards Ps: on Ubuntu 20.04 |
Curious, can you make sure you have the latest version? The latest one should be using the -L flag which should take care of the location headers but maybe there's something else going on here! Can you verify your start.sh (and SetupMinecraft.sh) is up to date here? I'd like to continue to investigate this just to understand why it's happening (and not to everyone)! I've done like 20 upgrades today as well so I want to make sure we're on the same page here before we dive in deeper! |
Thanks for your time, I just try in console (bash) from user and root the curl command :
And the result (cat test.html)
|
Thanks for that, I am wondering if it's the:
Is your computer's default language not English by chance? You're still the only one that has reported this and I'm trying to figure out what's "special" about yours! It doesn't make a lot of sense that it would serve you the gzipped version of the exact same content, but you're clearly getting access denied without these headers which is why I was wondering if maybe that's what is different from most people's setups! I just uploaded a version that adds the language headers as a test if you'd like to try it as well! |
Sorry I don't know what is special about my configuration. My locale is set to "en_US.UTF-8". Adding only the Accept-Language doesn't change the result but you made me think of something. When I tried to make it work I just copied all headers from my regular browser and searched which was necessary. So I tried to change the "Accept-Encoding" header to "identity" and it works without compression
Regards |
Fantastic find, wow! I honestly have not encountered this issue before but I was able to find this: Although this specific bug is not specific to what we're talking about here they did discuss that some servers seem to be configured to expect this header. The only part I don't understand is why don't I have to have it (or almost everyone else). May I ask which distro and version this is? That may help shed some light on this. I'll for sure upload this change! |
I'm on Ubuntu 20.04 (vps from a French provider) And curl version is
|
Access Denied while downloading update