[jbosstools-issues] [JBoss JIRA] (JBIDE-26876) Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC
André Dietisheim (Jira)
issues at jboss.org
Mon Sep 30 10:16:01 EDT 2019
[ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790933#comment-13790933 ]
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)
More information about the jbosstools-issues
mailing list