oHomer Posted April 22, 2019 Posted April 22, 2019 I want to setup a forge workspace but I get the following error text every time I try any kind of gradlew command: --------------------------- FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'Workspace 1.13'. > Could not resolve all artifacts for configuration ':classpath'. > Could not resolve net.minecraftforge.gradle:ForgeGradle:3.+. Required by: project : > Failed to list versions for net.minecraftforge.gradle:ForgeGradle. > Unable to load Maven meta-data from https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml. > Could not get resource 'https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml'. > Could not GET 'https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/maven-metadata.xml'. > Received fatal alert: handshake_failure -------------------- I try to fix it by using another JDK (jdk7u80;jdk8u211;jdk 11.0.3) or another computer(Win7Pro64bit;Win10Pro64bit) but nothing helps. Changing the network/place also makes no difference, as well as deactivating the Firewall, Avira or the Java security system. The web adress in the code is accessible with my browser. Have someone an idea what is the issue? Quote
Torq Posted April 22, 2019 Posted April 22, 2019 (edited) I had a similar problem. I installed jdk1.8.0_201 and it all worked. Specifically, my problem was related to the gradle and jdk version. If you follow the recommendations of gradle and run other commands, it should write what the problem is. Be sure to fix the %PATH%. Edited April 22, 2019 by Torq Quote If I helped you, don't forget like. I'm using a translator, sorry.
Cadiboo Posted April 23, 2019 Posted April 23, 2019 On 4/22/2019 at 6:59 PM, oHomer said: Received fatal alert: handshake_failure Expand You need to be able to download files from forge files from the internet. Make sure that your antivirus allows access to forge and that access to forges maven is not blocked by a proxy or your internet settings. Quote About Me Reveal hidden contents My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)
NuclearFarts Posted April 24, 2019 Posted April 24, 2019 (edited) I ran into this problem too, make sure you're using the latest Java 8 JDK and MAKE SURE JAVA_HOME IS SET PROPERLY. Gradle uses the JDK from JAVA_HOME, not the one on your PATH. Specifically, this happens because Java only got support for Let's Encrypt certificates around jdk8_u100 and Forge uses Let's Encrypt. Edited April 24, 2019 by NuclearFarts Quote
Recommended Posts
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.