Help, Gradle is not able to access the internet.

Started by tuxbuilder70 on

Topic category: Help with MCreator software

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help, Gradle is not able to access the internet.

Gradle Isn't working and I can't use mcreator. please help.

Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
As long as everything was
Thu, 11/03/2016 - 14:41

As long as everything was installed during the initial down load then mcreator should work fine without internet. Could you be more specific with the actual problem?

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:As long as everything was
Fri, 11/04/2016 - 23:20

Yes, When I open mcreator, It shows an error message saying, "Not able to connect to the internet". However, I have the internet active. Do you know what's wrong? Is it an antivirus?

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This  shows up    Executing
Sat, 11/05/2016 - 05:55

This  shows up    
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\Pylo\MCreator170>cd forge
C:\Pylo\MCreator170\forge>SET "JAVA_HOME=C:\Pylo\MCreator170\jdk64\"
C:\Pylo\MCreator170\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe
C:\Pylo\MCreator170\forge>SET PATH=%JAVA_HOME%\bin\;%PATH%
C:\Pylo\MCreator170\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.7/userguide/gradle_daemon.html.
FAILURE: Build failed with an exception.
* What went wrong:
BUILD FAILED
A problem occurred configuring root proj> Could not resolve all dependencies for configuration ':classpath'.
ect 'forge'.
Total time: 1 mins 10.136 secs
   > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT.
     Required by:
         :forge:unspecified
      > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT.
         > Unable to load Maven meta-data from http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr….
            > Could not GET 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…;.
               > Address family not supported by protocol family: connect
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
C:\Pylo\MCreator170\forge>
Task completed with return code 0 in 87134 milliseconds

 

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey,
Sat, 01/14/2017 - 15:41

Hey,

I am receiving the same error.  Were you ablke to resolve the issue? 

Any assistance is greatrly appreciated. Thank you!

 

Joined Feb 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
same thing happened too me  
Sat, 02/04/2017 - 20:25

same thing happened too me

 

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Same issue here. it was not
Sun, 02/05/2017 - 12:54

Same issue here. it was not my firewall or antivirus, have active internet connection. But it throws the same error. 

Joined Feb 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Same...
Sun, 02/05/2017 - 13:12

Same...

It was working yesterday but now it doesnt work :/

Joined Jul 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I AM HAVING THE SAME ISSUE!
Tue, 02/07/2017 - 01:11

I AM HAVING THE SAME ISSUE! HALP US

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Seeing the amount of people
Tue, 02/07/2017 - 20:22

Seeing the amount of people that have the same issue, my guess is that the server Forge downloads its metadata from, is down. It'll soon be fixed or it has been fixed already by the time I post this comment.

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OK.. I too am having the same
Sat, 03/11/2017 - 11:54

OK.. I too am having the same issue... ERROR CODE GRADLE_NO_INTERNET [-21] indicates that the internet connection is needed to complete some tasks.. I have Internet with a very good connection -- I disabled the antivirus AND Firewall before starting the program and still receive this error.

Alot of people are getting this error.. please some addtional instruction on this..

Thank you for your time.

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:OK.. I too am having the same
Sat, 03/11/2017 - 12:05

FYI to others...

Actually... I may have found my issue, not 100% sure until I figure how avast is manageing the Window 7 Firewalls..

Even though I turn Avast off the Window 7 Firewalls are still active yet I have not rights to them yet...

 

 

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wish you could edit these
Sat, 03/11/2017 - 12:33

I wish you could edit these posts instead of creating new ones.. Creating a firewall rule for Mcreator does not work and the program itself will not work unless Gradle accesses the Internet ..

It can be firewall problem,
Sat, 03/11/2017 - 13:49

It can be firewall problem, but right now, even I can't install MCreator when I am developing it (at the time of posting this - right now I can confirm that servers are overloaded).

The problem is that Minecraft Forge servers can't serve the amount of the requests they are getting right now most likely. Try to use/install it again and if still does not work, try it later when the servers won't be so overwhelmed. I am sorry that this is happening but there is not much I can do about this.

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:It can be firewall problem,
Sat, 03/11/2017 - 23:37

@#13 ... That does sound logical Klemen, however, I did not think that the servers would be that overloaded between 3AM - 5AM.. but could deffently be wrong as it is a weekend too...

I did uninstall and reinstall, each time doing something different... the last time I received a more promising error --- instead of a flat out error I received that the Gradle task failed! and MCreator was not able to detect the reason for the error. Please redo your last action..

By this time I was to tired.. will keep working with it.. thank you for your input Klemen.. muchly appreciated!!!