Error at installation [message #1747169] |
Thu, 10 November 2016 13:00 |
|
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 #1747199 is a reply to message #1747181] |
Thu, 10 November 2016 16:09 |
|
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 #1747515 is a reply to message #1747243] |
Tue, 15 November 2016 15:14 |
|
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 #1747589 is a reply to message #1747169] |
Wed, 16 November 2016 10: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.
- 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 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Nikos Argyriou wrote on Wed, 16 November 2016 05:28What 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/
|
|
|
Powered by
FUDForum. Page generated in 0.04350 seconds