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

Cannot create a connection to OpenShift 4.2

    Details

      Description

      Cannot create Project under CRC Openshift connection when using CRC.

      I get an error dialog when "Configuring CRC Openshift Connection"

      Dialog has appeared just after accepting the SSL certificate dialog confirmation during CRC start up.

      An internal error occurred during: "Configuring CRC Openshift Connection...".
      forbidden: User "system:anonymous" cannot get path "/apis" forbidden: User "system:anonymous" cannot get path "/apis"
      

      Error details:

      null
      org.eclipse.core.jobs
      Error
      Mon Sep 30 13:01:32 CEST 2019
      An internal error occurred during: "Configuring CRC Openshift Connection...".
      
      com.openshift.restclient.authorization.ResourceForbiddenException: forbidden: User "system:anonymous" cannot get path "/apis" forbidden: User "system:anonymous" cannot get path "/apis"
      	at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:111)
      	at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:66)
      	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:265)
      	at com.openshift.internal.restclient.ApiTypeMapper.readEndpoint(ApiTypeMapper.java:257)
      	at com.openshift.internal.restclient.ApiTypeMapper.getApiGroups(ApiTypeMapper.java:220)
      	at com.openshift.internal.restclient.ApiTypeMapper.init(ApiTypeMapper.java:155)
      	at com.openshift.internal.restclient.ApiTypeMapper.isSupported(ApiTypeMapper.java:83)
      	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:301)
      	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:423)
      	at com.openshift.internal.restclient.authorization.AuthorizationContext.isAuthorized(AuthorizationContext.java:63)
      	at org.jboss.tools.openshift.core.connection.Connection.authorize(Connection.java:237)
      	at org.jboss.tools.openshift.core.connection.Connection.connect(Connection.java:226)
      	at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener.configureOpenshift(ConfigureCRCFrameworksListener.java:102)
      	at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener.configureFrameworks(ConfigureCRCFrameworksListener.java:73)
      	at org.jboss.tools.openshift.internal.crc.server.core.listeners.ConfigureCRCFrameworksListener$1.run(ConfigureCRCFrameworksListener.java:66)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adietish André Dietisheim
                  Reporter:
                  odockal Ondrej Dockal
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: