[jbosstools-issues] [JBoss JIRA] (JBIDE-13763) openshift-java-client: exception does not say to what server it was trying to connect

Andre Dietisheim (JIRA) jira-events at lists.jboss.org
Mon Mar 11 15:58:41 EDT 2013


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

Andre Dietisheim commented on JBIDE-13763:
------------------------------------------

pushed to master and rebased. 

verified on jenkins which now reports:

{code}
com.openshift.client.OpenShiftEndpointException: Could not request https://stg.openshift.redhat.com/broker/rest/api: java.net.ConnectException: Connection timed out
	at com.openshift.internal.client.RestService.request(RestService.java:106)
	at com.openshift.internal.client.RestService.request(RestService.java:91)
	at com.openshift.internal.client.RestService.request(RestService.java:72)
	at com.openshift.internal.client.AbstractOpenShiftConnectionFactory.getConnection(AbstractOpenShiftConnectionFactory.java:34)
	at com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:161)
{code}
                
> openshift-java-client: exception does not say to what server it was trying to connect
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-13763
>                 URL: https://issues.jboss.org/browse/JBIDE-13763
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.1.0.Alpha2
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>             Fix For: 4.1.0.Alpha2
>
>
> Most exceptions that occur while talking to OpenShift are not telling you to what server the client was talking to. They mostly simply repeat the path:
> {code}
> com.openshift.client.OpenShiftEndpointException: Could not request /api: java.net.ConnectException: Connection timed out
> 	at com.openshift.internal.client.RestService.request(RestService.java:103)
> 	at com.openshift.internal.client.RestService.request(RestService.java:91)
> 	at com.openshift.internal.client.RestService.request(RestService.java:72)
> 	at com.openshift.internal.client.AbstractOpenShiftConnectionFactory.getConnection(AbstractOpenShiftConnectionFactory.java:34)
> 	at com.openshift.client.OpenShiftConnectionFactory.getConnection(OpenShiftConnectionFactory.java:161)
> 	at com.openshift.client.utils.TestConnectionFactory.getConnection(TestConnectionFactory.java:31)
> 	at com.openshift.internal.client.ApplicationResourceIntegrationTest.setUp(ApplicationResourceIntegrationTest.java:50)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:616)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiv
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list