First gym.make() stucked in downloading MixinGradle-dcfaf61.jar

#1

Hello,

My first gym.make() often stucked in downloading MixinGradle-dcfaf61.jar

The logs are:

INFO:minerl.env.malmo.instance.7c289d:Starting Minecraft process: [’/tmp/tmpyp566u9g/Minecraft/launchClient.sh’, ‘-port’, ‘9001’, ‘-env’, ‘-runDir’, ‘/tmp/tmpyp566u9g/Minecraft/run’]
INFO:minerl.env.malmo.instance.7c289d:Starting process watcher for process 7436 @ localhost:9001
DEBUG:minerl.env.malmo.instance.7c289d:Downloading https://services.gradle.org/distributions/gradle-2.14-bin.zip
DEBUG:minerl.env.malmo.instance.7c289d:…
DEBUG:minerl.env.malmo.instance.7c289d:Unzipping /root/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14-bin.zip to /root/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk
DEBUG:minerl.env.malmo.instance.7c289d:Set executable permissions for: /root/.gradle/wrapper/dists/gradle-2.14-bin/76oc0mnc3ieqtsukq90mp0rxk/gradle-2.14/bin/gradle
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/ow2/asm/asm/6.0/asm-6.0.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/6.0/asm-parent-6.0.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/ow2/ow2/1.3/ow2-1.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jitpack.io/com/github/SpongePowered/MixinGradle/dcfaf61/MixinGradle-dcfaf61.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.2-SNAPSHOT/ForgeGradle-2.2-20190215.210016-42.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/google/guava/guava/17.0/guava-17.0.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/google/guava/guava-parent/17.0/guava-parent-17.0.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/ow2/asm/asm-debug-all/5.1/asm-debug-all-5.1.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/ow2/asm/asm-parent/5.1/asm-parent-5.1.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/cloudbees/cloudbees-oss-parent/1/cloudbees-oss-parent-1.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jAstyle-1.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0.1.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-regexp-0.2.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download http://files.minecraftforge.net/maven/net/minecraftforge/fernflower/2.0-SNAPSHOT/fernflower-2.0-20151214.100946-17.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/httpclient-4.3.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-client/4.3.3/httpcomponents-client-4.3.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project-7.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/httpmime-4.3.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localizer-1.12.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/jvnet/localizer/localizer-parent/1.12/localizer-parent-1.12.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/commons-io/commons-io/1.4/commons-io-1.4.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/commons/commons-parent/7/commons-parent-7.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/httpcore-4.3.2.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-core/4.3.2/httpcomponents-core-4.3.2.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/commons/commons-parent/28/commons-parent-28.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/commons/commons-parent/22/commons-parent-22.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-parent-18.0.pom
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jcenter.bintray.com/org/ow2/asm/asm/6.0/asm-6.0.jar
DEBUG:minerl.env.malmo.instance.7c289d:Download https://jitpack.io/com/github/SpongePowered/MixinGradle/dcfaf61/MixinGradle-dcfaf61.jar

My codes are correct because I gym.make() successfully sometimes. Then I can do my research.

But when it gets stucked, I have no way to do with it.

Any help would be great, thank you.

#2
proxychains4 java InstallCert files.minecraftforge.net

cp THE_created_file /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/

do the save operations for repo1.maven.org and jitpack.io

1 Like
#3

I cannot use proxychains4 because I dont have the permission.

SHTERM: you’re not allowed to use this command

But still, thank you for your help! :slight_smile:

#4

https://github.com/rofl0r/proxychains-ng , you could ./configure && make, and then could help it.

1 Like
#5

You are so nice! Thank you and I will try it!

#6

I’m so sorry @everyone, I didn’t realize how often people wouldn’t have access to an internet connection.

Once I fix some more of the pressing race conditions and make documentation on how to a) dockerize b) run headless/over SSH, I’ll work on this :frowning:

We’re so close to having a decent Minecraft RL environment!

#7

Nice! :slightly_smiling_face: wait for your dockerize with headless server @william_guss