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.
To change the server timeout value, you must do the following:
- Open
XL_RELEASE_SERVER_HOME/conf/xl-release.conf
. - Add the new timeout value:
xl {
server-extension {
timeout = 120 seconds
}
}
Important: You must restart the Release server once you have added the information to the
xl-release.conf
file.
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".