An update to this, it has to do with network security configuration; depending on the network we use we receive this error.
Hello,
Refer this https://community.mendix.com/link/space/app-development/questions/129646
Hope it helps!
Zcaler was blocking this is what solved it for me:
go to ~/.gradle
or C:\Users\<USERNAME>\.gradle
Create or edit the file gradle.properties:
systemProp.http.proxyHost=localhost
systemProp.http.proxyPort=9000
systemProp.https.proxyHost=localhost
systemProp.https.proxyPort=9000
# If your proxy requires auth:# systemProp.http.proxyUser=YOURDOMAIN\\youruser
# systemProp.http.proxyPassword=yourpassword
# systemProp.https.proxyUser=YOURDOMAIN\\youruser
# systemProp.https.proxyPassword=yourpassword
systemProp.http.nonProxyHosts=localhost|127.0.0.1
systemProp.https.nonProxyHosts=localhost|127.0.0.1
The first 4 lines are i think the most important since 9000 is the Zcaler port. (but just copy all)
--> save file and close all running mendix processes and also all java.exe.
Restart Mendix -> Clean Deployment Directory -> Run