Skip to main content
Feedback

Changing network timeouts

As the owner of a basic runtime, runtime cluster, or private runtime cloud, you can adjust the network timeout settings for connectors that use the HTTP transport by using the Properties panel.

note

You must have the Runtime Management privilege to perform this task. If you have the Runtime Management Read Access privilege, you cannot perform the task.

The network timeout properties used by these connectors are:

  • Client Default Connect Timeout (-Dsun.net.client.defaultConnectTimeout) sets the timeout period to establish an HTTP client connection.
  • Client Default Read Timeout (-Dsun.net.client.defaultReadTimeout) sets the timeout period for an individual attempt to read data from an established HTTP client connection.

The default value for each property is 120000 milliseconds. Increase this setting if the HTTP endpoints are known to take longer than two minutes to return a response.

note

These properties do not affect the timeout period for the REST Client connector.

  1. Go to Manage > Runtime Management.

  2. Select the runtime from the list.

  3. In Settings & Configuration, click Properties.

    The Runtime Properties or Runtime cluster Properties panel opens.

  4. Click the Advanced tab.

  5. To change the timeout period for establishing an HTTP client connection, select the Client Default Connect Timeout property, click Add a Property, and type a value in the Property Value field.

  6. To change the timeout period for reading data from an HTTP client connection, select the Client Default Read Timeout property, click Add a Property, and type a value in the Property Value field.

  7. Click Save.

    Because changes to this property do not take effect until the runtime is restarted, you are prompted to restart. You have the option to restart now or restart later.