Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ability to Disable Automatic Retry on Timeout #128

Open
GuyPaddock opened this issue Jun 20, 2022 · 0 comments
Open

Add Ability to Disable Automatic Retry on Timeout #128

GuyPaddock opened this issue Jun 20, 2022 · 0 comments

Comments

@GuyPaddock
Copy link

When debugging a Drupal site with XDEBUG, it is common that you might be stepping through code for longer than the Varnish timeout of 60 seconds. It appears that the error page that Varnish renders has the undesirable behavior of automatically retrying the failed request after 5 seconds, leading to an avalanche/snowball of requests queuing up on the backend during an extended debugging session. It would be great if there was a way to opt out of this automatic retry behavior, since this isn't how Pantheon itself behaves during a timeout (thankfully).

For reference, here's what the HTML that's rendered back during a timeout looks like (note the auto-retry via setTimeout()):

<html>
<head>
    <title>Not Found</title>
    <style type="text/css">
        A:link {text-decoration: none;  color: #333333;}
        A:visited {text-decoration: none; color: #333333;}
        A:active {text-decoration: none}
        A:hover {text-decoration: underline;}
    </style>
</head>
<body onload="setTimeout(function() { window.location.reload() }, 5000)" bgcolor=white text=#333333 style="padding:5px 15px 5px 15px; font-family: myriad-pro-1,myriad-pro-2,corbel,sans-serif;">
<H3>Page Unavailable</H3>
<p>The page you requested is temporarily unavailable.</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant