Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-4823

Multiple: javax.net.ssl.SSLPeerUnverifiedException errors after start CRS

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 12.15.0.AM1
    • Fix Version/s: 12.17.0.AM1
    • Component/s: build
    • Labels:
      None
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Use JDK 1.8

      Show
      Use JDK 1.8
    • Docs QE Status:
      NEW

      Description

      There are a lot javax.net.ssl.SSLPeerUnverifiedException errors after start:

      eclipse.buildId=12.15.0.AM1-v20200325-0554-B6116
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
      Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      
      org.eclipse.equinox.p2.transport.ecf
      Warning
      Wed Mar 25 08:32:41 CET 2020
      Connection to https://devstudio.redhat.com/12/stable/updates/p2.index failed on peer not authenticated. Retry attempt 0 started
      
      javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
      	at java.base/sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:526)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:504)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:437)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
      	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
      	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
      	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
      	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
      	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1000)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:992)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:988)
      	at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:74)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      
      eclipse.buildId=12.15.0.AM1-v20200325-0554-B6116
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
      Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      
      org.eclipse.equinox.p2.transport.ecf
      Warning
      Wed Mar 25 08:32:44 CET 2020
      Connection to https://devstudio.redhat.com/12/snapshots/updates/discovery.earlyaccess/master/devstudio-directory.xml failed on peer not authenticated. Retry attempt 0 started
      
      javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
      	at java.base/sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:526)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:504)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:437)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
      	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
      	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
      	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
      	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
      	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1000)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:992)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:988)
      	at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:74)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      
      eclipse.buildId=12.15.0.AM1-v20200325-0554-B6116
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
      Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      
      org.eclipse.equinox.p2.transport.ecf
      Warning
      Wed Mar 25 08:32:57 CET 2020
      Connection to http://jope.ow2.org/update/jope/site.xml failed on jope.ow2.org: nodename nor servname provided, or not known. Retry attempt 0 started
      
      java.net.UnknownHostException: jope.ow2.org: nodename nor servname provided, or not known
      	at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
      	at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929)
      	at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1515)
      	at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848)
      	at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1505)
      	at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1364)
      	at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1298)
      	at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
      	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
      	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
      	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
      	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
      	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1000)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:992)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:988)
      	at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:74)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      
      eclipse.buildId=12.15.0.AM1-v20200325-0554-B6116
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
      Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      
      org.eclipse.equinox.p2.transport.ecf
      Warning
      Wed Mar 25 08:32:57 CET 2020
      Connection to http://jope.ow2.org/update/jope/p2.index failed on jope.ow2.org. Retry attempt 0 started
      
      java.net.UnknownHostException: jope.ow2.org
      	at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:797)
      	at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1505)
      	at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1364)
      	at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1298)
      	at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
      	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
      	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
      	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
      	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
      	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1000)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:992)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:988)
      	at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:74)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      
      eclipse.buildId=12.15.0.AM1-v20200325-0554-B6116
      java.version=11.0.2
      java.vendor=Oracle Corporation
      BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
      Framework arguments:  -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
      
      org.eclipse.equinox.p2.transport.ecf
      Warning
      Wed Mar 25 08:33:00 CET 2020
      Connection to http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.14.0.Final-SNAPSHOT/REPO/p2.index failed on peer not authenticated. Retry attempt 0 started
      
      javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
      	at java.base/sun.security.ssl.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:526)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:504)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:437)
      	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
      	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
      	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
      	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
      	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
      	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
      	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
      	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
      	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1000)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:992)
      	at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:988)
      	at org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:74)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      

      This is probably related to JDK11 and its similar to JBIDE-27066.
      I have not seen this errors with JDK11.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                stephane.bouchet Stephane Bouchet
                Reporter:
                jkopriva Josef Kopriva
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: