https://dev.arvados.org/https://dev.arvados.org/favicon.ico?15576888422016-01-28T13:26:03ZArvadosArvados - Bug #6651: "This website is under heavy load" error causes a parsing errorhttps://dev.arvados.org/issues/6651?journal_id=347562016-01-28T13:26:03ZJoshua Randalljr17@sanger.ac.uk
<ul></ul><p>I just observed this on our system as well - when the API server is overloaded, workbench ends up putting up a generic error about parsing rather than any message about the heavy load.</p> Arvados - Bug #6651: "This website is under heavy load" error causes a parsing errorhttps://dev.arvados.org/issues/6651?journal_id=347572016-01-28T13:55:35ZJoshua Randalljr17@sanger.ac.uk
<ul></ul><p>I have worked around this problem with the following nginx config:</p>
<p>in nginx.conf:<br /><pre>
passenger_request_queue_overflow_status_code 513;
passenger_intercept_errors on;
</pre></p>
<p>in cond.d/arvados-api.conf, inside the "server { listen 127.0.0.1:8000 ... }" block:<br /><pre>
error_page 513 =503 /heavyload.json;
</pre></p>
<p>In /var/www/arvados-api/current/public/heavyload.json:<br /><pre>
{"errors":["This website is under heavy load (queue full)"]}
</pre></p>
<p>I change the status code for the "heavy load" situation within passenger from 503 to 513 (since there are other situations that could also cause 503 errors). I then configure nginx to process the 513 status by returning the /heavyload.json file instead of the default handler, and also recodes the status back to 503.</p> Arvados - Bug #6651: "This website is under heavy load" error causes a parsing errorhttps://dev.arvados.org/issues/6651?journal_id=539642017-08-05T16:06:41ZTom Morristfmorris@veritasgenetics.com
<ul><li><strong>Assigned To</strong> set to <i>Nico César</i></li><li><strong>Target version</strong> set to <i>2017-08-16 sprint</i></li></ul> Arvados - Bug #6651: "This website is under heavy load" error causes a parsing errorhttps://dev.arvados.org/issues/6651?journal_id=541992017-08-16T19:09:45ZNico César
<ul><li><strong>Target version</strong> changed from <i>2017-08-16 sprint</i> to <i>Arvados Future Sprints</i></li></ul><p>this is a duplicate</p> Arvados - Bug #6651: "This website is under heavy load" error causes a parsing errorhttps://dev.arvados.org/issues/6651?journal_id=736912019-04-24T19:53:19ZNico César
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Duplicate</i></li></ul> Arvados - Bug #6651: "This website is under heavy load" error causes a parsing errorhttps://dev.arvados.org/issues/6651?journal_id=775292019-09-11T14:52:25ZTom Morristfmorris@veritasgenetics.com
<ul><li><strong>Assigned To</strong> deleted (<del><i>Nico César</i></del>)</li><li><strong>Target version</strong> deleted (<del><i>Arvados Future Sprints</i></del>)</li></ul>