[JBoss JIRA] (JBIDE-26876) Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26876 at 9/30/19 10:25 AM:
--------------------------------------------------------------------
Another problem that unlike OS3 in OS4 web-ui and REST endpoint dont answer on the same url any more. Ex. for CHE QE OS4 cluster
* the web-ui is at https://console-openshift-console.apps.crw.codereadyqe.com
* the REST endpoint (that you get when you use "Copy login command" in the web-ui menu) is at https://api.crw.codereadyqe.com:6443
When creating a connection in Eclipse, we need the REST endpoint. To then execute "Show In > Web Console" we need the former. I have no idea how to get the web-ui URL once we have the REST endpoint.
I asked on the OS-dev mailing list:
> *how to get URL for the Web ui if you have the URL to the endpoint?*
>
> Hi
>
> In the Eclipse endpoint we face the following problem: We connect to the REST endpoint
> where we authenticate, deal with resources etc. Current Eclipse tooling (which also deals
> with OS3) allows users to open the web-ui in a browser. In OS4, how do we get the URL for
> the web-ui given the URL for the REST endpoint?
>
> Any help appreciated, thanks!
>
> Cheers
> Andre
was (Author: adietish):
Another problem that unlike OS3 in OS4 web-ui and REST endpoint dont answer on the same url any more. Ex. for CHE QE OS4 cluster
* the web-ui is at https://console-openshift-console.apps.crw.codereadyqe.com
* the REST endpoint (that you get when you use "Copy login command" in the web-ui menu) is at https://api.crw.codereadyqe.com:6443
When creating a connection in Eclipse, we need the REST endpoint. To then execute "Show In > Web Console" we need the former. I have no idea how to get the web-ui URL once we have the REST endpoint.
I asked on the OS-dev mailing list:
*how to get URL for the Web ui if you have the URL to the endpoint?*
> Hi
>
> In the Eclipse endpoint we face the following problem: We connect to the REST endpoint
> where we authenticate, deal with resources etc. Current Eclipse tooling (which also deals
> with OS3) allows users to open the web-ui in a browser. In OS4, how do we get the URL for
> the web-ui given the URL for the REST endpoint?
>
> Any help appreciated, thanks!
>
> Cheers
> Andre
> Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
> ------------------------------------------------------------------------------
>
> Key: JBIDE-26876
> URL: https://issues.jboss.org/browse/JBIDE-26876
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Steps:
> # ASSERT: have a connection to a running crc instance
> # EXEC: in Explorer: select the connection and pick *Show In > Web Console*
> Result:
> Browser is opened to https://api.crc.testing:6443/console. Browser then displays:
> {code}
> {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {
>
> },
> "status": "Failure",
> "message": "forbidden: User \"system:anonymous\" cannot get path \"/console\"",
> "reason": "Forbidden",
> "details": {
>
> },
> "code": 403
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBIDE-26876) Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26876 at 9/30/19 10:24 AM:
--------------------------------------------------------------------
Another problem that unlike OS3 in OS4 web-ui and REST endpoint dont answer on the same url any more. Ex. for CHE QE OS4 cluster
* the web-ui is at https://console-openshift-console.apps.crw.codereadyqe.com
* the REST endpoint (that you get when you use "Copy login command" in the web-ui menu) is at https://api.crw.codereadyqe.com:6443
When creating a connection in Eclipse, we need the REST endpoint. To then execute "Show In > Web Console" we need the former. I have no idea how to get the web-ui URL once we have the REST endpoint.
I asked on the OS-dev mailing list:
*how to get URL for the Web ui if you have the URL to the endpoint?*
> Hi
>
> In the Eclipse endpoint we face the following problem: We connect to the REST endpoint
> where we authenticate, deal with resources etc. Current Eclipse tooling (which also deals
> with OS3) allows users to open the web-ui in a browser. In OS4, how do we get the URL for
> the web-ui given the URL for the REST endpoint?
>
> Any help appreciated, thanks!
>
> Cheers
> Andre
was (Author: adietish):
Another problem that unlike OS3 in OS4 web-ui and REST endpoint dont answer on the same url any more. Ex. for CHE QE OS4 cluster
* the web-ui is at https://console-openshift-console.apps.crw.codereadyqe.com
* the REST endpoint (that you get when you use "Copy login command" in the web-ui menu) is at https://api.crw.codereadyqe.com:6443
When creating a connection in Eclipse, we need the REST endpoint. To then execute "Show In > Web Console" we need the former. I have no idea how to get the web-ui URL once we have the REST endpoint.
I asked on the OS-dev mailing list: *how to get URL for the Web ui if you have the URL to the endpoint?*
> Hi
>
> In the Eclipse endpoint we face the following problem: We connect to the REST endpoint
> where we authenticate, deal with resources etc. Current Eclipse tooling (which also deals
> with OS3) allows users to open the web-ui in a browser. In OS4, how do we get the URL for
> the web-ui given the URL for the REST endpoint?
>
> Any help appreciated, thanks!
>
> Cheers
> Andre
> Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
> ------------------------------------------------------------------------------
>
> Key: JBIDE-26876
> URL: https://issues.jboss.org/browse/JBIDE-26876
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Steps:
> # ASSERT: have a connection to a running crc instance
> # EXEC: in Explorer: select the connection and pick *Show In > Web Console*
> Result:
> Browser is opened to https://api.crc.testing:6443/console. Browser then displays:
> {code}
> {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {
>
> },
> "status": "Failure",
> "message": "forbidden: User \"system:anonymous\" cannot get path \"/console\"",
> "reason": "Forbidden",
> "details": {
>
> },
> "code": 403
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBIDE-26876) Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26876 at 9/30/19 10:23 AM:
--------------------------------------------------------------------
Another problem that unlike OS3 in OS4 web-ui and REST endpoint dont answer on the same url any more. Ex. for CHE QE OS4 cluster
* the web-ui is at https://console-openshift-console.apps.crw.codereadyqe.com
* the REST endpoint (that you get when you use "Copy login command" in the web-ui menu) is at https://api.crw.codereadyqe.com:6443
When creating a connection in Eclipse, we need the REST endpoint. To then execute "Show In > Web Console" we need the former. I have no idea how to get the web-ui URL once we have the REST endpoint.
I asked on the OS-dev mailing list: *how to get URL for the Web ui if you have the URL to the endpoint?*
> Hi
>
> In the Eclipse endpoint we face the following problem: We connect to the REST endpoint
> where we authenticate, deal with resources etc. Current Eclipse tooling (which also deals
> with OS3) allows users to open the web-ui in a browser. In OS4, how do we get the URL for
> the web-ui given the URL for the REST endpoint?
>
> Any help appreciated, thanks!
>
> Cheers
> Andre
was (Author: adietish):
Another problem that unlike OS3 in OS4 web-ui and REST endpoint dont answer on the same url any more. Ex. for CHE QE OS4 cluster
* the web-ui is at https://console-openshift-console.apps.crw.codereadyqe.com
* the REST endpoint (that you get when you use "Copy login command" in the web-ui menu) is at https://api.crw.codereadyqe.com:6443
When creating a connection in Eclipse, we need the REST endpoint. To then execute "Show In > Web Console" we need the former. I have no idea how to get the web-ui URL once we have the REST endpoint.
> Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
> ------------------------------------------------------------------------------
>
> Key: JBIDE-26876
> URL: https://issues.jboss.org/browse/JBIDE-26876
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Steps:
> # ASSERT: have a connection to a running crc instance
> # EXEC: in Explorer: select the connection and pick *Show In > Web Console*
> Result:
> Browser is opened to https://api.crc.testing:6443/console. Browser then displays:
> {code}
> {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {
>
> },
> "status": "Failure",
> "message": "forbidden: User \"system:anonymous\" cannot get path \"/console\"",
> "reason": "Forbidden",
> "details": {
>
> },
> "code": 403
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBIDE-26876) Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugi... ]
André Dietisheim commented on JBIDE-26876:
------------------------------------------
Another problem that unlike OS3 in OS4 web-ui and REST endpoint dont answer on the same url any more. Ex. for CHE QE OS4 cluster
* the web-ui is at https://console-openshift-console.apps.crw.codereadyqe.com
* the REST endpoint (that you get when you use "Copy login command" in the web-ui menu) is at https://api.crw.codereadyqe.com:6443
When creating a connection in Eclipse, we need the REST endpoint. To then execute "Show In > Web Console" we need the former. I have no idea how to get the web-ui URL once we have the REST endpoint.
> Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
> ------------------------------------------------------------------------------
>
> Key: JBIDE-26876
> URL: https://issues.jboss.org/browse/JBIDE-26876
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Reporter: André Dietisheim
> Assignee: André Dietisheim
> Priority: Major
> Fix For: 4.13.0.Final
>
>
> Steps:
> # ASSERT: have a connection to a running crc instance
> # EXEC: in Explorer: select the connection and pick *Show In > Web Console*
> Result:
> Browser is opened to https://api.crc.testing:6443/console. Browser then displays:
> {code}
> {
> "kind": "Status",
> "apiVersion": "v1",
> "metadata": {
>
> },
> "status": "Failure",
> "message": "forbidden: User \"system:anonymous\" cannot get path \"/console\"",
> "reason": "Forbidden",
> "details": {
>
> },
> "code": 403
> }
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 2 months
[JBoss JIRA] (JBIDE-26869) CRC server adapter: OpenShift connection that is created is unusable at times
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26869?page=com.atlassian.jira.plugi... ]
André Dietisheim updated JBIDE-26869:
-------------------------------------
Environment: CRC Beta5
> CRC server adapter: OpenShift connection that is created is unusable at times
> -----------------------------------------------------------------------------
>
> Key: JBIDE-26869
> URL: https://issues.jboss.org/browse/JBIDE-26869
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.13.0.AM1
> Environment: CRC Beta5
> Reporter: André Dietisheim
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.13.0.Final
>
> Attachments: crc-connection-error.mp4, start-crc-error-openshift-conn.mp4
>
>
> *Steps* - not reproducibe at 100%, happens from time to time:
> # ASSERT: have ~/.crc folder killed
> # EXEC: create new CRC server adapter & Start it
> # ASSERT: OpenShift connection is created
> *Result:*
> Connection fails to authorize, reports that it cannot access resources using system:anonymous. Refreshing the connection doesn't help, so it's apparently not a timing issue (ex. creating the connection before the cluster is fully up and running)
> {code}
> com.openshift.restclient.authorization.ResourceForbiddenException: forbidden: User "system:anonymous" cannot get path "/oauth/authorize" forbidden: User "system:anonymous" cannot get path "/oauth/authorize"
> 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.okhttp.OpenShiftAuthenticator.tryAuth(OpenShiftAuthenticator.java:109)
> at com.openshift.internal.restclient.okhttp.OpenShiftAuthenticator.authenticate(OpenShiftAuthenticator.java:62)
> at okhttp3.internal.http.RetryAndFollowUpInterceptor.followUpRequest(RetryAndFollowUpInterceptor.kt:213)
> at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:102)
> 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:55)
> 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.DefaultClient.request(DefaultClient.java:315)
> at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:307)
> 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)
5 years, 2 months
[JBoss JIRA] (JBIDE-26879) Configuring CRC Openshift Connection has encountered a problem
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26879?page=com.atlassian.jira.plugi... ]
André Dietisheim edited comment on JBIDE-26879 at 9/30/19 9:57 AM:
-------------------------------------------------------------------
[~odockal], [~eng.praveenkum]: to me a clear indication that this is not a problem in Eclipse/openshift-restclient-java is that I can use the OS4 cluster for CHE QE at https://api.crw.codereadyqe.com:6443 without any problems. Connecting and listing things works just fine.
was (Author: adietish):
[~odockal] to me a clear indication that this is not a problem in Eclipse/openshift-restclient-java is that I can use the OS4 cluster for CHE QE at https://api.crw.codereadyqe.com:6443 without any problems. Connecting and listing things works just fine.
> 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)
5 years, 2 months
[JBoss JIRA] (JBIDE-26879) Configuring CRC Openshift Connection has encountered a problem
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26879?page=com.atlassian.jira.plugi... ]
André Dietisheim commented on JBIDE-26879:
------------------------------------------
[~odockal] to me a clear indication that this is not a problem in Eclipse/openshift-restclient-java is that I can use the OS4 cluster for CHE QE at https://api.crw.codereadyqe.com:6443 without any problems. Connecting and listing things works just fine.
> 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)
5 years, 2 months
[JBoss JIRA] (JBIDE-26879) Configuring CRC Openshift Connection has encountered a problem
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26879?page=com.atlassian.jira.plugi... ]
Ondrej Dockal edited comment on JBIDE-26879 at 9/30/19 9:48 AM:
----------------------------------------------------------------
[~kumarpraveen] Can you please jump in and check with us if this is on crc or our side?
was (Author: odockal):
@prkumar(a)redhat.com Can you please jump in and check with us if this is on crc or our side?
> 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)
5 years, 2 months
[JBoss JIRA] (JBIDE-26879) Configuring CRC Openshift Connection has encountered a problem
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26879?page=com.atlassian.jira.plugi... ]
Ondrej Dockal commented on JBIDE-26879:
---------------------------------------
@prkumar(a)redhat.com Can you please jump in and check with us if this is on crc or our side?
> 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)
5 years, 2 months
[JBoss JIRA] (JBIDE-26879) Configuring CRC Openshift Connection has encountered a problem
by Ondrej Dockal (Jira)
[ https://issues.jboss.org/browse/JBIDE-26879?page=com.atlassian.jira.plugi... ]
Ondrej Dockal commented on JBIDE-26879:
---------------------------------------
[~adietish] There are slight differences like url endpoint (/oauth/authorize vs /apis) and version of CRC used I believe. I tried 3 to start from fresh and 3 times to restart. So far it is one hunder percent reproducible.
> 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)
5 years, 2 months