Skip to content

Instantly share code, notes, and snippets.

@fa1rid
Last active July 27, 2025 12:17
Show Gist options
  • Select an option

  • Save fa1rid/a546b038900648e9e9b2eba4dd9e9abd to your computer and use it in GitHub Desktop.

Select an option

Save fa1rid/a546b038900648e9e9b2eba4dd9e9abd to your computer and use it in GitHub Desktop.

Revisions

  1. fa1rid revised this gist Jul 27, 2025. 1 changed file with 21 additions and 39 deletions.
    60 changes: 21 additions & 39 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,13 @@
    Invalid request Validation failed:
    -- : Unable to connect to indexer, indexer's server is unavailable. Try again later. Http request timed outInvalid request Validation failed:
    -- : Unable to connect to indexer, indexer's server is unavailable. Try again later. Http request timed out

    2025-07-27 16:12:29.1|Debug|Cardigann|Setting type to "desc"
    2025-07-27 16:12:29.1|Debug|Cardigann|Adding request for Aither (API): https://aither.cc/api/torrents/filter?sortField=created_at&sortDirection=desc&perPage=100
    2025-07-27 16:12:29.1|Debug|Cardigann|Downloading Feed https://aither.cc/api/torrents/filter?sortField=created_at&sortDirection=desc&perPage=100
    2025-07-27 16:12:54.5|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
    2025-07-27 16:12:54.5|Debug|Api|[GET] /api/v1/command: 200.OK (1 ms)
    2025-07-27 16:12:54.5|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
    2025-07-27 16:12:54.5|Debug|Api|[GET] /api/v1/command: 200.OK (1 ms)
    2025-07-27 16:14:09.1|Warn|Cardigann|Unable to connect to indexer.

    Message
    Unable to connect to indexer.: Http request timed out
    Exception
    System.Net.WebException: Http request timed out
    [v1.37.0.5076] System.Net.WebException: Http request timed out
    ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
    at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
    @@ -26,34 +27,15 @@ System.Net.WebException: Http request timed out
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchPage(IndexerRequest request, IParseIndexerResponse parser) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 610
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 764

    ------------------------------------------------------------------------------------
    NzbDrone.Core.Exceptions.ReleaseDownloadException: Download failed: Download failed
    Exception
    NzbDrone.Core.Exceptions.ReleaseDownloadException: Download failed
    ---> System.Net.WebException: Failed to read complete http response
    ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
    ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
    ---> System.Net.Sockets.SocketException (125): Operation canceled
    --- End of inner exception stack trace ---
    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
    at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
    at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
    at System.Net.Http.HttpConnection.FillAsync(Boolean async)
    at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken)
    --- End of inner exception stack trace ---
    at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken)
    at System.Net.Http.HttpConnectionResponseContent.SerializeToStreamAsync(Stream stream, TransportContext context, CancellationToken cancellationToken)
    at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
    at System.Net.Http.HttpContent.WaitAndReturnAsync[TState,TResult](Task waitTask, TState state, Func`2 returnFunc)
    at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 132
    --- End of inner exception stack trace ---
    at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 137
    at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Prowlarr.Common/Http/HttpClient.cs:line 171
    at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 70
    at NzbDrone.Core.Indexers.IndexerHttpClient.ExecuteProxiedAsync(HttpRequest request, ProviderDefinition definition) in ./Prowlarr.Core/Indexers/IndexerHttpClient.cs:line 44
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.Download(Uri link) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 251
    --- End of inner exception stack trace ---
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.Download(Uri link) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 318
    at NzbDrone.Core.Download.DownloadService.DownloadReport(String link, Int32 indexerId, String source, String host, String title) in ./Prowlarr.Core/Download/DownloadService.cs:line 182
    at NzbDrone.Api.V1.Indexers.NewznabController.GetDownload(Int32 id, String link, String file) in ./Prowlarr.Api.V1/Indexers/NewznabController.cs:line 315

    2025-07-27 16:14:09.2|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
    2025-07-27 16:14:09.2|Warn|ProwlarrErrorPipeline|Invalid request Validation failed:
    -- : Unable to connect to indexer, indexer's server is unavailable. Try again later. Http request timed out
    2025-07-27 16:14:09.2|Debug|Api|[GET] /api/v1/indexerStatus: 200.OK (1 ms)
    2025-07-27 16:14:09.2|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
    2025-07-27 16:14:09.2|Debug|Api|[POST] /api/v1/indexer/test: 400.BadRequest (100129 ms)
    2025-07-27 16:14:09.2|Debug|Api|[GET] /api/v1/indexerStatus: 200.OK (1 ms)
    2025-07-27 16:14:14.2|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
    2025-07-27 16:14:14.2|Debug|Api|[GET] /api/v1/health: 200.OK (0 ms)
    2025-07-27 16:14:14.2|Debug|Prowlarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
    2025-07-27 16:14:14.2|Debug|Api|[GET] /api/v1/health: 200.OK (1 ms)
  2. fa1rid revised this gist Jul 27, 2025. 1 changed file with 1 addition and 7 deletions.
    8 changes: 1 addition & 7 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,8 @@
    ```
    Invalid request Validation failed:
    -- : Unable to connect to indexer, indexer's server is unavailable. Try again later. Http request timed outInvalid request Validation failed:
    -- : Unable to connect to indexer, indexer's server is unavailable. Try again later. Http request timed out
    ```


    ```
    Message
    Unable to connect to indexer.: Http request timed out
    Exception
    @@ -28,10 +25,8 @@ System.Net.WebException: Http request timed out
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchIndexerResponse(IndexerRequest request) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 664
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchPage(IndexerRequest request, IParseIndexerResponse parser) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 610
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 764
    ```


    ```
    ------------------------------------------------------------------------------------
    NzbDrone.Core.Exceptions.ReleaseDownloadException: Download failed: Download failed
    Exception
    NzbDrone.Core.Exceptions.ReleaseDownloadException: Download failed
    @@ -62,4 +57,3 @@ NzbDrone.Core.Exceptions.ReleaseDownloadException: Download failed
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.Download(Uri link) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 318
    at NzbDrone.Core.Download.DownloadService.DownloadReport(String link, Int32 indexerId, String source, String host, String title) in ./Prowlarr.Core/Download/DownloadService.cs:line 182
    at NzbDrone.Api.V1.Indexers.NewznabController.GetDownload(Int32 id, String link, String file) in ./Prowlarr.Api.V1/Indexers/NewznabController.cs:line 315
    ```
  3. fa1rid created this gist Jul 27, 2025.
    65 changes: 65 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,65 @@
    ```
    Invalid request Validation failed:
    -- : Unable to connect to indexer, indexer's server is unavailable. Try again later. Http request timed outInvalid request Validation failed:
    -- : Unable to connect to indexer, indexer's server is unavailable. Try again later. Http request timed out
    ```


    ```
    Message
    Unable to connect to indexer.: Http request timed out
    Exception
    System.Net.WebException: Http request timed out
    ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
    at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
    at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 120
    --- End of inner exception stack trace ---
    at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 170
    at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Prowlarr.Common/Http/HttpClient.cs:line 171
    at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 70
    at NzbDrone.Core.Indexers.IndexerHttpClient.ExecuteProxiedAsync(HttpRequest request, ProviderDefinition definition) in ./Prowlarr.Core/Indexers/IndexerHttpClient.cs:line 44
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.<>c.<<FetchIndexerResponse>b__57_0>d.MoveNext() in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 665
    --- End of stack trace from previous location ---
    at Polly.ResiliencePipeline.<>c__9`2.<<ExecuteAsync>b__9_0>d.MoveNext()
    --- End of stack trace from previous location ---
    at Polly.Outcome`1.GetResultOrRethrow()
    at Polly.ResiliencePipeline.ExecuteAsync[TResult,TState](Func`3 callback, TState state, CancellationToken cancellationToken)
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchIndexerResponse(IndexerRequest request) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 664
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.FetchPage(IndexerRequest request, IParseIndexerResponse parser) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 610
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 764
    ```


    ```
    NzbDrone.Core.Exceptions.ReleaseDownloadException: Download failed: Download failed
    Exception
    NzbDrone.Core.Exceptions.ReleaseDownloadException: Download failed
    ---> System.Net.WebException: Failed to read complete http response
    ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
    ---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
    ---> System.Net.Sockets.SocketException (125): Operation canceled
    --- End of inner exception stack trace ---
    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
    at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
    at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
    at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory`1 buffer)
    at System.Net.Http.HttpConnection.FillAsync(Boolean async)
    at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken)
    --- End of inner exception stack trace ---
    at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.CopyToAsyncCore(Stream destination, CancellationToken cancellationToken)
    at System.Net.Http.HttpConnectionResponseContent.SerializeToStreamAsync(Stream stream, TransportContext context, CancellationToken cancellationToken)
    at System.Net.Http.HttpContent.LoadIntoBufferAsyncCore(Task serializeToStreamTask, MemoryStream tempBuffer)
    at System.Net.Http.HttpContent.WaitAndReturnAsync[TState,TResult](Task waitTask, TState state, Func`2 returnFunc)
    at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 132
    --- End of inner exception stack trace ---
    at NzbDrone.Common.Http.Dispatchers.ManagedHttpDispatcher.GetResponseAsync(HttpRequest request, CookieContainer cookies) in ./Prowlarr.Common/Http/Dispatchers/ManagedHttpDispatcher.cs:line 137
    at NzbDrone.Common.Http.HttpClient.ExecuteRequestAsync(HttpRequest request, CookieContainer cookieContainer) in ./Prowlarr.Common/Http/HttpClient.cs:line 171
    at NzbDrone.Common.Http.HttpClient.ExecuteAsync(HttpRequest request) in ./Prowlarr.Common/Http/HttpClient.cs:line 70
    at NzbDrone.Core.Indexers.IndexerHttpClient.ExecuteProxiedAsync(HttpRequest request, ProviderDefinition definition) in ./Prowlarr.Core/Indexers/IndexerHttpClient.cs:line 44
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.Download(Uri link) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 251
    --- End of inner exception stack trace ---
    at NzbDrone.Core.Indexers.HttpIndexerBase`1.Download(Uri link) in ./Prowlarr.Core/Indexers/HttpIndexerBase.cs:line 318
    at NzbDrone.Core.Download.DownloadService.DownloadReport(String link, Int32 indexerId, String source, String host, String title) in ./Prowlarr.Core/Download/DownloadService.cs:line 182
    at NzbDrone.Api.V1.Indexers.NewznabController.GetDownload(Int32 id, String link, String file) in ./Prowlarr.Api.V1/Indexers/NewznabController.cs:line 315
    ```