Troubleshoot the API

Increase server timeout settings for custom rest endpoints.

The default server timeout value for requests is 60 seconds. However, in some scenarios you may want to increase the value.

In order to change the server timeout value, you must do the following:

  1. Open XL_RELEASE_SERVER_HOME/conf/reference.conf, or create the file if it does not exist.
  2. Add the new timeout value:

    xl {
        server-extension {
            timeout = 120 seconds
        }
    }

    Important: You must restart the XL Release server once you have added the information to reference.conf.

Note: Increasing the timeout value may also help if you encounter messages such as “The server was not able to produce a timely response to your request”.