From b66fd183801ed9eaa50a594aaaf5a44da8bbc110 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Sun, 1 Apr 2018 15:40:43 +0200 Subject: [PATCH] handle cloudflare error 523 --- src/Jackett.Common/Indexers/BaseIndexer.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Jackett.Common/Indexers/BaseIndexer.cs b/src/Jackett.Common/Indexers/BaseIndexer.cs index 678462342..67d53c920 100644 --- a/src/Jackett.Common/Indexers/BaseIndexer.cs +++ b/src/Jackett.Common/Indexers/BaseIndexer.cs @@ -473,6 +473,7 @@ namespace Jackett.Common.Indexers || response.Status == System.Net.HttpStatusCode.GatewayTimeout || (int)response.Status == 521 // used by cloudflare to signal the original webserver is refusing the connection || (int)response.Status == 522 // used by cloudflare to signal the original webserver is not reachable at all (timeout) + || (int)response.Status == 523 // used by cloudflare to signal the original webserver is not reachable at all (Origin is unreachable) ) { throw new Exception("Request to " + response.Request.Url + " failed (Error " + response.Status + ") - The tracker seems to be down.");