Jump to content

Recommended Posts

Posted
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? 

Posted

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.

Posted
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

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.

 

  • 3 months later...
Posted

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%

 

Posted

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?

Posted

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:

 

  • 2 months later...
Posted
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.

Posted
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.

  • 2 weeks later...
Posted (edited)
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 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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.