Gradle Taske Failed

Status
Fixed
Issue description

I get an error every time I try to setup MCreator and I can't find why it doesn't work.

Here are the logs :

   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 4094 MB, Windows 10 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Users\HomeUser\Desktop\MCreator 1.8.1\.\jdk
C:\Users\HomeUser\Desktop\MCreator 
      1.8.1\forge>gradlew -Dorg.gradle.daemon=true -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms1024m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
Starting a new Gradle Daemon for this build (subsequent builds will be faster).
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-3996470        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-…
Download https://files.minecraftforge.net/maven/net/minecraftforge/forge/1.12.2-…
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs
:downloadClient FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':downloadClient'.
> javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 14 mins 14.909 secs
C:\Users\HomeUser\Desktop\MCreator 
      1.8.1\forge>
Task completed with return code 0 in 858843 milliseconds
   
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 4094 MB, Windows 10 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Users\HomeUser\Desktop\MCreator 1.8.1\.\jdk
C:\Users\HomeUser\Desktop\MCreator 
      1.8.1\forge>gradlew -Dorg.gradle.daemon=true -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms1024m -Xmx1024m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
:cleanCache
:clean UP-TO-DATE
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData
:extractMcpMappings
:genSrgs

--------------------------------------------------------------------------------------------------------------------------- (I marked this.)
:downloadClient FAILED

FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':downloadClient'.
> javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Connection reset
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 8 mins 10.49 secs
C:\Users\HomeUser\Desktop\MCreator 
      1.8.1\forge>
Task completed with return code 0 in 493213 milliseconds

--------------------------------------------------------------------------------------------------------------------------- (Just to say this is where it says an error happened)

 

Issue comments

So what is happening? and why didn't it download the client? My internet is fine, so what's going on?

It could be that forge servers are down or your Antivirus or Firewall is blocking MCreator. Try to rule these out and do a new clean install.

Ooh yeah I remeber cancelling the request saying that firewall has blocked some features, anyways thanks for the solution!

 

<3

OK I fixed that by using a website that tells me how to allow an application of any type through the firewall so it's unneeded so thanks!

Hey Klemen, how can I change the health of a provided entity by some number? Like what I mean is like add health to the entity and lower it's health because the entity's health could be 1 and I need to add 4 more to the entity so it's health could be 5 and if it's health is 2 then I want to not set it just add up to the number of the entity's HP by 4, do you have an idea for that?

(DISCLAIMER: So just as a quick disclaimer I just downloaded this version and it seems like a whole new experience and since I haven't actually touched the program for quite a while before I downloaded 1.8.1 I didn't what to expect and so it seems like I have touched this for the very first time so yeah that's why I asked that.)