Marián Labuda created JBIDE-21902:
-------------------------------------
Summary: 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
Reporter: Marián Labuda
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}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)