[jbosstools-issues] [JBoss JIRA] (JBIDE-26915) CDK is up and running but OpenShift is unreachable Error dialog

André Dietisheim (Jira) issues at jboss.org
Tue Oct 29 14:16:00 EDT 2019


    [ https://issues.jboss.org/browse/JBIDE-26915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13805765#comment-13805765 ] 

André Dietisheim commented on JBIDE-26915:
------------------------------------------

As pointed out above, the current implementation in openshift-restclient-java triggers the authentication when *<openshift-host>/healtz* is accessed. The authentication then fails with authentication error that then gets reported to the user. 
*/healthz* is not supposed to carry authentication information (token) and thus, we can simply prevent this url from triggering authentication.

> CDK is up and running but OpenShift is unreachable Error dialog
> ---------------------------------------------------------------
>
>                 Key: JBIDE-26915
>                 URL: https://issues.jboss.org/browse/JBIDE-26915
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk, openshift
>    Affects Versions: 4.13.0.Final
>         Environment: Fedora 29, Java 11
>            Reporter: Ondrej Dockal
>            Assignee: André Dietisheim
>            Priority: Major
>
> In openshift rest client library we should avoid trying to add an authentication parts into http request when trying to check Openshift 3.11 reachability on https://server:port/healthz endpoint. 
> This should be done on this [line|https://github.com/openshift/openshift-restclient-java/blob/master/src/main/java/com/openshift/internal/restclient/okhttp/AuthenticatorInterceptor.java#L84].



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



More information about the jbosstools-issues mailing list