Gradle Console: Premature end of Content-Length delimited message body

Published by Mr_dsa1 on Fri, 11/02/2018 - 17:13
Status
Fixed
Type
Product/platform
MCreator/Windows
Priority
Major
Issue description

I had a problem with exporting mods in MCreator. When i trying to export mod MCreator is crashing, when i reinstall it, an error occurred during installation.

Here is the log:

Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.0, 64-bit, 16323 MB, Windows 10, JVM 1.8.0_172
(c) Љ®аЇ®а жЁп Њ ©Єа®б®дв (Microsoft Corporation), 2018. ‚ᥠЇа ў  § йЁйҐ­л.
F:\Install\MCreator\MCreator180\forge>gradlew -Dorg.gradle.daemon=false -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" cleanCache clean setupDecompWorkspace --refresh-dependencies 
Downloading https://services.gradle.org/distributions/gradle-2.14-bin.zip
Unzipping C:\Users\KIBI\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk\gradle-2.14-bin.zip to C:\Users\KIBI\.mcreator\gradle\wrapper\dists\gradle-2.14-bin\76oc0mnc3ieqtsukq90mp0rxk
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
Download https://jcenter.bintray.com/com/google/guava/guava/18.0/guava-18.0.pom
Download https://jcenter.bintray.com/com/google/guava/guava-parent/18.0/guava-pa…
Download https://jcenter.bintray.com/org/sonatype/oss/oss-parent/7/oss-parent-7…
Download https://jcenter.bintray.com/net/sf/opencsv/opencsv/2.3/opencsv-2.3.pom
Download https://jcenter.bintray.com/com/cloudbees/diff4j/1.1/diff4j-1.1.pom
Download https://jcenter.bintray.com/com/cloudbees/cloudbees-oss-parent/1/cloudb…
Download https://jcenter.bintray.com/com/github/abrarsyed/jastyle/jAstyle/1.3/jA…
Download https://jcenter.bintray.com/net/sf/trove4j/trove4j/2.1.0/trove4j-2.1.0…
Download https://jcenter.bintray.com/com/github/jponge/lzma-java/1.3/lzma-java-1…
Download https://jcenter.bintray.com/com/nothome/javaxdelta/2.0.1/javaxdelta-2.0…
Download https://jcenter.bintray.com/com/google/code/gson/gson/2.2.4/gson-2.2.4…
Download https://jcenter.bintray.com/com/github/tony19/named-regexp/0.2.3/named-…
Download http://files.minecraftforge.net/maven/net/minecraftforge/forgeflower/1…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpclient/4.3.3/…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-cl…
Download https://jcenter.bintray.com/org/apache/httpcomponents/project/7/project…
Download https://jcenter.bintray.com/org/apache/apache/13/apache-13.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpmime/4.3.3/ht…
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer/1.12/localize…
Download https://jcenter.bintray.com/org/jvnet/localizer/localizer-parent/1.12/l…
Download https://jcenter.bintray.com/commons-io/commons-io/1.4/commons-io-1.4.pom
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/7/commons…
Download https://jcenter.bintray.com/org/apache/apache/4/apache-4.pom
Download https://jcenter.bintray.com/trove/trove/1.0.2/trove-1.0.2.pom
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcore/4.3.2/ht…
Download https://jcenter.bintray.com/org/apache/httpcomponents/httpcomponents-co…
Download https://jcenter.bintray.com/commons-logging/commons-logging/1.1.3/commo…
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/28/common…
Download https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-cod…
Download https://jcenter.bintray.com/org/apache/commons/commons-parent/22/common…
Download https://jcenter.bintray.com/org/apache/apache/9/apache-9.pom
Download http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'forge'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not download ForgeGradle.jar (net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT)
> Could not close resource 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…'.
> Premature end of Content-Length delimited message body (expected: 12535717; received: 78267
* 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: 22.491 secs
F:\Install\MCreator\MCreator180\forge>
Task completed with return code 0 in 22946 milliseconds

 

Issue comments

I can't see the screenshot, nor the log. Please paste the error log in the text form in the ticket. Please specify MCreator version too.

Do you have a stable internet connection? I would suggest turning off firewall and antivirus for the time of setup to see if they could be obstructing MCreator from downloading all required files.

I have a good and stable Internet. 

Even if so why everything worked before, and then at the moment everything stopped. I mean, I exported mods, everything was fine, but then as I once again exported the mod, MCreator crashed. 

 Can i fully reinstall MCreator, i mean with cleaning cash, and other files on disk "C" ?

You could try this. And while you are at it, go to your user home folder and go to .mcreator folder. Delete folder gradle inside this folder too.

My main suspect is now that at the time you were trying this, there were issues with forge server as many users are reporting identical log with identical URL that is causing the issue.

I would suggest you to wait for some time and try again to see if the server is back up.



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.