Gradle can't connect to the internet

Published by Mike_fun on
Status
Resolved
Issue description

Reinstalled java. Reinstalled mcreator older ver. Disabled firewall. Disabled antivirus. Enabled again. Installed mcreator newer ver. again. Spent 2 hours and still not working.

Log down here

   
   
   
Executing gradle task: setupDecompWorkspace --refresh-dependencies
Build info: MCreator 2020.1.05419, 1.12.2, 64-bit, 8132 MB, Windows 10, JVM 1.8.0_232, JAVA_HOME: C:\Program Files\Pylo\MCreator\jdk
This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril.
#################################################
         ForgeGradle 2.3-SNAPSHOT-6084129e        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
                 Powered by MCP                  
             http://modcoderpack.com             
     by: Searge, ProfMobius, R4wk, ZeuX          
     Fesh0r, IngisKahn, bspkrs, LexManos         
#################################################
:deobfCompileDummyTask
:deobfProvidedDummyTask
:getVersionJson
:extractUserdev
:extractDependencyATs SKIPPED
:extractMcpData SKIPPED
:extractMcpMappings SKIPPED
:genSrgs SKIPPED
:downloadClient SKIPPED
:downloadServer SKIPPED
:splitServerJar SKIPPED
:mergeJars SKIPPED
:deobfMcSRG SKIPPED
:decompileMc FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':decompileMc'.
> Could not resolve all files for configuration ':forgeGradleMcDeps'.
   > Could not resolve com.mojang:patchy:1.1.
     Required by:
         project :
      > Could not resolve com.mojang:patchy:1.1.
         > Could not get resource 'https://libraries.minecraft.net/com/mojang/patchy/1.1/patchy-1.1.pom'.
            > Could not GET 'https://libraries.minecraft.net/com/mojang/patchy/1.1/patchy-1.1.pom'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve oshi-project:oshi-core:1.1.
     Required by:
         project :
      > Could not resolve oshi-project:oshi-core:1.1.
         > Could not get resource 'https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1…'.
            > Could not GET 'https://libraries.minecraft.net/oshi-project/oshi-core/1.1/oshi-core-1…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.ibm.icu:icu4j-core-mojang:51.2.
     Required by:
         project :
      > Could not resolve com.ibm.icu:icu4j-core-mojang:51.2.
         > Could not get resource 'https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4…'.
            > Could not GET 'https://libraries.minecraft.net/com/ibm/icu/icu4j-core-mojang/51.2/icu4…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.mojang:authlib:1.5.25.
     Required by:
         project :
      > Could not resolve com.mojang:authlib:1.5.25.
         > Could not get resource 'https://libraries.minecraft.net/com/mojang/authlib/1.5.25/authlib-1.5.2…'.
            > Could not GET 'https://libraries.minecraft.net/com/mojang/authlib/1.5.25/authlib-1.5.2…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.mojang:realms:1.10.22.
     Required by:
         project :
      > Could not resolve com.mojang:realms:1.10.22.
         > Could not get resource 'https://libraries.minecraft.net/com/mojang/realms/1.10.22/realms-1.10.2…'.
            > Could not GET 'https://libraries.minecraft.net/com/mojang/realms/1.10.22/realms-1.10.2…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.mojang:text2speech:1.10.3.
     Required by:
         project :
      > Could not resolve com.mojang:text2speech:1.10.3.
         > Could not get resource 'https://libraries.minecraft.net/com/mojang/text2speech/1.10.3/text2spee…'.
            > Could not GET 'https://libraries.minecraft.net/com/mojang/text2speech/1.10.3/text2spee…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve net.minecraft:launchwrapper:1.12.
     Required by:
         project :
      > Could not resolve net.minecraft:launchwrapper:1.12.
         > Could not get resource 'https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launch…'.
            > Could not GET 'https://libraries.minecraft.net/net/minecraft/launchwrapper/1.12/launch…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve lzma:lzma:0.0.1.
     Required by:
         project :
      > Could not resolve lzma:lzma:0.0.1.
         > Could not get resource 'https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.pom'.
            > Could not GET 'https://libraries.minecraft.net/lzma/lzma/0.0.1/lzma-0.0.1.pom'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.paulscode:codecjorbis:20101023.
     Required by:
         project :
      > Could not resolve com.paulscode:codecjorbis:20101023.
         > Could not get resource 'https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/code…'.
            > Could not GET 'https://libraries.minecraft.net/com/paulscode/codecjorbis/20101023/code…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.paulscode:codecwav:20101023.
     Required by:
         project :
      > Could not resolve com.paulscode:codecwav:20101023.
         > Could not get resource 'https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwa…'.
            > Could not GET 'https://libraries.minecraft.net/com/paulscode/codecwav/20101023/codecwa…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.paulscode:libraryjavasound:20101123.
     Required by:
         project :
      > Could not resolve com.paulscode:libraryjavasound:20101123.
         > Could not get resource 'https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123…'.
            > Could not GET 'https://libraries.minecraft.net/com/paulscode/libraryjavasound/20101123…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.paulscode:librarylwjglopenal:20100824.
     Required by:
         project :
      > Could not resolve com.paulscode:librarylwjglopenal:20100824.
         > Could not get resource 'https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/201008…'.
            > Could not GET 'https://libraries.minecraft.net/com/paulscode/librarylwjglopenal/201008…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve com.paulscode:soundsystem:20120107.
     Required by:
         project :
      > Could not resolve com.paulscode:soundsystem:20120107.
         > Could not get resource 'https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soun…'.
            > Could not GET 'https://libraries.minecraft.net/com/paulscode/soundsystem/20120107/soun…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209.
     Required by:
         project :
      > Could not resolve org.lwjgl.lwjgl:lwjgl:2.9.4-nightly-20150209.
         > Could not get resource 'https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-201…'.
            > Could not GET 'https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl/2.9.4-nightly-201…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209.
     Required by:
         project :
      > Could not resolve org.lwjgl.lwjgl:lwjgl_util:2.9.4-nightly-20150209.
         > Could not get resource 'https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightl…'.
            > Could not GET 'https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl_util/2.9.4-nightl…'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
   > Could not resolve java3d:vecmath:1.5.2.
     Required by:
         project :
      > Could not resolve java3d:vecmath:1.5.2.
         > Could not get resource 'https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.pom'.
            > Could not GET 'https://libraries.minecraft.net/java3d/vecmath/1.5.2/vecmath-1.5.2.pom'.
               > Connect to libraries.minecraft.net:443 [libraries.minecraft.net/54.192.98.72] failed: Connection refused: connect
* 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 54s
5 actionable tasks: 5 executed
BUILD FAILED

Issue comments