Setting new timeout for site

What is the name of the domain?

What is the issue you’re encountering

need to increase the http timeout of a website

What steps have you taken to resolve the issue?

tried looking around both the dashboard and community

All of the answers from the community say we need enterprise (which we have) but none of them explain how to set it

Use the API, see here…

“Enterprise customers can increase the 524 timeout up to 6,000 seconds using the Edit zone setting endpoint (proxy_read_timeout setting). If your content can be cached, you may also choose to use a Cache Rule with the Proxy Read Timeout setting selected instead in the Cloudflare Dashboard.”

2 Likes

Is this something that can be set within the cloudflare dashboard? Or is it something to push?

sorry, i tried to follow the links and i see the API config, but it’s an unfamiliar territory for me, so im starting from scratch and im unsure how to set it for our sites/in the dashboard (if that is even where to set it).

No, as the docs say, it needs to be done by using the API.

Not tried it myself for setting the timeout, but should be something like…

curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/settings/proxy_read_timeout \
    -X PATCH \
    -H 'Content-Type: application/json' \
    -H "X-Auth-Email: $CLOUDFLARE_EMAIL" \
    -H "X-Auth-Key: $CLOUDFLARE_API_KEY" \
    -d '{
      "value": 200
    }'
1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.