Setup Failed

Started by Plexed on

Topic category: Troubleshooting, bugs, and solutions

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Setup Failed

I got this error, Can someone help I already did the Gradle stuff and nothing works, 

Executing 
    Gradle task: eclipse

Build 
    info: MCreator 2020.3.22116, forge-1.15.2, 64-bit, 16267 MB, Windows 10, 
    JVM 1.8.0_252, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk


    Configure project :

New 
    Dep: net.minecraftforge:forge:1.15.2-31.2.0_mapped_snapshot_20200514-1.15.1


    Task :downloadMcpConfig


    Task :extractSrg UP-TO-DATE


    Task :createSrgToMcp UP-TO-DATE


    Task :downloadMCMeta UP-TO-DATE

Downloading: 
    http://resources.download.minecraft.net/27/27d8af498c6e1a7f5ea26ab74686…;
    Asset: minecraft/sounds/block/sweet_berry_bush/place2.ogg

Downloading: 
    http://resources.download.minecraft.net/40/405e2f82caef7f79eb9e26886520…;
    Asset: minecraft/sounds/mob/endermen/idle4.ogg

Downloading: 
    http://resources.download.minecraft.net/a8/a8eb0b1ce4abb53334ab75be82dc…;
    Asset: minecraft/sounds/mob/spider/step2.ogg

Downloading: 
    http://resources.download.minecraft.net/5b/5bb5a04e776d69ca12b1d7bc3699…;
    Asset: minecraft/sounds/random/door_open.ogg

minecraft/sounds/block/sweet_berry_bush/place2.ogg 
    downloading fails.

minecraft/sounds/mob/endermen/idle4.ogg 
    downloading fails.

java.net.SocketTimeoutException: 
    Read timed out

 
      at java.net.SocketInputStream.socketRead0(Native Method)

 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:171)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:171)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:141)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:141)

 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)

 
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)

 
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

 
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…

 
      at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)

 
      at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)

 
      at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:61)

 
      at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:61)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 
      at java.lang.Thread.run(Thread.java:748)

 
      at java.lang.Thread.run(Thread.java:748)

java.net.SocketTimeoutException: 
    Read timed out

 
      at java.net.SocketInputStream.socketRead0(Native Method)

 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:171)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:171)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:141)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:141)

 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)

 
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)

 
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

 
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…

 
      at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)

 
      at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)

 
      at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:61)

 
      at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:61)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 
      at java.lang.Thread.run(Thread.java:748)

 
      at java.lang.Thread.run(Thread.java:748)

minecraft/sounds/mob/spider/step2.ogg 
    downloading fails.

java.net.SocketTimeoutException: 
    Read timed out

 
      at java.net.SocketInputStream.socketRead0(Native Method)

 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:171)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:171)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:141)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:141)

 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)

 
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)

 
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

 
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…

 
      at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)

 
      at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)

 
      at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:61)

 
      at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:61)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 
      at java.lang.Thread.run(Thread.java:748)

 
      at java.lang.Thread.run(Thread.java:748)

minecraft/sounds/random/door_open.ogg 
    downloading fails.

java.net.SocketTimeoutException: 
    Read timed out

 
      at java.net.SocketInputStream.socketRead0(Native Method)

 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 
      at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:171)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:171)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:141)

 
      at java.net.SocketInputStream.read(SocketInputStream.java:141)

 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)

 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)

 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 
      at java.io.BufferedInputStream.read(BufferedInputStream.java:345)

 
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)

 
      at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)

 
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

 
      at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…

 
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…

 
      at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)

 
      at org.apache.commons.io.FileUtils.copyURLToFile(FileUtils.java:1489)

 
      at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:61)

 
      at net.minecraftforge.gradle.common.task.DownloadAssets.lambda$run$0(DownloadAssets.java:61)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

 
      at java.lang.Thread.run(Thread.java:748)

 
      at java.lang.Thread.run(Thread.java:748)


    Task :downloadAssets FAILED

FAILURE: 
    Build failed with an exception.


    What went wrong:

Execution 
    failed for task ':downloadAssets'.


    Downloading failed Asset: minecraft/sounds/mob/endermen/idle4.ogg

 
     Downloading failed Asset: 
    minecraft/sounds/block/sweet_berry_bush/place2.ogg

 
     Downloading failed Asset: minecraft/sounds/mob/spider/step2.ogg

 
     Downloading failed Asset: minecraft/sounds/random/door_open.ogg

 
     Don't panic. There are just some assets downloading fails, Maybe you 
    should try to run again the task which you just ran.


    Try:

Run 
    with --stacktrace option to get the stack trace. Run with --info or 
    --debug option to get more log output. Run with --scan to get full 
    insights.


    Get more help at https://help.gradle.org

BUILD 
    FAILED in 10s


    actionable tasks: 2 executed, 3 up-to-date

BUILD 
    FAILED

Task 
    completed in 30868 milliseconds

 

https://mcreator.net/support…
Sun, 07/19/2020 - 08:59

https://mcreator.net/support/knowledgebase:

In most cases all Gradle errors are caused by one of these:

  • Firewall or antivirus blocking MCreator
  • Slow internet connection
  • Your ISP blocking certain websites
  • Too slow VPN or VPN with blocked domains that MCreator needs to access
  • Any other software blocking access to download repository

The most common errors from Gradle are caused by firewalls or antivirus software. If you have any issues, we recommend you to temporarily turn off this software and try again. If this works, add MCreator as an exception to your firewall or antivirus or reconfigure the software properly to not block programs such as MCreator.

It can also happen that the servers from which Gradle downloads files (Minecraft servers, Minecraft Forge repo, Maven repository) are down and you might just need to try again later in such cases.

In some cases of unstable or slow connections, running the setup multiple times and when it fails with errors related to the internet connection (timeout errors, failed to connect, failed to GET, HEAD, ...) clicking re-run the setup multiple times resolves the issue as eventually, all files get properly downloaded.

Also, take a read of  https://mcreator.net/wiki/general-publishing-guidelines (about where long logs belong)