]
Fred Bricon closed JBIDE-21902.
-------------------------------
Resolution: Duplicate Issue
Closing as duplicate of JBIDE-21829
Connecting to a OS 3 Server adapter on restarted Eclipse throws
error
---------------------------------------------------------------------
Key: JBIDE-21902
URL:
https://issues.jboss.org/browse/JBIDE-21902
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Marián Labuda
Priority: Blocker
Labels: openshift_v3
If I am having an OpenShift 3 Server Adapter in Servers view and I restart IDE, I have to
fill in credentials again to start OS 3 server adapter. After filling valid credentials
using local CDK OS 3.2, following error pops up
{code}
An internal error occurred during: "Setting connection, deploy project...".
com.openshift.restclient.authorization.UnauthorizedException: Unauthorized to access
resource. You can access the server using Basic authentication.
at
com.openshift.internal.restclient.DefaultClient.createOpenShiftException(DefaultClient.java:485)
at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:158)
at com.openshift.internal.restclient.DefaultClient.list(DefaultClient.java:139)
at
org.jboss.tools.openshift.core.connection.Connection.getResources(Connection.java:387)
at
org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getService(OpenShiftServerUtils.java:285)
at
org.jboss.tools.openshift.core.server.OpenShiftServerUtils.getService(OpenShiftServerUtils.java:274)
at
org.jboss.tools.openshift.internal.ui.server.OpenShiftServerEditorSection$13.run(OpenShiftServerEditorSection.java:486)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}