Jackett: [yggtorrent] Exception (yggtorrent): Line 62: Illegal return statement: Line 62: Illegal return statement (Test)

Created on 26 May 2020  路  24Comments  路  Source: Jackett/Jackett

Environment

OS: Unix 3.10.105.0 (DSM)

.Net Runtime: [.Net-Core/.Net-Framework/Mono] Mono

.Net Version:Mono version: 5.20.1.34

Jackett Version: v0.16.546

Last Working Jackett Version: the previous pre-release

Are you using a proxy or VPN? [yes/no] NO

Description

Failed to test Indexer YggTorrent and produce the error
Same with sonarr and radarr

Logged Error Messages

Jackett.Common.IndexerException: Exception (yggtorrent): Line 62: Illegal return statement ---> Jint.Parser.ParserException: Line 62: Illegal return statement
at Jint.Parser.JavaScriptParser.ThrowError (Jint.Parser.Token token, System.String messageFormat, System.Object[] arguments) [0x0010f] in :0
at Jint.Parser.JavaScriptParser.ThrowErrorTolerant (Jint.Parser.Token token, System.String messageFormat, System.Object[] arguments) [0x00047] in :0
at Jint.Parser.JavaScriptParser.ParseReturnStatement () [0x0001a] in :0
at Jint.Parser.JavaScriptParser.ParseStatement () [0x002fc] in :0
at Jint.Parser.JavaScriptParser.ParseSourceElement () [0x00066] in :0
at Jint.Parser.JavaScriptParser.ParseSourceElements () [0x000bc] in :0
at Jint.Parser.JavaScriptParser.ParseProgram () [0x00018] in :0
at Jint.Parser.JavaScriptParser.Parse (System.String code, Jint.Parser.ParserOptions options) [0x00121] in :0
at Jint.Parser.JavaScriptParser.Parse (System.String code) [0x00000] in :0
at Jint.Engine.Execute (System.String source) [0x00006] in :0
at CloudflareSolverRe.Types.Javascript.JsChallenge.Solve () [0x00020] in <26b83cb0a9ac472388afda7d5e026324>:0
at CloudflareSolverRe.Solvers.JsChallengeSolver.SolveChallenge (System.String html) [0x000c7] in <26b83cb0a9ac472388afda7d5e026324>:0
at CloudflareSolverRe.Solvers.JsChallengeSolver.Solve () [0x0007e] in <26b83cb0a9ac472388afda7d5e026324>:0
at CloudflareSolverRe.CloudflareSolver.SolveJavascriptChallenge (System.Nullable1[T] jsDetectResult) [0x001b5] in <26b83cb0a9ac472388afda7d5e026324>:0 at CloudflareSolverRe.CloudflareSolver.SolveWithJavascript (System.Int32 tries) [0x000a7] in <26b83cb0a9ac472388afda7d5e026324>:0 at CloudflareSolverRe.CloudflareSolver.Solve () [0x00087] in <26b83cb0a9ac472388afda7d5e026324>:0 at CloudflareSolverRe.CloudflareSolver.Solve (System.Net.Http.HttpClient httpClient, CloudflareSolverRe.CloudflareHandler cloudflareHandler, System.Uri siteUrl, System.Threading.CancellationToken cancellationToken) [0x000a3] in <26b83cb0a9ac472388afda7d5e026324>:0 at CloudflareSolverRe.CloudflareSolver+<>c__DisplayClass30_0.<Solve>b__0 () [0x000bf] in <26b83cb0a9ac472388afda7d5e026324>:0 at CloudflareSolverRe.Utilities.SemaphoreLocker.LockAsync[T] (System.Func1[TResult] worker) [0x000d5] in <26b83cb0a9ac472388afda7d5e026324>:0
at CloudflareSolverRe.CloudflareSolver.Solve (System.Net.Http.HttpClient httpClient, System.Net.Http.HttpClientHandler httpClientHandler, System.Uri siteUrl, System.Threading.CancellationToken cancellationToken, System.Boolean randomUserAgent) [0x000f5] in <26b83cb0a9ac472388afda7d5e026324>:0
at CloudflareSolverRe.ClearanceHandler.GetClearance (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x00085] in <26b83cb0a9ac472388afda7d5e026324>:0
at CloudflareSolverRe.ClearanceHandler.SendAsync (System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) [0x0012f] in <26b83cb0a9ac472388afda7d5e026324>:0
at System.Net.Http.HttpClient.SendAsyncWorker (System.Net.Http.HttpRequestMessage request, System.Net.Http.HttpCompletionOption completionOption, System.Threading.CancellationToken cancellationToken) [0x000ca] in <8dbf7d0f61404e7982d0285884a6270d>:0
at Jackett.Common.Utils.Clients.HttpWebClient.Run (Jackett.Common.Utils.Clients.WebRequest webRequest) [0x0048a] in :0
at Jackett.Common.Utils.Clients.WebClient.GetString (Jackett.Common.Utils.Clients.WebRequest request) [0x0010b] in :0
at Jackett.Common.Indexers.BaseWebIndexer.RequestStringWithCookies (System.String url, System.String cookieOverride, System.String referer, System.Collections.Generic.Dictionary`2[TKey,TValue] headers) [0x000cb] in :0
at Jackett.Common.Indexers.CardigannIndexer.PerformQuery (Jackett.Common.Models.TorznabQuery query) [0x0086f] in :0
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x00091] in :0
--- End of inner exception stack trace ---
at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x000ee] in :0
at Jackett.Common.Indexers.BaseWebIndexer.ResultsForQuery (Jackett.Common.Models.TorznabQuery query) [0x0006b] in :0
at Jackett.Common.Services.IndexerManagerService.TestIndexer (System.String name) [0x000a3] in :0
at Jackett.Server.Controllers.IndexerApiController.Test () [0x000e1] in :0
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute (Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultTypeMapper mapper, Microsoft.Extensions.Internal.ObjectMethodExecutor executor, System.Object controller, System.Object[] arguments) [0x00071] in :0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync () [0x00131] in :0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync () [0x0009e] in :0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) [0x0001b] in :0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+Scope& scope, System.Object& state, System.Boolean& isCompleted) [0x00382] in :0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync () [0x0002f] in :0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in :0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in :0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next (Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+State& next, Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+Scope& scope, System.Object& state, System.Boolean& isCompleted) [0x00840] in :0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in :0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in :0
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x001cb] in <6092a16d93814eba828b517a2b132f80>:0
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x00384] in <427697fe42b7459ba5302fb76d339d3b>:0
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke (Microsoft.AspNetCore.Http.HttpContext context) [0x0043e] in :0
at Jackett.Server.Middleware.CustomExceptionHandler.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x0008a] in :0

Most helpful comment

I'm working on it.

All 24 comments

I have the same issue since few weeks now :(

Same thing since today

same here again feels bad for the dev

Same here.

Same. Just noticed today on version 0.16.546.0.

Same thing with 535 and 546.

same for me

Same for me on version 0.16.496.0 and 0.16.546.0

same for me since today

I have the same issue since today on version 0.16.546.0

Same here this battle with Cloudflare is getting ridiculous

Same here

Jackett Version 0.16.546.0

Same here since today. I can get a successful test on jackett with yggCookie (not yggtorrent), but not with sonarr (same message in the log). Looks like the cat and mouse game is on again :-((

I'm working on it.

Thanks for the Hardwork Diego !

The mouse has won again :-)) Thanks Diego!

Good job !

oh yes! thank Ngosang!

Fix published in Jackett v0.16.548.

It could take few hours until the release is published in DockerHub. In the future, you won't have to pull the latest Docker image manually. We are making improvements to deliver releases faster => https://github.com/linuxserver/docker-jackett/pull/102

Update: Available in GitHub and DockerHub.

We are making improvements to deliver releases faster => linuxserver/docker-jackett#102

Update: Available in GitHub and DockerHub.

DUDE. This is the kind of news that makes 2020 less shitty !

Big thank you !

@ngosang @garfield69 I'm getting the exact same error message for Ourbits. Should I open a new ticket or can it be fixed with the need for that?

@RoloSoze update to v0.16.548. Its a cloudflareSolverRe library issue that should now be resolved.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thexa4 picture thexa4  路  3Comments

whitesnakeftw picture whitesnakeftw  路  3Comments

RoloSoze picture RoloSoze  路  4Comments

STX2k picture STX2k  路  3Comments

silverbullettruck2001 picture silverbullettruck2001  路  4Comments