[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
Thu Oct 3 06:27:00 EDT 2019


    [ https://issues.jboss.org/browse/JBIDE-26876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13794245#comment-13794245 ] 

André Dietisheim commented on JBIDE-26876:
------------------------------------------

[~odockal]: I found another issue that exists in the current url mapping for OpenShift 3 and is closely related: the following 2 resources open bad URLs causing a 404 in the console
* deployments (wich are replication controllers) 
* routes

Steps (for deployments/replication controllers - same applies for routes):
# ASSERT: have a project with a replication controller and a route (ex. create an app from template)
# EXEC: in OpenShift explorer: select the project
# EXEC: open "Properties" view & select the "Deployments" tab
# EXEC: in the context menu select "Show In > Web console"

Result:
Console shows up with an error "404 Not Found"

> 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