Opening https://www.minecraft.net while the browser has no preferred website language configured (e.g. in Firefox the "Web Page Language Settings" list empty) or a language that isn't supported, results in a "not found" error (404).
This also occurs when opening some subpages, for example https://www.minecraft.net/updates/nether/ (although it shows a styled error page).
Tested and confirmed both in Firefox and Chrome (although in Chrome it doesn't seem easily possible to remove all languages, since the browser language itself can't be removed, however if the single remaining language isn't supported on minecraft.net, this issue still occurs).
When the `Accept-Language` header contains a supported language, it correctly responds with a 302 to redirect to the appropriate site.
A 404 error is also mentioned in WEB-1302, although that issue conflates two problems, so it wasn't quite clear if both were resolved at the time.
Example (Results in 404):
GET https://www.minecraft.net/
Host: www.minecraft.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
Accept-Language: af
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Cache-Control: max-age=0, no-cache
TE: Trailers
Pragma: no-cache
Removing the `Accept-Language` header altogether results in a 404 as well. Changing it's value to e.g. `de` redirects correctly.
Linked issues
is duplicated by 19
relates to 2
Attachments
Comments 9
We believe that this issue is resolved as of September 2020. If there is no Accept-Lang header, the website should automatically add the en-us portion of the path. Can you confirm?
I can confirm that the website now redirects when there is no Accept-Language header, however the 404 still occurs when the Accept-Language header contains exclusively language codes that (presumably) the website does not support.
This also happens when using Google Translate: when I try to enter other language(without changing URL directly) it goes to WE'RE SSSSSSSORRY and I think it's just a bug in Google Website Translate😞
Hi, I'm using Opera browser, and the problem still occurs.
[media]The problem will not be solved until I click on English at the bottom of the page. If you click on English below, the problem will be solved.
[media]I can also confirm that this has not been fixed, with the following http request:
GET https://www.minecraft.net/
Accept-Language: ewhqbfyuwbe
The problem is still not solved.
Browser Opera (Czech language) doesn't redirect me anywhere, I am still getting the same error (even with the use of /en-us).
After trying using a VPN connected to Germany will work. But without a VPN it doesn't.
Edit:
Deleted cookies. Works fine,
1 year ago, when I first encountered this bug, I found this post, and told myself... Okay, they know about it... Well, i was wrong. So:
What doesn't work:
Access main site: Minecraft.net -> no redirect thrown, error is already seen above
Clicking any link on page -> links are being generated without "/en-us" language info, so links don't work either
Updating anything on profile (skin, name) -> links in form are again beign generating without "/en-us" language info
registration of new users -> same reason as above
Why does this happen:
I'm user from Czech republik with installed windows with czech localization
I'm using Google chrome broser
Browsers automaticaly takes language information and sending them in header requests to website
In my case there is: "accept-language: cs-CZ,cs;q=0.9"
Server is unable to handle it correctly and generates wrong links
What are bad fixes:
Use another browser -> yes, I can run it in firefox successfully, but why would i do that, when i want have saved in history access to it
Change your browser setting -> I don't want to change my setting just to access successfully one website, to destroy my localization on another
Use annonimou window -> not solves the problem
My idea, where is the problem:
minecraft.net had historicaly had czech localization, my gues is, that when it were being removed, it wasn't removed fully and now server tryes to load missing language file, which resumes in error, which is hidden behind the 404 error
So please, fix it....
I would also make higher priority, because users using chrome browser (currently the most used web browser) on windows (currently the most used computer operation system) aren't able to access your site for nearly 2 years from Czech Republik (maybe even more countries) and also arent able to buy minecraft (what is something you should be concerned)
This error is same as in WEB-3300 (same cause).
Way to replicate in google chrome:
in chrome, go to settings->advanced->languages and add czech language there
delete all other languages
delete "language_url" cookie on minecraft.net
refresh page (links no more have language information inside)
access minecraft.net site (blank page, 404 error thrown)
Fastest workaround:
access minecraft.net/en-us
click accept cookies (top right corner)
page now works
Fix:
don't use cookies as language holder until consent is given
without language_url cookie set, use language in current url
while accesing page without language in url, currently you are using first mach by prefered languages sent in header with languages supported by site. There is missing case, when that match is not found and then minecraft throws white page error
Yes, I can confirm. Although I came up with a solution to fix this error, it is only individual. I tried to inform the moderators via discord but they redirected me here. Error in outdated links. The new link to the page is https://minecraft.net/en-us. This "/ en-us" is important because it must always be behind minecraft.net. My problem as I described it on Discord (2 messages):
Hello, I now join this server because your websites are broken. When you want go to official websites Minecraft, you get on https://minecraft.net/en-us, but when you click for example on "Get Minecarft" button, you are on https://minecraft.net/about-minecraft, but this website dont work. You must paste
/en-us
between[https://minecraft.net|https://minecraft.net/]
and/about-minecarft
. For me it not problem but other people (for examle my friend @Milošmluvi) dont know it. So please, update links on your buttons to right links with/en-us
. Thanks for your help.and
My friend have this problem, that when he click on any button it write to him
Not found
orWE'RE SSSSSSSORRY
. So I found out that in link missing/en-us
. Can anyone edit it? For example, I'm on[https://www.minecraft.net/en-us/]
. After I click onGET MINECRAFT
button it redirects me to[https://www.minecraft.net/get-minecraft/]
and writeWE'RE SSSSSSSORRY
. So when I change link to https://www.minecraft.net/en-us/get-minecraft/
it work.