Posted May 2, 201411 yr First of all, I'd like to apologise if this is the wrong place to post this and it's supposed to go in the ForgeGradle sub-forum instead, but the "NO SUPPORT REQUESTS" post kind of threw me off. Today I decided to get back into trying to mod after a while, and I saw all this new stuff. I read up on it, watched tutorials then attempted to do it myself. However, everytime I try to run "gradlew.bat setupDecompWorkspace", after a whole lot of dots it gives me this error: Exception in thread "main" java.lang.RuntimeException: java.net.SocketException: Connection reset at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78) at org.gradle.wrapper.Install.createDist(Install.java:44) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:196) at java.net.SocketInputStream.read(SocketInputStream.java:122) at java.io.BufferedInputStream.read1(BufferedInputStream.java:273) at java.io.BufferedInputStream.read(BufferedInputStream.java:334) at sun.net.www.MeteredStream.read(MeteredStream.java:134) at java.io.FilterInputStream.read(FilterInputStream.java:133) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3053) at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3047) at org.gradle.wrapper.Download.downloadInternal(Download.java:60) at org.gradle.wrapper.Download.download(Download.java:42) at org.gradle.wrapper.Install$1.call(Install.java:57) at org.gradle.wrapper.Install$1.call(Install.java:44) at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65) ... 3 more Now I've searched up this error as much as I could, and from what I've seen, it's usually caused by firewall or such. I've made sure that my firewall is down, and I can download the file that it attempts to download by itself through my browser (gradle-1.11-bin.zip). I've only found one other thread with this error to do with ForgeGradel somewhere on the minecraft forums, and that post was never resolved, and it wasn't of much help. I'm sure I'm probably making a really stupid mistake, but if you know how I can fix this, please let me know. Thanks. BEFORE ASKING FOR HELP READ THE EAQ! I'll help if I can. Apologies if I do something obviously stupid. If you don't know basic Java yet, go and follow these tutorials.
May 2, 201411 yr This thread might help you: http://stackoverflow.com/questions/585599/whats-causing-my-java-net-socketexception-connection-reset if (user.hasKnowledgeOfJava) { if (user.question.hasCode) { return interpetHelpfulResponse(user.getQuestion()); } else { return "Could you post your code please?"; } } else { return "Learn some freaking Java!"; }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.