Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Why director doesn't pick up proxy settings?
Why director doesn't pick up proxy settings? [message #765278] Tue, 13 December 2011 18:54 Go to next message
Andrey Ilinykh is currently offline Andrey IlinykhFriend
Messages: 12
Registered: July 2009
Junior Member
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 #766856 is a reply to message #765278] Fri, 16 December 2011 14:54 Go to previous messageGo to next message
Fabian Baboschi is currently offline Fabian BaboschiFriend
Messages: 41
Registered: December 2009
Member
Try to copy into configuration/.settings the core.net.prefs file from a working eclipse installation.... (from the same network).
Worked for my project.
Re: Why director doesn't pick up proxy settings? [message #766961 is a reply to message #766856] Fri, 16 December 2011 18:42 Go to previous messageGo to next message
Andrey Ilinykh is currently offline Andrey IlinykhFriend
Messages: 12
Registered: July 2009
Junior Member
I did. Doesn't help.
What do you have in that file? Does it use system settings?

Andrey

Fabian Baboschi wrote on Fri, 16 December 2011 09:54
Try to copy into configuration/.settings the core.net.prefs file from a working eclipse installation.... (from the same network).
Worked for my project.

Re: Why director doesn't pick up proxy settings? [message #768850 is a reply to message #766961] Tue, 20 December 2011 23:22 Go to previous messageGo to next message
Philip Bedingfield is currently offline Philip BedingfieldFriend
Messages: 43
Registered: August 2011
Member
I had the same issue and never resolved it. In the end I just used the director from within eclipse ->


D:\eclipse_3.7> eclipsec
-nosplash
-application org.eclipse.equinox.p2.director
-destination d:\buckminster-headless
-profile Buckminster
-installIU org.eclipse.buckminster.cmdline.product
-repository http://download.eclipse.org/tools/buckminster/headless-3.7/

Re: Why director doesn't pick up proxy settings? [message #774401 is a reply to message #768850] Tue, 03 January 2012 21:07 Go to previous message
R. Oldenburg is currently offline R. OldenburgFriend
Messages: 24
Registered: September 2011
Junior Member
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.
Previous Topic:Buckminster 3.6 - BuckyBook Ch 13 - Headless build
Next Topic:Import via MSPEC via HTTP
Goto Forum:
  


Current Time: Tue Mar 19 08:37:15 GMT 2024

Powered by FUDForum. Page generated in 0.02564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top