Hi Alex,
I mentioned this solution in a few Forum questions that are related: this error happens depending on how the Proxy is configured in your Network. Some Gradle Repositories could be blocked, and that's why you are receiving the error while trying to reach the Gradle Central Plugin Repository.
To solve this issue you need to open Studio Pro, go to Edit > Preferences:
And then in the Deployment tab, look what you already have configured at the bottom on Use custom repositories (please comment what settings you have):
By default (when you set this property to No), Mendix uses the following two repositories (It seems like the first one is being blocked):
Something you can try :
If that method doesn't work, try these Gradle repos (one by one) with use custom repositories set to Yes:
gradlePluginPortal()
mavenCentral()
jcenter()
google()
I hope that also fixes your issue, best regards!
I tried the steps of Oswaldo but did not work for me, same as Alex.
Even we turned off the VPN in my local, still the issue did not go away.
I did download the Gradle 8.6, update my gradle repository in the App setting and download again the Community commons latest releases. It solved the issue from my side.
It was 100% a proxy issue.
Open C:\Program Files\AdoptOpenJDK\jdk-11.0.3.7-hotspot\conf\net.properties and add
http.proxyHost=your.proxy.url
http.proxyPort=your.proxy.port
https.proxyHost=your.wproxy.url
https.proxyPort=your.proxy.port
restart computer, and issue is fixed!