Here is the error code:
MCreator was not able to connect to the internet. Gradle tasks might not work.
Executing gradle command: cleanCache clean setupDecompWorkspace --refresh-dependencies
Build info: MCreator 1.8.1, 64-bit, 8099 MB, Windows 7 - cmd, JVM 1.8.0_172, JAVA_HOME: C:\Users\Jordan.Jordan\Downloads\MCreator 1.8.1 [1.12.2] Windows 64bit\.\jdk
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Jordan.Jordan\Downloads\MCreator
1.8.1 [1.12.2] Windows
64bit\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
Exception in thread "main" javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No subject alternative DNS name matching services.gradle.org found.
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:987)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractD…
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.j…
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja…
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnec…
at org.gradle.wrapper.Download.downloadInternal(Download.java:58)
at org.gradle.wrapper.Download.download(Download.java:44)
at org.gradle.wrapper.Install$1.call(Install.java:59)
at org.gradle.wrapper.Install$1.call(Install.java:46)
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)
at org.gradle.wrapper.Install.createDist(Install.java:46)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Caused by: java.security.cert.CertificateException: No subject alternative DNS name matching services.gradle.org found.
at sun.security.util.HostnameChecker.matchDNS(HostnameChecker.java:214)
at sun.security.util.HostnameChecker.match(HostnameChecker.java:96)
at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:455)
at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:436)
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:200)
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1596)
... 20 more
C:\Users\Jordan.Jordan\Downloads\MCreator
1.8.1 [1.12.2] Windows 64bit\forge>
Task completed with return code 0 in 24263 milliseconds
I use a proxy, so I don't know if that has to do with anything.I've tried disabling my proxy, so that's not it. Pease reply as soon as possible!
Issue comments
this is causing me so much grief right now. i'm using mcreator 2020.3 and it crashes like everyday now. and things get corrupted afterwards. i tried installing 2020.4 and 2020.5 and the gradle build process always fails at downloading files. but every failed file i test downloading through my browser+proxy works fine.
you see why i'm thinking of using idea or eclipse now. but i don't have any experience using either. i am so stuck at this point.
This error is definitely on your side. Either your proxy which might not be properly disabled, firewall or antivirus is messing with your SSL configuration. Make sure that you disable any SSL features of your Antivirus as they might be causing this issue.
The first line is quite concerning too:
MCreator was not able to connect to the internet. Gradle tasks might not work.
This error definitely means that something is blocking MCreator from accessing the internet and it can not work without it.