Gradle was not able to access the internet connection

Started by Joe_Michael on

Topic category: Feature requests and ideas for MCreator

Last seen on 03:13, 31. Mar 2020
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle was not able to access the internet connection
Tue, 01/21/2020 - 16:53 (edited)

So, when i tried to make a new workspace in the version 2019.5 then theres a error,its always stay on"Setting up Gradle project".

 

Mcreator step failed!

Gradle was not able to access the internet connection!

 

   
Executing gradle task: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 2019.5.51710, 1.12.2, 64-bit, 16211 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: E:\Pylo\MCreator\jdk
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'standard_blt_sandwich_1.12.2'.
> Could not resolve all files for configuration ':classpath'.
   > Could not download guava.jar (com.google.guava:guava:18.0)
      > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar'.
         > Read timed out
* 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 3m 15s
BUILD FAILED
   
Executing gradle task: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 2019.5.51710, 1.12.2, 64-bit, 16211 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: E:\Pylo\MCreator\jdk
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'standard_blt_sandwich_1.12.2'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
     Required by:
         project :
      > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT.
         > Could not get resource 'https://jcenter.bintray.com/net/minecraftforge/gradle/ForgeGradle/2.3-S…'.
            > Could not HEAD 'https://jcenter.bintray.com/net/minecraftforge/gradle/ForgeGradle/2.3-S…'.
               > Connect to repo.jfrog.org:443 [repo.jfrog.org/52.6.195.80, repo.jfrog.org/34.225.98.75] failed: Read timed out
* 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 1m 30s
BUILD FAILED
   
Executing gradle task: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 2019.5.51710, 1.12.2, 64-bit, 16211 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: E:\Pylo\MCreator\jdk
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'standard_blt_sandwich_1.12.2'.
> Could not resolve all files for configuration ':classpath'.
   > Could not download guava.jar (com.google.guava:guava:18.0)
      > Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.jar'.
         > Read timed out
* 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 2m 55s
BUILD FAILED
   
Executing gradle task: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 2019.5.51710, 1.12.2, 64-bit, 16211 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: E:\Pylo\MCreator\jdk
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'standard_blt_sandwich_1.12.2'.
> Could not resolve all files for configuration ':classpath'.
   > Could not resolve net.minecraftforge:forgeflower:1.0.342-SNAPSHOT.
     Required by:
         project : > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT
      > Could not resolve net.minecraftforge:forgeflower:1.0.342-SNAPSHOT.
         > Unable to load Maven meta-data from https://jcenter.bintray.com/net/minecraftforge/forgeflower/1.0.342-SNAP….
            > Could not get resource 'https://jcenter.bintray.com/net/minecraftforge/forgeflower/1.0.342-SNAP…'.
               > Could not GET 'https://jcenter.bintray.com/net/minecraftforge/forgeflower/1.0.342-SNAP…'.
                  > Read timed out
   > Could not resolve org.jvnet.localizer:localizer:1.12.
     Required by:
         project : > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT > com.cloudbees:diff4j:1.1
      > Skipped due to earlier error
   > Could not resolve commons-io:commons-io:1.4.
     Required by:
         project : > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT > com.cloudbees:diff4j:1.1
      > Skipped due to earlier error
   > Could not resolve org.apache.httpcomponents:httpcore:4.3.2.
     Required by:
         project : > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT > org.apache.httpcomponents:httpclient:4.3.3
      > Skipped due to earlier error
   > Could not resolve commons-logging:commons-logging:1.1.3.
     Required by:
         project : > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT > org.apache.httpcomponents:httpclient:4.3.3
      > Skipped due to earlier error
   > Could not resolve commons-codec:commons-codec:1.6.
     Required by:
         project : > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT > org.apache.httpcomponents:httpclient:4.3.3
      > Skipped due to earlier error
* 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 1m 56s
BUILD FAILED

 

Edited by Joe_Michael on Tue, 01/21/2020 - 16:53
The solution to this problem…
Tue, 01/21/2020 - 16:53

The solution to this problem and many other problems can be found in our knowledge base: https://mcreator.net/support/knowledgebase Please check the knowledge base before opening a new topic on the issue which has a known fix.