Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-27590

Cannot login with Basic auth to CRC 1.20

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 4.18.0.Final
    • 4.18.0.AM1
    • openshift
    • None
    • Sprint #195 Jan 2021
    • Hide

      1. Start CRC 1.20 outside of CRS
      2. Create connection in OpenShift Explorer to CRC with basic cred.
      3 Connection dialog shows error

      Show
      1. Start CRC 1.20 outside of CRS 2. Create connection in OpenShift Explorer to CRC with basic cred. 3 Connection dialog shows error
    • Hide

      Use OAuth to connect to cluster

      Show
      Use OAuth to connect to cluster
    • Undefined
    • ---

    Description

      This happens on Windows 10.

      I was able to connect to 4.6 OpenShift cluster on mac with basic credentials.

      eclipse.buildId=12.18.0.AM1-v20201217-1630-B7316
      java.version=11.0.4-redhat
      java.vendor=Oracle Corporation
      BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=cs_CZ
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product com.jboss.devstudio.core.product
       
      org.jboss.tools.openshift.ui
      Error
      Tue Dec 22 11:35:02 CET 2020
      Unable to execute request to request url https://api.crc.testing:6443/.well-known/oauth-authorization-server
       
      com.openshift.restclient.OpenShiftException: Unable to execute request to request url https://api.crc.testing:6443/.well-known/oauth-authorization-server
              at com.openshift.internal.restclient.RequestingSupplier.requestIfRequired(RequestingSupplier.java:59)
              at com.openshift.internal.restclient.RequestingSupplier.get(RequestingSupplier.java:49)
              at com.openshift.internal.restclient.AuthorizationEndpoints.getEndpoint(AuthorizationEndpoints.java:59)
              at com.openshift.internal.restclient.AuthorizationEndpoints.getAuthorizationEndpoint(AuthorizationEndpoints.java:49)
              at com.openshift.internal.restclient.DefaultClient.getAuthorizationEndpoint(DefaultClient.java:471)
              at com.openshift.internal.restclient.okhttp.AuthenticatorInterceptor.isUrlWithoutAuthorization(AuthenticatorInterceptor.java:87)
              at com.openshift.internal.restclient.okhttp.AuthenticatorInterceptor.intercept(AuthenticatorInterceptor.java:55)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
              at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:57)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
              at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
              at okhttp3.RealCall.execute(RealCall.kt:66)
              at com.openshift.internal.restclient.ApiTypeMapper.request(ApiTypeMapper.java:273)
              at com.openshift.internal.restclient.ApiTypeMapper.readEndpoint(ApiTypeMapper.java:261)
              at com.openshift.internal.restclient.ApiTypeMapper.getApiGroups(ApiTypeMapper.java:224)
              at com.openshift.internal.restclient.ApiTypeMapper.init(ApiTypeMapper.java:159)
              at com.openshift.internal.restclient.ApiTypeMapper.isSupported(ApiTypeMapper.java:87)
              at com.openshift.internal.restclient.URLBuilder.buildWithNamespaceInPath(URLBuilder.java:148)
              at com.openshift.internal.restclient.URLBuilder.build(URLBuilder.java:135)
              at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:302)
              at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:275)
              at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:243)
              at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:226)
              at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:411)
              at com.openshift.internal.restclient.authorization.AuthorizationContext.isAuthorized(AuthorizationContext.java:63)
              at org.jboss.tools.openshift.core.connection.Connection.authorize(Connection.java:240)
              at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:229)
              at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPageModel.connect(ConnectionWizardPageModel.java:300)
              at org.jboss.tools.openshift.internal.common.ui.connection.ConnectionWizardPage$ConnectJob.doRun(ConnectionWizardPage.java:434)
              at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      Caused by: javax.net.ssl.SSLHandshakeException: extension (5) should not be presented in certificate_request
              at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:131)
              at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
              at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:307)
              at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
              at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:254)
              at java.base/sun.security.ssl.SSLExtensions.<init>(SSLExtensions.java:90)
              at java.base/sun.security.ssl.CertificateRequest$T13CertificateRequestMessage.<init>(CertificateRequest.java:818)
              at java.base/sun.security.ssl.CertificateRequest$T13CertificateRequestConsumer.consume(CertificateRequest.java:922)
              at java.base/sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392)
              at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:443)
              at java.base/sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:421)
              at java.base/sun.security.ssl.TransportContext.dispatch(TransportContext.java:177)
              at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:164)
              at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1152)
              at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1063)
              at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
              at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.kt:351)
              at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.kt:310)
              at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:178)
              at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:236)
              at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:109)
              at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:77)
              at okhttp3.internal.connection.Transmitter.newExchange$okhttp(Transmitter.kt:162)
              at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:35)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
              at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:82)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
              at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:84)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
              at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:71)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
              at com.openshift.internal.restclient.okhttp.AuthenticatorInterceptor.intercept(AuthenticatorInterceptor.java:56)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
              at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:57)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:112)
              at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:87)
              at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.kt:184)
              at okhttp3.RealCall.execute(RealCall.kt:66)
              at com.openshift.internal.restclient.RequestingSupplier.request(RequestingSupplier.java:69)
              at com.openshift.internal.restclient.RequestingSupplier.requestIfRequired(RequestingSupplier.java:55)
              ... 32 more
       
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkopriva@redhat.com Josef Kopriva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: