Posted February 7, 20232 yr Error downloading asset (try 2) : minecraft/sounds/block/fence_gate/close2.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/58/58d63232621aaa03e4d09598700561214e7c2477 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1902) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500) at java.net.URL.openStream(URL.java:1093) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) This and countless other assets failing to download. This is my school laptop, Programs such as Fortiguard are installed, Could this possibly be interfering?
February 7, 20232 yr It depends on your school's internet. If they disallow visiting certain websites and downloading certain programs, then you either need a vpn or not be on the school. I haven't seen a school internet do so however. You can verify by downloading the assets when you load up Minecraft in the vanilla launcher for the first time.
February 7, 20232 yr Author This XML file does not appear to have any style information associated with it. The document tree is shown below. <Error> <Code>AccountRequiresHttps</Code> <Message>The account being accessed does not support http. RequestId:d30f7b12-d01e-0059-1e3b-3ba838000000 Time:2023-02-07T21:29:53.9796504Z</Message> <AccountName>resourcesdownloadminecra</AccountName> </Error> Could you please verify when accessing Quote http://resources.download.minecraft.net/58/58d63232621aaa03e4d09598700561214e7c2477 we both get the same message? Chunk of Javascript at the bottom that did not pass copy and paste, This link is where it gets the asset.
February 8, 20232 yr Well, reading it, it says that it must be a https request, not an http one. Could you please provide the entire log of the original error? I'd imagine this is a fallback from the first attempt failing.
February 9, 20232 yr Author I will run getAssets task and provide the log. https://www.mediafire.com/file/bibvb7zougyzkl1/log.txt/file
February 9, 20232 yr Please provide the log as a gist or a pastebin. Apologies, but we do not download files from the internet.
May 29, 20232 yr I encountered the same problem while executing 'setupDevWorkspace', and the log is as follows: Current status: 971/1305 74% Error downloading asset (try 5) : minecraft/sounds/mob/wither_skeleton/hurt4.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/0f/0f1b391091236dadf8ab0108185d450639e54879 at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Error downloading asset (try 4) : minecraft/sounds/mob/wither_skeleton/idle1.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/0e/0e6d00d4c3f24a4e86eace20e63283a7d409854f at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Error downloading asset (try 1) : minecraft/sounds/mob/wither_skeleton/idle2.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/8c/8c5427b9b55d9cdc3910e5c608be4c70f83f90ea at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Error downloading asset (try 5) : minecraft/sounds/mob/wither_skeleton/idle1.ogg java.io.IOException: Server returned HTTP response code: 400 for URL: http://resources.download.minecraft.net/0e/0e6d00d4c3f24a4e86eace20e63283a7d409854f at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1894) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492) at java.net.URL.openStream(URL.java:1045) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:189) at net.minecraftforge.gradle.tasks.DownloadAssetsTask$GetAssetTask.call(DownloadAssetsTask.java:150) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Current status: 972/1305 74%
May 29, 20232 yr I'm trying to open it in a browser“ http://resources.download.minecraft.net/0e/0e6d00d4c3f24a4e86eace20e63283a7d409854f ”, failed; But I tried to modify the URL to“ https://resources.download.minecraft.net/0e/0e6d00d4c3f24a4e86eace20e63283a7d409854f ”It can be accessed normally in the browser, perhaps where can I modify the base URL?
May 30, 20232 yr Since it's on different tries, I would imagine it fails to download it from the https address originally and then tries falling back. You could try looking through the login errors to see whether there is a likely connection issue:
August 9, 20232 yr I had the same problem, I've literally tried all kinds of methods, but none of them work, what should I do??
August 10, 20232 yr Author 17 hours ago, IDoNotEatALot said: I had the same problem, I've literally tried all kinds of methods, but none of them work, what should I do?? The issue was i didnt have forge nor minecraft on my laptop. Ensure you have forge client installed and the minecraft version downloaded.
August 10, 20232 yr Author On 5/29/2023 at 4:45 PM, 相东 李 said: I'm trying to open it in a browser“ http://resources.download.minecraft.net/0e/0e6d00d4c3f24a4e86eace20e63283a7d409854f ”, failed; But I tried to modify the URL to“ https://resources.download.minecraft.net/0e/0e6d00d4c3f24a4e86eace20e63283a7d409854f ”It can be accessed normally in the browser, perhaps where can I modify the base URL? The issue was i didnt have forge nor minecraft on my laptop. Ensure you have forge client installed and the minecraft version downloaded.
August 23, 20232 yr On 8/10/2023 at 10:45 AM, PaulBB said: The issue was i didnt have forge nor minecraft on my laptop. Ensure you have forge client installed and the minecraft version downloaded. Thanks, I have already solved this problem by copying minecraft assets directly into gradle caches directory. After reading ForgeGradle 2.1 source code, I found its base URL for downloading assets starts with an http instead of an https, that’s probably why this problem exists. Edited August 23, 20232 yr by IDoNotEatALot
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.