]
Andre Dietisheim commented on JBIDE-15831:
------------------------------------------
The errors that occur are both server-side errors, it's not the tooling that timeouts.
So there's nothing we can do about it. IMHO we should let IT/OpenShift know about
these problems with the internal instance. I'll keep this opened so that we can turn
this into a watcher issue that allows us to track the progress on the backend.
Server side errors while creating most of the scalable app. on
Openshift Enterprise
-----------------------------------------------------------------------------------
Key: JBIDE-15831
URL:
https://issues.jboss.org/browse/JBIDE-15831
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.1.1.Beta1
Reporter: Marián Labuda
Assignee: Andre Dietisheim
Priority: Critical
Attachments: gateway-timeout.png
Most of the application while creating process of application show dialog with server
error 504 (Gateway timeout), or server error 503 (service unavailable).
!gateway-timeout.png!
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/applicati...:
Connection to
https://console.itos.redhat.com/broker/rest/domains/domainequo2/applicati...:
Gateway Timeout" or "Could not request
https://console.itos.redhat.com/broker/rest/domains/test/applications?inc...:
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
{code}
com.openshift.client.OpenShiftEndpointException: Could not request
https://console.itos.redhat.com/broker/rest/domains/domainequo2/applicati...:
Connection to
https://console.itos.redhat.com/broker/rest/domains/domainequo2/applicati...:
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/applicati...:
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/applicati...
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
{code}
Eclipse log for HTTP error 503
{code}
com.openshift.client.OpenShiftEndpointException: Could not request
https://console.itos.redhat.com/broker/rest/domains/test/applications?inc...:
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?inc...
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
{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: