Backend Fetch failed
Guillaume Quintard
guillaume at varnish-software.com
Thu Apr 6 09:11:55 CEST 2017
Can be anything, really, care to share a varnishlog?
--
Guillaume Quintard
On Wed, Apr 5, 2017 at 8:46 PM, Rodney Bizzell <rbizzell at measinc.com> wrote:
> Not sure what is causing this error any help would be appreciated
>
>
>
> Error 503 Backend Fetch Failed
>
>
>
> Here is a copy of default.vcl
>
>
>
>
>
> # This is an example VCL file for Varnish.
>
> #
>
> # It does not do anything by default, delegating control to the
>
> # builtin VCL. The builtin VCL is called when there is no explicit
>
> # return statement.
>
> #
>
> # See the VCL chapters in the Users Guide at
> https://www.varnish-cache.org/docs/
>
> # and https://www.varnish-cache.org/trac/wiki/VCLExamples for more
> examples.
>
>
>
> # Marker to tell the VCL compiler that this VCL has been adapted to the
>
> # new 4.0 format.
>
> vcl 4.0;
>
>
>
> # Default backend definition. Set this to point to your content server.
>
> import std;
>
>
>
> backend drupal {
>
> .host = "drupal.miat.co";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "drupal.miat.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
>
>
> backend ncwrite {
>
> .host = "ncwrite.miat.co";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "ncwrite.miat.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
>
>
>
>
>
>
> backend measurementinc {
>
> .host = "www.measurementinc.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "www.measurementinc.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
> backend pegwriting {
>
> .host = "www.pegwriting.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "www.pegwriting.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
> backend pegwritingscholar {
>
> .host = "www.pegwritingscholar.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "www.pegwriitingscholar.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
> backend utahcompose {
>
> .host = "www.utahcompose.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "www.utahcompose.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
> backend wpponline {
>
> .host = "www.wpponline.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "www.wpponline.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
> backend support {
>
> .host = "support.wpponline.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "support.wpponline.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
> backend supportpw {
>
> .host = "support.pegwriting.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "support.pegwriting.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
>
>
>
>
> backend supportpws {
>
> .host = "support.pegwritingscholar.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "support.pegwritingscholar.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
> backend supportncw {
>
> .host = "support.ncwrite.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "support.ncwrite.com";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
> }
>
>
>
> backend supportutc {
>
> .host = "support.utahcompose.com";
>
> .port = "80";
>
> .connect_timeout = 6000s;
>
> .first_byte_timeout = 6000s;
>
> .between_bytes_timeout = 6000s;
>
> .probe = {
>
> .url = "support.utahcompose";
>
> .timeout = 60ms;
>
> .interval = 1s;
>
> .window = 10;
>
> .threshold = 8;
>
> }
>
>
>
>
>
> }
>
>
>
>
>
>
>
>
>
> sub vcl_recv {
>
> if (req.http.host == "drupal.miat.co"){
>
> set req.backend_hint = drupal;
>
> } else if (req.http.host == "ncwrite.miat.co"){
>
> set req.backend_hint = ncwrite;
>
> } else if (req.http.host == "www.measurementinc.com"){
>
> set req.backend_hint = measurementinc;
>
> } else if (req.http.host == "www.pegwriting.com"){
>
> set req.backend_hint = pegwriting;
>
> } else if (req.http.host == "pegwritingscholar.com"){
>
> set req.backend_hint = pegwritingscholar;
>
> } else if (req.http.host == "www.utahcompose.com"){
>
> set req.backend_hint = utahcompose;
>
> } else if (req.http.host == "www.wpponline.com"){
>
> set req.backend_hint = wpponline;
>
> } else if (req.http.host == "«^(?=.*?\bsupport\b)(?=.*?\
> bwpponline\b)(?=.*?\bcom\b).*$»"){
>
> set req.backend_hint = support;
>
> } else if (req.http.host == "«^(?=.*?\bsupport\b)(?=.*?\
> bpegwriting\b)(?=.*?\bcom\b).*$»"){
>
> set req.backend_hint = supportpw;
>
> } else if (req.http.host == "«^(?=.*?\bsupport\b)(?=.*?\
> bpegwritingscholar\b)(?=.*?\bcom\b).*$»"){
>
> set req.backend_hint = supportpws;
>
> } else if (req.http.host == "«^(?=.*?\bsupport\b)(?=.*?\
> bncwrite\b)(?=.*?\bcom\b).*$»"){
>
> set req.backend_hint = supportncw;
>
> } else if (req.http.host == "«^(?=.*?\bsupport\b)(?=.*?\
> butahcompose\b)(?=.*?\bcom\b).*$»"){
>
> set req.backend_hint = supportutc;
>
> return (hash);
>
> }
>
> }
>
>
>
>
>
> #sub vcl_pass {
>
>
>
>
>
>
>
>
>
>
>
> sub vcl_backend_response {
>
> set beresp.grace = 6h;
>
> set beresp.ttl = 5m;
>
> }
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> sub vcl_deliver {
>
> # Happens when we have all the pieces we need, and are about to send
> the
>
> # response to the client.
>
> #
>
> # You can do accounting or modifying the final object here.
>
> }
>
>
>
>
> This email (including any attachments) may contain confidential
> information intended solely for acknowledged recipients. If you think you
> have received this information in error, please reply to the sender and
> delete all copies from your system. Please note that unauthorized use,
> disclosure, or further distribution of this information is prohibited by
> the sender. Note also that we may monitor email directed to or originating
> from our network. Thank you for your consideration and assistance. |
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170406/9e3fe53b/attachment-0001.html>
More information about the varnish-misc
mailing list