Why director doesn't pick up proxy settings? [message #765278] |
Tue, 13 December 2011 13:54  |
Eclipse User |
|
|
|
Hello everybody!
This question has been asked, but still there is no answer.
I try to install headless buckminster. I'm using p2 director. Unfortunately,
I'm behind firewall, so director fails. I have no problem with eclipse indigo.
It is configure to use native connection provider and it works fine. I can explore buckminster update site. I copied org.eclipse.core.net.prefs file into director's settings directory, but it doesn't help. I still have the same error.
Any ideas what could be wrong?
Thank you,
Andrey
!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2011-12-13 09:57:43.151
!MESSAGE Connection to http://download.eclipse.org/tools/buckminster/headless-3.7/p2.index failed on Connection refused: connect. Retry attempt 0 started
!STACK 0
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.eclipse.ecf.provider.filetransfer.events.socket.SocketEventCreateUtil.createSocket(SocketEventCreateUtil.java:43)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:81)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:73)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient.ECFHttpClientProtocolSocketFactory.createSocket(ECFHttpClientProtocolSocketFactory.java:65)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
|
|
|
|
|
|
Re: Why director doesn't pick up proxy settings? [message #774401 is a reply to message #768850] |
Tue, 03 January 2012 16:07  |
Eclipse User |
|
|
|
Hi,
how did you start the director?
Following the often posted "create.product" ant target pattern?
This usually spawns an additional eclipse instance (another configuration area and/or workspace folder?). Maybe this is the reason for the proxy preferences not being applied correctly...?
Maybe my recently posted p2Director actor could help. [url=https://bugs.eclipse.org/bugs/show_bug.cgi?id=358423]
The bundle contains actors for p2.mirror, p2.process.artifacts and p2.director
This way the very often described ant-target-"create.product"-solution can be replaced by pure cspex configuration and the p2 director is run within the running buckminster instance. Maybe then the proxy settings are taken into account.
But remember to make sure, that the proxy settings are copied into the configuration area of the running buckminster instance.
Regards,
R.O.
|
|
|
Powered by
FUDForum. Page generated in 0.03039 seconds