This service is archived, please use www.eclipse.org/forums


Home » Capella » Capella Studio » Proxy Settings
Proxy Settings [message #3669] Thu, 14 November 2019 04:25 Go to next message
JordanIsAsking is currently offline  JordanIsAsking
Messages: 12
Registered: July 2019
Junior Member
Hi,

I would like to set some proxy settings in my Capella Studio plugin project, so I set Host, Port etc...in the Preference menu in the network connection tab. I also set http & https Host & Port in the eclipse.ini file but when I launch the code in Capella Studio I have error message that tells that "System property http.proxyHost is not set". I don't understand why I have this error message because I already set the proxy like I write it before.

Did someone has a clue ?
Re: Proxy Settings [message #3671 is a reply to message #3669] Thu, 14 November 2019 09:25 Go to previous messageGo to next message
MehdiBelatrous is currently offline  MehdiBelatrous
Messages: 8
Registered: July 2019
Location: Erlangen
Junior Member
Hello,

This stackoverflow post sums up the different solutions to your problem. Usually, adding these settings in eclipse.ini file is the way to go. Try something like below and clear socks settings in Preferences.

-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient
-Dhttp.proxyPort=8080
-Dhttp.proxyHost=XXX
-Dhttp.proxyUser=XXX
-Dhttp.proxyPassword=XXX
-Dhttp.nonProxyHosts=localhost|127.0.0.1
Re: Proxy Settings [message #3681 is a reply to message #3671] Fri, 15 November 2019 09:53 Go to previous messageGo to next message
JordanIsAsking is currently offline  JordanIsAsking
Messages: 12
Registered: July 2019
Junior Member
Thank for your response, I tried to fix it with your solution and the stackoverflow solution but it did not work. I don't understand why it does not work. I have the feeling that the modification that I made in the ini file is not take into account.
Re: Proxy Settings [message #3686 is a reply to message #3681] Tue, 19 November 2019 07:27 Go to previous message
MehdiBelatrous is currently offline  MehdiBelatrous
Messages: 8
Registered: July 2019
Location: Erlangen
Junior Member
You can also add an argument to specify custom java binary like below. That way you'll get a java console that might help you debugging the situation.
-vm C:\jdk1.7.0_21\jre\bin\java.exe

Previous Topic: How to change components appearance from viewpoint
Next Topic: Requirements Viewpoint ReqIF import datatypes
Goto Forum:
  


Current Time: Sun Jul 05 05:15:32 EST 2020

Total time taken to generate the page: 0.01644 seconds