P2 fails to connect through proxy server [message #516497] |
Wed, 24 February 2010 09:02 |
Mr. H![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=m.hertwig%40rrooaarr.com) Messages: 1 Registered: February 2010 |
Junior Member |
|
|
I'm using p2 to update my RCP-application. This works fine, unless I let p2 connect through a proxy. I tried several ways of implementation to use proxy configuration (Properties, ProxySelector, Command-Line args, ...), but everything fails. The same software uses proxy connections in several other parts, which works.
While trying to connect, p2 throws an java.net.SocketException in org.apache.commons.httpClient.HttpMethodDirector.executeWith . This changes when I use an own implementation of ProxySelector. Then the application states that the type HTTP for proxy is unknown to httpclient.
The update is an autoupdate which starts before the application loads (in preStartup()). I'm using Eclipse 3.5.1.R35.
How can I set the proxy correctly? The same problem occurs if I use a network-configuration in eclipse and try to fetch update-sites. If I change the proxy settings to use native as active provider, the fetching works. Please help, this problem is driving me insane.
|
|
|
Powered by
FUDForum. Page generated in 0.04357 seconds