For the complete documentation index, see llms.txt. This page is also available as Markdown.

Origin Response Timeout

Learn how to configure Origin Response Timeout to control how long the CDN waits for your origin to respond.

Origin Response Timeout defines the response timeout for requests sent from the CDN to the origin. If the origin does not respond within the configured duration, the CDN returns a 504 Gateway Timeout.

You can manage Origin Response Timeout in the Medianova Control Panel or via the Origin Settings API.

Origin Settings is available for CDN Resources that use My origin as the content source. The section is not displayed when Object storage is selected.

Configure Origin Response Timeout

Set the maximum duration the CDN waits for the origin to respond.

1

Open Origin Settings

Open your CDN Resource and select Origin Settings.

2

Set the Response Timeout

Under Origin Response Timeout, configure how long the CDN should wait for the origin to respond.

You can adjust the value using the − and + controls or select one of the available preset values:

  • 15s

  • 30s

  • 60s

  • 120s

3

Save the Configuration

Select Save in the pending changes bar.

Review the pending changes and confirm the update to apply the configuration to the CDN Resource.

Timeout Behavior

The configured value determines how long the CDN waits for the origin to respond.

If the origin does not respond within this duration, the CDN returns a 504 Gateway Timeout.

Choose a timeout value appropriate for the expected response time of your origin. Increasing the timeout allows more time for slower origin responses, while decreasing it causes unresponsive origin requests to time out sooner.

Troubleshooting

If clients receive 504 Gateway Timeout responses:

  • Verify that the origin server is reachable from the CDN.

  • Check whether the origin can respond within the configured timeout.

  • Review origin performance and response times.

  • Adjust Origin Response Timeout if the origin legitimately requires more time to respond.

Last updated

Was this helpful?