Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

A lot HTTP 400 responses while run launchClient.bat #933

Open

Description

@GF-Huang

image

Activity

  1. YXHXianYu commented on Apr 23, 2023

    @YXHXianYu

    +1
    It takes 30+min to download and show error messages every time i start a minecraft instance......
    Sad TAT

    I think this is because the website(resources.download.minecraft.net)'s links have changed (maybe since Feb) and i have no idea how to fix it.

  2. YXHXianYu commented on Apr 23, 2023

    @YXHXianYu

    I found the reason!

    http needs to be upgrade to https.

    reference: gorilla-devs/GDLauncher#1513

  3. Start1w commented on May 17, 2023

    @Start1w

    I encountered the same problem under the MineDojo project.
    In Mindojo Project, I see #55. Then I slove this problem.

  4. tinshou commented on Dec 1, 2023

    @tinshou

    I found the reason!

    http needs to be upgrade to https.

    reference: gorilla-devs/GDLauncher#1513

    Hi , could you help to point out where to change http protocol? I am facing the same issue, but can't find the place to change this, thank you so much!

  5. YXHXianYu commented on Dec 6, 2023

    @YXHXianYu

    I found the reason!
    http needs to be upgrade to https.
    reference: gorilla-devs/GDLauncher#1513

    Hi , could you help to point out where to change http protocol? I am facing the same issue, but can't find the place to change this, thank you so much!

    Reference:https://github.com/gorilla-devs/GDLauncher/issues/1513#issuecomment-1386022976。
    Reference's Content:
    I'm seeing the same issue, just installed gd launcher from the website on a new windows 11 install.
    The issue seems to be that all of the minecraft resources are being requested as http, when they need to be https
    e.g. http://resources.download.minecraft.net/35/35804fade414c6d27ab36816569828d4d8483078 doesn't work in a browser, but will work if changed to https://resources.download.minecraft.net/35/35804fade414c6d27ab36816569828d4d8483078

    I have forgotten the specific operational steps. According to the original text's description, you can try using an Integrated Development Environment (IDE) for a global search, searching for "resources.download.minecraft.net," and changing the "http" to "https" for all the URLs you find.

  6. chrissound commented on Feb 22, 2024

    @chrissound

    This can be worked around via a proxy

    For example:

    user nginx;
    pid /run/nginx.pid;
    
    events {
        worker_connections 1024;
    }
    
    http {
        include /etc/nginx/mime.types;
        default_type application/octet-stream;
    
        access_log /var/log/nginx/access.log;
        error_log /var/log/nginx/error.log;
    
        server {
            listen 80;
            server_name _;
            
            location / {
                proxy_pass https://resources.download.minecraft.net/;
                proxy_set_header Host resources.download.minecraft.net;
                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header X-Forwarded-Proto $scheme;
                proxy_ssl_verify off;
                proxy_ssl_session_reuse on;
            }
        }
    }
    

    Run that with nginx -c /absolute/path/to/above/nginx.confg, and then add it to yours hosts file:

    echo "127.0.0.1 resources.download.minecraft.net" >> /etc/hosts
    
  7. huidangling commented on May 7, 2024

    @huidangling

    +1 It takes 30+min to download and show error messages every time i start a minecraft instance...... Sad TAT

    I think this is because the website(resources.download.minecraft.net)'s links have changed (maybe since Feb) and i have no idea how to fix it.

    well, i accessed this website directly, and found the error page is :

    <Error>
    <Code>AccountRequiresHttps</Code>
    <Message>The account being accessed does not support http. RequestId:0fd49aa8-201e-0065-0f6c-a017d8000000 Time:2024-05-07T10:51:57.6540960Z</Message>
    <AccountName>resourcesdownloadminecra</AccountName>
    </Error>
    

    Add an 's' after p, it well work.
    Thank you for the ideas you provided.

  8. huidangling commented on May 7, 2024

    @huidangling

    I found the reason!
    http needs to be upgrade to https.
    reference: gorilla-devs/GDLauncher#1513

    Hi , could you help to point out where to change http protocol? I am facing the same issue, but can't find the place to change this, thank you so much!

    Reference:https://github.com/gorilla-devs/GDLauncher/issues/1513#issuecomment-1386022976。 Reference's Content: I'm seeing the same issue, just installed gd launcher from the website on a new windows 11 install. The issue seems to be that all of the minecraft resources are being requested as http, when they need to be https e.g. http://resources.download.minecraft.net/35/35804fade414c6d27ab36816569828d4d8483078 doesn't work in a browser, but will work if changed to https://resources.download.minecraft.net/35/35804fade414c6d27ab36816569828d4d8483078

    I have forgotten the specific operational steps. According to the original text's description, you can try using an Integrated Development Environment (IDE) for a global search, searching for "resources.download.minecraft.net," and changing the "http" to "https" for all the URLs you find.

    I tried to find 'resources.download.minecraft.net', but it seems like not in the release package, I believe these resources are referencing external resources.
    Means I cant change the "http" to "https"...
    Are you sure you succeeded by this method?

  9. r3lativo commented on Dec 2, 2024

    @r3lativo

    I found the reason!
    http needs to be upgrade to https.
    reference: gorilla-devs/GDLauncher#1513

    Hi , could you help to point out where to change http protocol? I am facing the same issue, but can't find the place to change this, thank you so much!

    Reference:gorilla-devs/GDLauncher/issues/1513#issuecomment-1386022976。 Reference's Content: I'm seeing the same issue, just installed gd launcher from the website on a new windows 11 install. The issue seems to be that all of the minecraft resources are being requested as http, when they need to be https e.g. http://resources.download.minecraft.net/35/35804fade414c6d27ab36816569828d4d8483078 doesn't work in a browser, but will work if changed to resources.download.minecraft.net/35/35804fade414c6d27ab36816569828d4d8483078
    I have forgotten the specific operational steps. According to the original text's description, you can try using an Integrated Development Environment (IDE) for a global search, searching for "resources.download.minecraft.net," and changing the "http" to "https" for all the URLs you find.

    I tried to find 'resources.download.minecraft.net', but it seems like not in the release package, I believe these resources are referencing external resources. Means I cant change the "http" to "https"... Are you sure you succeeded by this method?

    I am having the same issue and I am unable to fix it. Looking for "resources.download.minecraft.net" via VSCode points me nowhere. I did not manage to set up a proxy and I am stuck. I was only able to use a docker image as written here but it's somewhat different and I still have some problems

  10. luckyabsoluter commented on Dec 11, 2024

    @luckyabsoluter

    To use proxy in Windows

    1. Open C:\Windows\System32\drivers\etc\hosts
    2. Add 127.0.0.1 resources.download.minecraft.net as new line
    3. Done!
    4. (Option) ipconfig /flushdns
  11. luckyabsoluter commented on Dec 11, 2024

    @luckyabsoluter

    Currently(b59258d), this project use net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT, Minecraft 1.11.
    net.minecraftforge.gradle:ForgeGradle:2.3 use Minecraft 1.12 or more, so you can't fix the issue even change net.minecraftforge.gradle:ForgeGradle version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions