Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rarbg] (testing) Exception (rarbg): The response was not JSON: The response was not JSON #13358

Closed
3 tasks done
zerosquared opened this issue Jul 13, 2022 · 5 comments
Closed
3 tasks done

Comments

@zerosquared
Copy link

Have you checked our Troubleshooting page for your issue?

  • I have checked the Troubleshooting page

Is there already an issue for your problem?

  • I have checked older issues, open and closed

Have you read our Contributing Guidelines?

  • I have read the Contributing Guidelines

Environment

2022-07-13 16:34:25.2602 Info Starting Jackett v0.20.1304 
2022-07-13 16:34:25.9720 Info Environment version: 6.0.7 (C:\ProgramData\Jackett\) 
2022-07-13 16:34:25.9720 Info OS version: Microsoft Windows NT 10.0.19043.0 (64bit OS) 
2022-07-13 16:34:25.9720 Info Jackett variant: CoreWindows 
2022-07-13 16:34:25.9720 Info Running in Docker: No 
2022-07-13 16:34:25.9720 Info ThreadPool MaxThreads: 1023 workerThreads, 1000 completionPortThreads 
2022-07-13 16:34:25.9720 Info App config/log directory: C:\ProgramData\Jackett 
2022-07-13 16:34:25.9720 Info Using proxy: Disabled 
2022-07-13 16:34:25.9720 Info Using FlareSolverr: No 
2022-07-13 16:34:25.9812 Info Using HTTP Client: HttpWebClient2

Description

This just started a couple of days ago where RARBG is throwing errors in Sonarr. I removed it from Jackett and re-added it and Sonarr was fine for about 10 seconds before showing failure again. Not sure what else to try as I'm not a programmer, but this program's been a life saver.

Test Results from Jackett:
An error occurred while testing this indexer
Exception (rarbg): The response was not JSON: The response was not JSON

log.txt

Logged Error Messages

2022-07-13 16:34:52.5429 Error Jackett.Common.IndexerException: Exception (rarbg): The response was not JSON
 ---> System.Exception: The response was not JSON
   at Jackett.Common.Indexers.RarBG.PerformQueryWithRetry(TorznabQuery query, Boolean retry) in D:\a\1\s\src\Jackett.Common\Indexers\RarBG.cs:line 148
   at Jackett.Common.Indexers.RarBG.PerformQuery(TorznabQuery query) in D:\a\1\s\src\Jackett.Common\Indexers\RarBG.cs:line 134
   at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in D:\a\1\s\src\Jackett.Common\Indexers\BaseIndexer.cs:line 310
   --- End of inner exception stack trace ---
   at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in D:\a\1\s\src\Jackett.Common\Indexers\BaseIndexer.cs:line 322
   at Jackett.Common.Indexers.BaseWebIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in D:\a\1\s\src\Jackett.Common\Indexers\BaseIndexer.cs:line 677
   at Jackett.Common.Services.IndexerManagerService.TestIndexer(String name) in D:\a\1\s\src\Jackett.Common\Services\IndexerManagerService.cs:line 309
   at Jackett.Server.Controllers.IndexerApiController.Test() in D:\a\1\s\src\Jackett.Server\Controllers\IndexerApiController.cs:line 132
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Jackett.Server.Middleware.CustomExceptionHandler.Invoke(HttpContext httpContext) in D:\a\1\s\src\Jackett.Server\Middleware\CustomExceptionHandler.cs:line 26

Screenshots

No response

@ilike2burnthing
Copy link
Contributor

#13350 (comment)
86d7a55
#13356 (comment)

TL;DR - reconfigure the RARBG indexer to increase the retry count

@Airilk
Copy link

Airilk commented Jul 20, 2022

I have the same issue with the OP. I get the same "Exception (rarbg): The response was not JSON: The response was not JSON" error. The increase of the retry count does not seem to be the solution. Is there another way to fix this? i am not a programmer either.

@ilike2burnthing
Copy link
Contributor

Increasing the number of retries doesn't fix the issue, as the problem lies with RARBG, it only reduces the chance of a failure for a single search (e.g. failing 5 times in a row is much less likely, but still possible).

@Locutus64
Copy link

I'm experiencing the exact same issue with RARBG.

@ilike2burnthing
Copy link
Contributor

See instructions above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants