Problem with installing forge (GRADLE_NO_INTERNET [-21])

Published by Fed177 on Thu, 11/22/2018 - 19:42
Status
Fixed
Type
Product/platform
MCreator/macOS
Priority
Normal
Issue description

I have problem with first opening Mcreator on my iMac. App recommend me to turn off firewall and antivirus. But I only have Brandmauer and it's disabled. What i need to do?

 

A problem occurred configuring root project 'forge'.

> Could not resolve all dependencies for configuration ':classpath'.

> Could not resolve com.google.guava:guava:18.0.

     Required by:

:forge:unspecified

      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT

> Could not resolve com.google.guava:guava:18.0.

> Could not get resource 'https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom'.

> Could not GET 'https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom'.

> Connection reset

> Could not resolve com.cloudbees:diff4j:1.1.

     Required by:

:forge:unspecified

      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT

> Could not resolve com.cloudbees:diff4j:1.1.

> Could not get resource 'https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom'.

> Could not GET 'https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom'.

> Connection reset

> Could not resolve com.github.abrarsyed.jastyle:jAstyle:1.3.

     Required by:

:forge:unspecified

      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT

> Could not resolve com.github.abrarsyed.jastyle:jAstyle:1.3.

> Could not get resource 'https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jA…'.

> Could not GET 'https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jA…'.

> Connection reset

> Could not resolve net.sf.trove4j:trove4j:2.1.0.

     Required by:

:forge:unspecified

      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT

> Could not resolve net.sf.trove4j:trove4j:2.1.0.

> Could not get resource 'https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0…'.

> Could not GET 'https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0…'.

> Connection reset

> Could not resolve com.google.code.gson:gson:2.2.4.

     Required by:

:forge:unspecified

      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT

> Could not resolve com.google.code.gson:gson:2.2.4.

> Could not get resource 'https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4…'.

> Could not GET 'https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4…'.

> Connection reset

> Could not resolve com.github.tony19:named-regexp:0.2.3.

     Required by:

:forge:unspecified

      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT

> Could not resolve com.github.tony19:named-regexp:0.2.3.

> Could not get resource 'https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-…'.

> Could not GET 'https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-…'.

> Connection reset

> Could not resolve org.apache.httpcomponents:httpclient:4.3.3.

     Required by:

:forge:unspecified

      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT

> Could not resolve org.apache.httpcomponents:httpclient:4.3.3.

> Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…'.

> Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…'.

> Connection reset

> Could not resolve org.apache.httpcomponents:httpmime:4.3.3.

     Required by:

:forge:unspecified

      > net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT

> Could not resolve org.apache.httpcomponents:httpmime:4.3.3.

> Could not get resource 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/ht…'.

> Could not GET 'https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/ht…'.

> 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: 19.139 secs

Task completed with return code 1 in 20943 milliseconds

 

help me please

Attachment Size
Снимок экрана 2018-11-22 в 23.00.27.png526.05 KB 526.05 KB

Issue comments

The error you provided can be caused by any of these causes:

  • No internet connection
  • Slow internet connection
  • Firewall (on the computer, router or modem) blocking MCreator
  • AV blocking MCreator
  • ISP blocking MCreator or domains it is trying to access

Try to access one of the URLs in the log from the browser, for example, this one: https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom

If you can not access these files there too, it is an issue in general, otherwise, you can assume only MCreator got blocked when trying to access these files.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.