mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
handle cloudflare error 523
This commit is contained in:
@@ -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.");
|
||||
|
Reference in New Issue
Block a user