Red Hat Bugzilla – Bug 813110
Users are getting connection timeouts while creating an application
Last modified: 2015-05-14 21:51:13 EDT
Description of problem:
I get this feedback a consistently few times a month now: Users are getting connection timeouts while creating an application. See a specific example in the forums:
sas@ubuntu:~/dev/apps$ rhc app create -a test -t diy-0.1 -l firstname.lastname@example.org -p ***
Creating application: test
Now your new domain name is being propagated worldwide (this might take a minute)...
ssh: connect to host test-opensas.rhcloud.com port 22: Connection timed out
fatal: The remote end hung up unexpectedly
Error in git clone
Cleaning up application
The workaround is simple enough: Retry a couple of times, or increase the timeout to 120s.
This is not just limited to the rhc client tools - I see this the Web Console UI, Eclipse plugin and most recently the Forge plugin. Unfortunately, those other interfaces do not have the capability to increase the timeout parameter (yet) and you're left to retry + patience.
Why not just increase the default from 60s to 90s or 120s?
Before rhc-0.91.1-1.el6_2.noarch, only have http.open_timeout = 10s, it works in most time, but after http.read_timeout = 10s is added in rhc-0.91.1-1 ,the client will often failed with execution expired if not set timeout to higher value
*** Bug 813155 has been marked as a duplicate of this bug. ***
The read timeout has been increased to 120s and separated out the open and read timeouts in rhc tools commit 56d5368 and 32319e3.
checked on rhc-0.91.3-1, issue has been fixed.