3 Replies Latest reply on Sep 26, 2017 2:43 PM by Nick Boldt

    Eclipse JBoss Tools hangs at startup while trying to fetch examples, blog, news resources

    markorocko Newbie

      I installed JBoss Tools with both Eclipse on Indigo and Juno so I can get up and running with AS7 QuickStarts.

      However, when I bring up JBoss Tools within Eclipse and JBoss Central comes up the Project Examples, News, and Blogs show spinning/loading icons and none of them resolve but keep spinning indefinitely while showing the message perpetually "Refreshing project examples".

      Then if I press cancel the system locks up.  Then if I reopen Eclipse it goes into this perpetual fetch mode and locks up.

      Before I load the notorious JBoss Tools Eclipse worked great. 

       

      I'm guessing perhaps the JBoss Tools wants to fetch files from the internet and unlike Eclipse itself which was able to download JBoss Tools. 

      My network uses a proxy.pac, I tried configuring the Network by typing in the proxy server values directly.  That didn't cure the woes.

      If I close JBoss Central and restart, Eclipse is functional again.

       

      I see these kind of messages in the error log:

      Invalid URL: http://download.jboss.org/jbosstools/examples/project-examples-category-jbosstools-3.3.xml

      Invalid URL: http://download.jboss.org/jbosstools/examples/project-examples-maven-3.2.xml

      java.net.SocketException: Reply from SOCKS server has bad version

          at java.net.SocksSocketImpl.connectV4(SocksSocketImpl.java:269)

          at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:437)

          at java.net.Socket.connect(Socket.java:529)

      !MESSAGE Could not load repository template extension contributed by org.jboss.tools.common.mylyn with connectorKind jira

       

      I'm going to try to run the tool outside of my companies network on wifi and see if I can confirm its the network but doesn't really help me.

      Any suggestions?

        • 1. Re: Eclipse JBoss Tools hangs at startup while trying to fetch examples, blog, news resources
          rcoe67 Newbie

          Same problem, except I don't have the access to my pac file.  Visual Studio code used to have the same problem but they fixed it.  It's a pain that companies intercept traffic and block what they can't intercept.  Perhaps a failover to http is warranted?

           

          My log:

          !ENTRY org.jboss.tools.foundation.core 4 0 2017-09-26 08:39:33.051

          !MESSAGE 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

          !STACK 0

          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(Unknown Source)

          at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)

          at sun.security.ssl.Handshaker.fatalSE(Unknown Source)

          at sun.security.ssl.Handshaker.fatalSE(Unknown Source)

          at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)

          at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)

          at sun.security.ssl.Handshaker.processLoop(Unknown Source)

          at sun.security.ssl.Handshaker.process_record(Unknown Source)

          at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

          at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)

          at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)

          at sun.security.ssl.AppOutputStream.write(Unknown Source)

          at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:157)

          at org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:164)

          at org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:270)

          at org.apache.http.impl.AbstractHttpClientConnection.flush(AbstractHttpClientConnection.java:275)

          at org.apache.http.impl.conn.AbstractClientConnAdapter.flush(AbstractClientConnAdapter.java:207)

          at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:241)

          at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)

          at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:686)

          at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:488)

          at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)

          at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)

          at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1084)

          at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:623)

          at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:885)

          at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:576)

          at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)

          at org.jboss.tools.foundation.core.ecf.internal.InternalURLTransport.transfer(InternalURLTransport.java:379)

          at org.jboss.tools.foundation.core.ecf.internal.InternalURLTransport.performDownload(InternalURLTransport.java:332)

          at org.jboss.tools.foundation.core.ecf.internal.InternalURLTransport.download(InternalURLTransport.java:262)

          at org.jboss.tools.foundation.core.ecf.internal.InternalURLTransport.download(InternalURLTransport.java:243)

          at org.jboss.tools.foundation.core.ecf.URLTransportUtility$3.run(URLTransportUtility.java:325)

          at org.jboss.tools.foundation.core.jobs.BarrierProgressWaitJob.run(BarrierProgressWaitJob.java:85)

          at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

          Caused by: 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.validator.PKIXValidator.doBuild(Unknown Source)

          at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)

          at sun.security.validator.Validator.validate(Unknown Source)

          at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)

          at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)

          at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)

          ... 31 more

          Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

          at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)

          at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)

          at java.security.cert.CertPathBuilder.build(Unknown Source)

          ... 37 more

          • 2. Re: Eclipse JBoss Tools hangs at startup while trying to fetch examples, blog, news resources
            rcoe67 Newbie

            btw, forgot to mention that it requires killing Eclipse.  The Tools plugin should have a watchdog timeout.  And or a cancel.

            • 3. Re: Eclipse JBoss Tools hangs at startup while trying to fetch examples, blog, news resources
              Nick Boldt Master

              Please open feature requests in the appropriate tracker: