opendevstack / ods-provisioning-app

Provisioning app, which triggers project and component provisions (including Jira / Confluence / BitBucket and OCP resource creation)
Apache License 2.0
15 stars 20 forks source link

Web UI / CURL gets 504 Gateway timeout after 30s during provisioning of quickstarters / projects .. #29

Closed clemensutschig closed 5 years ago

clemensutschig commented 5 years ago

reproduces via API as well

19), continuing anyway.

stitakis commented 5 years ago

Hi, the class org.opendevstack.provision.util.RestClient creates a http client with a timeout of 30 secs (see line 41: int connectionTimeout = 30); I think, this might be causing the observed ConnectionClosedException in ods-provisioning-app.

clemensutschig commented 5 years ago

@stitakis and I discussed ... https://stackoverflow.com/questions/47812807/openshift-service-proxy-timeout seems to be the culprit.

Set the timeout on 'longrunningroute' to five minutes.

oc annotate route longrunningroute --overwrite haproxy.router.openshift.io/timeout=5m

clemensutschig commented 5 years ago

implemented on premise as test -> works! ... finally