[
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)