Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13569

Error when waiting for application to become reachable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Alpha2
    • 4.1.0.Alpha1
    • openshift
    • None
    • Hide
      • EXEC: Open the OpenShift wizard either from JBoss Central or OpenShift Explorer
      • EXEC: Provide credentials/create connection
      • EXEC: Fill-in application info
      • EXEC: Finish the wizard
      • RESULT:

        • Could not wait for application "testapp" to become reachable
          Could not find any OpenShift resource at "http://testapp-1360837500661.rhcloud.com/health"
        • The application is created - can be imported immediately by hitting finish
      Show
      EXEC: Open the OpenShift wizard either from JBoss Central or OpenShift Explorer EXEC: Provide credentials/create connection EXEC: Fill-in application info EXEC: Finish the wizard RESULT: Could not wait for application "testapp" to become reachable Could not find any OpenShift resource at "http://testapp-1360837500661.rhcloud.com/health" The application is created - can be imported immediately by hitting finish
    • Workaround Exists
    • Hide

      In a 2nd step (if ran into this failure):

      1. Import the application
      2. eventually create the server adapter via context-menu in the OpenShift Explorer

      Show
      In a 2nd step (if ran into this failure): 1. Import the application 2. eventually create the server adapter via context-menu in the OpenShift Explorer

      com.openshift.client.NotFoundOpenShiftException: Could not find any OpenShift resource at "http://testapp-1360837500661.rhcloud.com/health"
      	at com.openshift.internal.client.RestService.request(RestService.java:101)
      	at com.openshift.internal.client.ApplicationResource.waitForPositiveHealthResponse(ApplicationResource.java:510)
      	at com.openshift.internal.client.ApplicationResource.waitForAccessible(ApplicationResource.java:487)
      	at org.jboss.tools.openshift.express.internal.ui.job.WaitForApplicationJob.doRun(WaitForApplicationJob.java:50)
      	at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:35)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      Caused by: com.openshift.internal.client.httpclient.NotFoundException: Could not find resource "http://testapp-1360837500661.rhcloud.com/health"
      	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:96)
      	at com.openshift.internal.client.RestService.request(RestService.java:139)
      	at com.openshift.internal.client.RestService.request(RestService.java:97)
      	... 5 more
      Caused by: java.io.FileNotFoundException: http://testapp-1360837500661.rhcloud.com/health
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1434)
      	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.get(UrlConnectionHttpClient.java:94)
      	... 7 more
      
      

        1. error-waiting-for-reachable.png
          21 kB
          André Dietisheim
        2. JBT_0219.png
          22 kB
          Joyce Zhang

              adietish@redhat.com André Dietisheim
              sbunciak-rh Stefan Bunciak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: