[jbosstools-issues] [JBoss JIRA] (JBIDE-26876) Explorer: ctx menu "Show In" > "Web Console" fails with "unauthorized" for CRC

Ondrej Dockal (Jira) issues at jboss.org
Tue Oct 8 10:00:00 EDT 2019


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

Ondrej Dockal commented on JBIDE-26876:
---------------------------------------

I tried OS 4.1 and I was able to create Openshift Connection using copy login command web ui option, then in OS connection in IDE I opened the project, got ctx menu -> show in -> Web console with proper URL that opened the resource in web browser.

On OS 3.11.141 that was run from CDK 3.10 this was working as well.

When trying https://console.engint.openshift.com/ online, I got an issue. Copy login command is using different URL for creating OS 3 connection than is using for browsing on REST API. (api/console) and so One could not Show in Web console while it was redirected and using wrong endpoint -> 
{code}
Error
Invalid request
Client state could not be verified

Return to the console.
{code}

I am not gonna to try CDK 3.7 as it is not supported anymore. But if you would like to me, I can after all...

OS 4.2 does not work for known reason: JBIDE-26879.

> 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
>
>         Attachments: image-2019-10-08-13-04-28-614.png
>
>
> 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