-
Bug
-
Resolution: Not a Bug
-
Critical
-
4.26.0.AM1
-
None
-
Sprint #228 Dec 2022
-
3
-
---
there is an error: UnsupportedEndpointException when opening an OCP connection in console on windows or Mac
CRC 2.9.0, Eclipse 2022-12 M2, JBT 4.26.0.AM1
Steps to Reproduce
- Create CRC server adapters
- Start CRC
- When CRC is started, accept SSL certificated, check that openShift connection is created
- Open Context menu over openshift connection and choose Open in Console option
Actual results:
Error is thrown
Expected results:
web browser is opened pointing to the console endpoint
Reproducibility (Always/Intermittent/Only Once):
Windows and Mac OS env.
Build Details:
Additional info (Such as Logs, Screenshots, etc):
eclipse.buildId=4.26.0.20221027-1200 java.version=17.0.4.1 java.vendor=Eclipse Adoptium BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US Framework arguments: -product org.eclipse.epp.package.java.product -product org.eclipse.epp.package.java.product -keyring /Users/jbossqa/.eclipse_keyring Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product org.eclipse.epp.package.java.product -data file:/Users/jbossqa/eclipse-workspace-2022-12-M2-JBT4260AM1/ -product org.eclipse.epp.package.java.product -keyring /Users/jbossqa/.eclipse_keyring org.eclipse.core.jobs Error Mon Nov 21 09:17:59 EST 2022 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:303) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:276) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:244) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:227) at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:412) 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:166) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)