[
https://issues.jboss.org/browse/JBIDE-26879?page=com.atlassian.jira.plugi...
]
André Dietisheim updated JBIDE-26879:
-------------------------------------
    Sprint: devex #173 Oct 2019
 Configuring CRC Openshift Connection has encountered a problem
 --------------------------------------------------------------
                 Key: JBIDE-26879
                 URL: 
https://issues.jboss.org/browse/JBIDE-26879
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: cdk, openshift
    Affects Versions: 4.13.0.Final
         Environment: Fedora 29
 CR Studio 12.13.0.GA-v20190929-1916-B5040
 CRC version: 1.0.0-rc.0+34371d3
            Reporter: Ondrej Dockal
            Assignee: André Dietisheim
            Priority: Blocker
             Fix For: 4.13.0.Final
 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.
 {code}
 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"
 {code}
 Error details:
 {code}
 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)
 {code} 
--
This message was sent by Atlassian Jira
(v7.13.8#713008)