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

Server side errors while creating most of the scalable app. on Openshift Enterprise

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Critical Critical
    • 4.1.1.CR1
    • 4.1.1.Beta1
    • openshift
    • None

      Most of the application while creating process of application show dialog with server error 504 (Gateway timeout), or server error 503 (service unavailable).

      Altough, application in cloud is created, can be correctly showed in browser, in JBDS / JBT (tested in both) shows dialog with given error
      "Could not request https://console.itos.redhat.com/broker/rest/domains/domainequo2/applications?include=cartridges: Connection to https://console.itos.redhat.com/broker/rest/domains/domainequo2/applications?include=cartridges: Gateway Timeout" or "Could not request https://console.itos.redhat.com/broker/rest/domains/test/applications?include=cartridges: error adding app record test-test.itos.redhat.com"

      This happens only with Openshift Enterprise. Openshift Online works fine.

      Eclipse log for HTTP error 504

      com.openshift.client.OpenShiftEndpointException: Could not request https://console.itos.redhat.com/broker/rest/domains/domainequo2/applications?include=cartridges: Connection to https://console.itos.redhat.com/broker/rest/domains/domainequo2/applications?include=cartridges: Gateway Timeout
      	at com.openshift.internal.client.RestService.request(RestService.java:136)
      	at com.openshift.internal.client.RestService.request(RestService.java:115)
      	at com.openshift.internal.client.AbstractOpenShiftResource$ServiceRequest.execute(AbstractOpenShiftResource.java:159)
      	at com.openshift.internal.client.DomainResource$CreateApplicationRequest.execute(DomainResource.java:357)
      	at com.openshift.internal.client.DomainResource.createApplication(DomainResource.java:176)
      	at org.jboss.tools.openshift.express.internal.ui.job.CreateApplicationJob.doRun(CreateApplicationJob.java:83)
      	at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      Caused by: com.openshift.internal.client.httpclient.HttpClientException: Connection to https://console.itos.redhat.com/broker/rest/domains/domainequo2/applications?include=cartridges: Gateway Timeout
      	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:177)
      	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:150)
      	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:125)
      	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:101)
      	at com.openshift.internal.client.RestService.request(RestService.java:179)
      	at com.openshift.internal.client.RestService.request(RestService.java:123)
      	... 7 more
      Caused by: java.io.IOException: Server returned HTTP response code: 504 for URL: https://console.itos.redhat.com/broker/rest/domains/domainequo2/applications?include=cartridges
      	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
      	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
      	at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:146)
      	... 11 more
      

      Eclipse log for HTTP error 503

      com.openshift.client.OpenShiftEndpointException: Could not request https://console.itos.redhat.com/broker/rest/domains/test/applications?include=cartridges: error adding app record test-test.itos.redhat.com
      
      at com.openshift.internal.client.RestService.request(RestService.java:136)
      at com.openshift.internal.client.RestService.request(RestService.java:115)
      at com.openshift.internal.client.AbstractOpenShiftResource$ServiceRequest.execute(AbstractOpenShiftResource.java:159)
      at com.openshift.internal.client.DomainResource$CreateApplicationRequest.execute(DomainResource.java:357)
      at com.openshift.internal.client.DomainResource.createApplication(DomainResource.java:155)
      at org.jboss.tools.openshift.express.internal.ui.job.CreateApplicationJob.doRun(CreateApplicationJob.java:79)
      at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      Caused by: com.openshift.internal.client.httpclient.HttpClientException: {"data":null,"errors":{},"messages":[{"exit_code":null,"field":null,"severity":"error","text":"error adding app record test-test.itos.redhat.com"}],"status":"service_unavailable","supported_api_versions":[1.0,1.1,1.2,1.3,1.4],"type":null,"version":"1.2"}
      
      at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.createException(UrlConnectionHttpClient.java:177)
      at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:150)
      at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:125)
      at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.post(UrlConnectionHttpClient.java:101)
      at com.openshift.internal.client.RestService.request(RestService.java:179)
      at com.openshift.internal.client.RestService.request(RestService.java:123)
      ... 7 more
      Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: https://console.itos.redhat.com/broker/rest/domains/test/applications?include=cartridges
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1403)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
      at com.openshift.internal.client.httpclient.UrlConnectionHttpClient.request(UrlConnectionHttpClient.java:146)
      ... 11 more
      

              adietish@redhat.com André Dietisheim
              mlabuda_jira Marián Labuda (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: