How can I set Studio Pro (or specifically Gradle) to use a proxy host and port?

1
Hello, hope you can help me with this, I've been scratching my head for the past week.   My company-issued laptop is relaying traffic to the outside network via the company proxy, and Mendix 10.3.1 is having issues synchronizing dependencies because it can't connect to Maven repos. Screenshot of the error is down below.   Is there any way to specify the proxy host and port Mendix should use to reach the repos? In the app settings I only found proxy username and password, which is useless to me.   Many thanks!  
asked
3 answers
0

I was facing proxy issue for my application while trying to send REST API request outside, i imported security certificate which i got from company IS team in below path and able to fix this.

image.png

 

answered
0

Hello, I found a working solution.

 

I needed to access the Eclipse JDK settings, default filepath is:

 

C:\Program Files\Eclipse Adoptium\jdk-11.0.16.101-hotspot\conf\net.properties

 

There I added my proxy settings:

 

image.png

 

Saved the file, rebooted my laptop, and now my gradle can find the online repo just fine.

answered
0

Hello Team, 

 

You can also refer this page, if you haven't already, to help you configure your project with custom repositories.

answered