Hi Ardra,
A lot of colleagues in my organization had this same problem before. In our case we found out that it was because ZScaler was blocking the connection to Gradle repositories. We had to add the root certificate of ZScaler into the installed Java keystore to allow Studio Pro to connect to such repositories.
If you use something similar to ZScaler that may be the problem, you follow this steps to add the root certificate into the Java Keystore (you need to obtain your own root certificate file from your organization if it applies):
1) Install KeyStore Explorer:
https://github.com/kaikramer/keystore-explorer/releases/
2) Figure out where Java JDK was installed for Studio Pro 10:
3) Go to the JDK directory > lib > security
, and make a backup of the cacerts file somewhere else:
4) Open the Keystore Explorer app:
5) Drag the original cacerts file from the JDK directory > lib > security
path into the KeyStore app (if you need admin rights, make a copy of the cacerts somewhere else and modify it there):
6) Enter the prompted password, default password is changeit
7) Drag your Root Certificate file into the list of certificates of cacerts:
8) Click Import, leave default alias as it is and click OK both times:
9) Save changes (and if needed, replace the original cacerts file with the modified one):
10) Restart computer
11) Go back into Studio Pro and check if the error is gone
I hope that helps you solve your problem, best regards!
Or if you have in house gradle repository then you can mention the location of the repository in Preference option of Studio Pro. See https://docs.mendix.com/refguide/preferences-dialog/#333-repositories
I can't install Keystore explorer on my machine for security reasons. Is there a different way to do this, or are the new versions of Mendix basically going to be useless for me now? The more I use version 10, the more problems I have to deal with like this. It may be time to migrate my apps to Outsystems