Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Error at installation
Error at installation [message #1747169] Thu, 10 November 2016 13:00 Go to next message
Nikos Argyriou is currently offline Nikos ArgyriouFriend
Messages: 11
Registered: September 2016
Junior Member
I've been trying to use the installer for the last two days (from the catalog OpenDaylight : option =No projects) without any lack. The problem seems to be the following one:

ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at https://otto.takari.io/content/sites/m2e.extras/m2eclipse-buildhelper/0.15.0/N/0.15.0.201405280027/content.jar.
org.apache.http.NoHttpResponseException: The target server failed to respond
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:223)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at org.apache.http.impl.client.DefaultRequestDirector.createTunnelToTarget(DefaultRequestDirector.java:877)
at org.apache.http.impl.client.DefaultRequestDirector.establishRoute(DefaultRequestDirector.java:795)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:615)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
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:55)

The installation is behind a corporate firewall but I don't think that this is the problem.

Re: Error at installation [message #1747171 is a reply to message #1747169] Thu, 10 November 2016 13:31 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
I have no trouble accessing the update site https://otto.takari.io/content/sites/m2e.extras/m2eclipse-buildhelper/0.15.0/N/0.15.0.201405280027 in my Repository Explorer view. Are you able to access that jar file in a browser?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error at installation [message #1747172 is a reply to message #1747171] Thu, 10 November 2016 13:38 Go to previous messageGo to next message
Nikos Argyriou is currently offline Nikos ArgyriouFriend
Messages: 11
Registered: September 2016
Junior Member
I have no trouble to access the file inside my browser, but if I put the path inside the repository explorer it seems that it can't find anything.

When I installed it at home I hadn't any problem.

[Updated on: Thu, 10 November 2016 13:46]

Report message to a moderator

Re: Error at installation [message #1747174 is a reply to message #1747172] Thu, 10 November 2016 13:57 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
When you say the repository explorer can't find anything, is there an error message saying "No repository found"? If you use this same URL with Help -> Install New Software... does it fail to load that repository as well? Have you configured the network settings for the proxy/firewall?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error at installation [message #1747179 is a reply to message #1747174] Thu, 10 November 2016 14:28 Go to previous messageGo to next message
Nikos Argyriou is currently offline Nikos ArgyriouFriend
Messages: 11
Registered: September 2016
Junior Member
The error is:

Unable to read repository at https://otto.takari.io/content/sites/m2e.extras/m2eclipse-buildhelper/0.15.0/N/0.15.0.201405280027/content.jar.
The target server failed to respond

If there was a problem with the network settings/firewall I would have the same problem for the other repositories but this is not the case.
Re: Error at installation [message #1747181 is a reply to message #1747179] Thu, 10 November 2016 15:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
What did you paste in the URL field, just "https://otto.takari.io/content/sites/m2e.extras/m2eclipse-buildhelper/0.15.0/N/0.15.0.201405280027" or did you include the "content.jar" part? Don't include that part...

I also asked you to try the URL (of the repo, not of the content.jar) in the Help -> Install New Software. Did you do that? Please try that.

Given it doesn't fail for me and it only fails in your office, I don't think you should conclude that therefore there is no issue with the settings/firewall. All this kind of seems to indicate that there is indeed some problem specific to your network location...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error at installation [message #1747199 is a reply to message #1747181] Thu, 10 November 2016 16:09 Go to previous messageGo to next message
Nikos Argyriou is currently offline Nikos ArgyriouFriend
Messages: 11
Registered: September 2016
Junior Member
Of course I did what you said. This is not the problem.

As I read some posts regarding proxy settings I agree with you that something happens with the proxy server and the specific site (Nexus Repository Manager). I will check it a little bit more with the IT department. I don't think that I have to set something special in the OOMPH proxy settings (HTTP/HTTPS/SOCKS). I don't know if there are specific guidelines for proxy server configurations.
Re: Error at installation [message #1747243 is a reply to message #1747199] Fri, 11 November 2016 08:23 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
So reading between the lines, I assume Install New Software also fails for this site.

In a browser, I noticed the URL seems to redirect to https://repository.takari.io/ which then never seems to finish loading. I also notice that https://repository.takari.io/content/sites/m2e.extras/m2eclipse-buildhelper/0.15.0/N/0.15.0.201405280027 works directly in the browser to show the contents of that repo in the browser. That URL also works in the Repository Explorer. Perhaps this redirection of a secure https connection to a different host is something your proxy/firewall detects and blocks as being of questionable security origin.

Perhaps you can try if this alternative URL works better in the IDE...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error at installation [message #1747515 is a reply to message #1747243] Tue, 15 November 2016 15:14 Go to previous messageGo to next message
Nikos Argyriou is currently offline Nikos ArgyriouFriend
Messages: 11
Registered: September 2016
Junior Member
There isn't any lack. It seems that the installer doesn't cooperate well with the corporate proxy servers. Only when you give direct access it works. I don't know if there are some specific proxy access policies in order to give access to the installer while contacting the repositories.
Re: Error at installation [message #1747532 is a reply to message #1747515] Tue, 15 November 2016 16:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
I don't understand what you're saying. Is there an outstanding question?

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error at installation [message #1747589 is a reply to message #1747169] Wed, 16 November 2016 10:28 Go to previous messageGo to next message
Nikos Argyriou is currently offline Nikos ArgyriouFriend
Messages: 11
Registered: September 2016
Junior Member
What I am saying is that I tried to use the installer behind two corporate networks behind proxies. I contacted the IT departments in order to monitor the traffic, just in case there is a problem with the proxy settings.

What I saw is that I have problems like:

- Server not respond (like the case of Takari site). In this case it seems that the installer gets a zero size response.

- Repository not found

- (only at once I noticed that) Fetching compositeContent.xml from http://download.eclipse.org/technology/m2e/releases/1.7/
ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at https://infinitest.github.io/content.xml.
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.j

- The problem seems to exist only when I am trying to install something from the OpenDaylight Catalog and not from the Eclipse Catalog.

Maybe it is something simple, but I miss something. From what I understand there aren't any special orders for running the installer behind proxies/firewalls.

Only when I give to the installer direct access without proxy it may continue.

Re: Error at installation [message #1747944 is a reply to message #1747589] Thu, 17 November 2016 07:19 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Nikos Argyriou wrote on Wed, 16 November 2016 05:28
What I am saying is that I tried to use the installer behind two corporate networks behind proxies. I contacted the IT departments in order to monitor the traffic, just in case there is a problem with the proxy settings.

What I saw is that I have problems like:

- Server not respond (like the case of Takari site). In this case it seems that the installer gets a zero size response.
I mentioned my suspicion that redirection could be a problem.Quote:


- Repository not found
But only for certain repos...Quote:

- (only at once I noticed that) Fetching compositeContent.xml from http://download.eclipse.org/technology/m2e/releases/1.7/
ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at https://infinitest.github.io/content.xml.
I get a 404 for this URL.Quote:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1509)
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
at org.apache.http.conn.ssl.SSLSocketFactory.createLayeredSocket(SSLSocketFactory.j

- The problem seems to exist only when I am trying to install something from the OpenDaylight Catalog and not from the Eclipse Catalog.

Maybe it is something simple, but I miss something. From what I understand there aren't any special orders for running the installer behind proxies/firewalls.
There are only the proxy preference settings.Quote:


Only when I give to the installer direct access without proxy it may continue.
You mean only when you're not behind a firewall? As I said, I can only test and reproduce problems using Fiddler.

If you have questions, try to phrase them in the form of a question with a question mark so I know specifically what you're expecting from me.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Stuck doing something/looping around (not deadlock) in SignatureBlockProcessor
Next Topic:Remove deleted projects with Oomph
Goto Forum:
  


Current Time: Fri Apr 26 22:31:46 GMT 2024

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

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

Back to the top