Chapter 11. Application Management

11.1. General Information

A reliable network connection is required because only a single attempt is made to create an application. OpenShift Online makes seven attempts to see if the DNS entry for the new application exists. If it is not found an error message is returned.
The --timeout option on the command line is used to override the default values when there are constant timeout issues. OpenShift Online uses two timeout parameters: a connection timeout, which determines how long the client tries to connect to the server before timing out; and a read timeout, which determines how long the client waits for a response from the server. The default connection timeout value is 20 seconds. The default read timeout value is 120 seconds.
The --timeout option affects both timeout parameters, but it can only be used to increase the default values. The timeout value cannot be set to be less than the default. For example, if --timeout 50 is used, it sets the connection timeout value to 50 seconds, but does not affect the read timeout value. Similarly, if --timeout 150 is used, it sets both the connection and read timeout values to 150 seconds.