Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/commit/9ddd08b0defcc6f6e5cf34bedf6a3d2e3995a0d4 You should set ROOT_URL correctly, otherwise the web may not work correctly.

Increased max redirects from 3 to 5

closes 

(cherry picked from commit d421ff973692a35d55e3773b2dc82e0a0d717546)
pull/1109/head
Taloth Saldono 5 years ago committed by Qstick
parent 79dfd8f14d
commit 9ddd08b0de

@ -27,6 +27,8 @@ namespace NzbDrone.Common.Http
public class HttpClient : IHttpClient
{
private const int MaxRedirects = 5;
private readonly Logger _logger;
private readonly IRateLimitService _rateLimitService;
private readonly ICached<CookieContainer> _cookieContainerCache;
@ -66,7 +68,7 @@ namespace NzbDrone.Common.Http
_logger.Trace("Redirected to {0}", request.Url);
if (autoRedirectChain.Count > 3)
if (autoRedirectChain.Count > MaxRedirects)
{
throw new WebException($"Too many automatic redirections were attempted for {autoRedirectChain.Join(" -> ")}", WebExceptionStatus.ProtocolError);
}

Loading…
Cancel
Save