Jump to content

Error downloading asset


PaulBB

Recommended Posts

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? 

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

  • 3 months later...

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%

 

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...
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
Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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