Gradle not accessing internet connection

Started by personhuman on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 15:35, 7. Aug 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Gradle not accessing internet connection

I'm trying to create a mod but it keeps claiming to not be able to access the internet connection.

"Gradle was not able to access the internet connection!"

"Executing Gradle task: eclipse
Build info: MCreator 2023.1.10610, forge-1.19.2, 64-bit, 32584 MB, Windows 10, JVM 17.0.5, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk, started on: 2023-04-20-13:01:44
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'blah blah blah'.
> Could not resolve all files for configuration ':classpath'.
> Could not resolve net.minecraftforge.gradle:ForgeGradle:5.1.+.
 Required by:
 project :
 > Failed to list versions for net.minecraftforge.gradle:ForgeGradle.
 > Unable to load Maven meta-data from https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/….
 > Could not GET 'https://maven.minecraftforge.net/net/minecraftforge/gradle/ForgeGradle/…'.
  > 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 36s
BUILD FAILED
Task completed in 1 minute and 36 seconds"