[jbosstools-issues] [JBoss JIRA] (JBIDE-27019) Show in -> Web console option does not work at times

André Dietisheim (Jira) issues at jboss.org
Mon Feb 10 09:28:47 EST 2020


    [ https://issues.redhat.com/browse/JBIDE-27019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967638#comment-13967638 ] 

André Dietisheim edited comment on JBIDE-27019 at 2/10/20 9:25 AM:
-------------------------------------------------------------------

this is very weird, [~odockal] tried again and had 1.3 & 1.4 running while this happened again with 1.5. Using the command line "oc" retrieving the config maps works fine but still fails in Eclipse. Removing all certs and restarting Ecipse helped though. Very odd.


was (Author: adietish):
this is very weird, @odocal tried again and had 1.3 & 1.4 running while this happened again with 1.5. Using the command line "oc" retrieving the config maps works fine but still fails in Eclipse. Removing all certs and restarting Ecipse helped though. Very odd.

> Show in -> Web console option does not work at times
> ----------------------------------------------------
>
>                 Key: JBIDE-27019
>                 URL: https://issues.redhat.com/browse/JBIDE-27019
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk, openshift
>    Affects Versions: 4.14.0.AM1
>            Reporter: Ondrej Dockal
>            Assignee: André Dietisheim
>            Priority: Critical
>             Fix For: 4.14.0.Final
>
>
> Show in -> Web Console does not work for Openshift connection created from CRC 1.3 version as the Server's url (OS 4.2 endpoint - https://api.crc.testing:6443/) does not work for web console access. The correct one is https://console-openshift-console.apps-crc.testing/.
> I got this error stack trace, btw:
> {code}
> eclipse.buildId=12.14.0.AM1-v20200123-0055-B5802
> java.version=11.0.5
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments:  -product com.jboss.devstudio.core.product
> Command-line arguments:  -data file:/home/odockal/workspace_12140AM1-0123/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.eclipse.core.jobs
> Error
> Mon Jan 27 15:12:23 CET 2020
> An internal error occurred during: "Retrieving console for https://api.crc.testing:6443...".
> com.openshift.restclient.UnsupportedEndpointException: Unable to determine the api endpoint for kind 'ConfigMap'
> 	at com.openshift.internal.restclient.URLBuilder.buildWithNamespaceInPath(URLBuilder.java:149)
> 	at com.openshift.internal.restclient.URLBuilder.build(URLBuilder.java:135)
> 	at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:297)
> 	at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:271)
> 	at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:239)
> 	at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:222)
> 	at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:406)
> 	at com.openshift.internal.restclient.capability.server.Console.getOpenShift4ConsoleUrl(Console.java:93)
> 	at com.openshift.internal.restclient.capability.server.Console.getOpenShift4ConsoleUrl(Console.java:107)
> 	at com.openshift.internal.restclient.capability.server.Console.getConsoleUrl(Console.java:64)
> 	at org.jboss.tools.openshift.core.connection.Connection.getConsoleURL(Connection.java:381)
> 	at org.jboss.tools.openshift.internal.ui.handler.OpenInWebConsoleHandler.lambda$0(OpenInWebConsoleHandler.java:61)
> 	at org.eclipse.core.runtime.jobs.Job$1.run(Job.java:164)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jbosstools-issues mailing list