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
- is blocked by
-
OSJC-27 openshift-java-client: provide its own lib specific timeout that may be set via system properties
- Closed
- is related to
-
JBIDE-15835 Timeout when add/remove postgresql cartridge to application (Openshift Enterprise)
- Closed
-
JBIDE-16047 CLONE - Timeout when add/remove postgresql cartridge to application (Openshift Enterprise)
- Closed