Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » Can't connect to update site(Director fails to connect to update site)
Can't connect to update site [message #1538307] Wed, 31 December 2014 08:45 Go to next message
John Umeh is currently offline John UmehFriend
Messages: 2
Registered: December 2014
Junior Member
When I run the director command below I get the attached error message. When I run update from luna I can connect and install the needed product. Please your advice is needed:

$ ./director -consoleLog -clean -r $LUNA_BUCKMINSTER_REPO $BUCKMINSTER_HOME -p Buckminster -i org.eclipse.buckminster.cmdline.product

!SESSION 2014-12-31 09:02:38.283 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -r $LUNA_BUCKMINSTER_REPO -p Buckminster -i org.eclipse.buckminster.cmdline.product
Command-line arguments: -consoleLog -clean -r $LUNA_BUCKMINSTER_REPO Buckminster -i org.eclipse.buckminster.cmdline.product

!ENTRY org.eclipse.equinox.p2.transport.ecf 2 0 2014-12-31 09:09:24.259
!MESSAGE Connection to $LUNA_BUCKMINSTER_REPO/p2.index failed on Can't connect to SOCKS proxy:connect timed out. Retry attempt 0 started
!STACK 0
java.net.SocketException: Can't connect to SOCKS proxy:connect timed out
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:428)
at java.net.Socket.connect(Socket.java:579)
at org.eclipse.ecf.internal.provider.filetransfer.httpclient4.ECFHttpClientProtocolSocketFactory.connectSocket(ECFHttpClientProtocolSocketFactory.java:84)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:151)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:125)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1077)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1068)
at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1064)
at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Dec 31, 2014 9:11:24 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: I/O exception (java.net.SocketException) caught when connecting to the target host: Can't connect to SOCKS proxy:connect timed out
Dec 31, 2014 9:11:24 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: Retrying connect
Dec 31, 2014 9:13:24 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: I/O exception (java.net.SocketException) caught when connecting to the target host: Can't connect to SOCKS proxy:connect timed out
Dec 31, 2014 9:13:24 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: Retrying connect^C
$

N/B: I currently use luna but was previously using juna before switching.


Re: Can't connect to update site [message #1539808 is a reply to message #1538307] Thu, 01 January 2015 05:15 Go to previous message
John Umeh is currently offline John UmehFriend
Messages: 2
Registered: December 2014
Junior Member
Please note that I used the correct command line where -d was omitted in my last post:

$ ./director -consoleLog -clean -r $LUNA_BUCKMINSTER_REPO -d $BUCKMINSTER_HOME -p Buckminster -i org.eclipse.buckminster.cmdline.product

I also used variable to mask out specific urls because the forum did not allow urls when I tried submitting. More specifically:

$LUNA_BUCKMINSTER_REPO => download.eclipse.org/tools/buckminster/headless-4.4M6/
Previous Topic:Update error
Next Topic:How to define custom p2 touchpoint actions correctly?
Goto Forum:
  


Current Time: Mon Oct 23 19:14:24 GMT 2017

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

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