Jackett: [IPTorrent] Parsing Error

Created on 30 Nov 2019  路  3Comments  路  Source: Jackett/Jackett

Please use the search bar at the top of the page and make sure you are not creating an already submitted issue. Duplicating issues makes it more difficult for everyone to follow. Your issue may have already been solved in the past as well.

Provide a description of the feature request or bug, the more details the better.

If you are experiencing an issue with a tracker, then:

  1. Use your browser to check you can access the site directly, and if a login is required, check you can login and that you do not have any outstanding account issues.
  2. If you haven't already, try upgrading to the latest version of Jackett, your issue may have already been resolved.
  3. If it is still not working for you, then a full enhanced log must be included. Instructions for obtaining logs are here: https://github.com/Jackett/Jackett#troubleshooting

(At the bottom of your Jackett Dashboard page) Jackett version: v0.12.1042.0
(if you installed using Jackett.Binaries.Mono.tar.gz) Mono version: 5.8.0.240 (Debian 5.18.0.240+dfsg-3)


Since a week or two I have been unable to add the IPTorrent Index Configuration. This specific instance of the error refers to the addition of IPTorrent using the Cookie header parameter, but the same issue (Parsing Error) occurs when the regular login + password options are available instead of the cookie header option. Above the error it returns a massive string of HTML that does appear to be the actual loaded website including torrents, so my guess would be the issue lays in the parsing of the data itself.
I also have to add that I am 100% certain the Cookie is correct, seeing as I've used this before in previous configurations, and with an invalid cookie it throws up an invalid cookie error immediately, while this throws an exception after parsing for several minutes,
EDIT: Also note that this is the latest version of both Mono and Jackett as of this time, which includes the fix for the often mentioned CloudFlare issue.

System.Exception: Your cookie did not work: Parse error
  at Jackett.Common.Indexers.IPTorrents.ApplyConfiguration (Newtonsoft.Json.Linq.JToken configJson) [0x0016a] in C:\projects\jackett\src\Jackett.Common\Indexers\IPTorrents.cs:197
  at Jackett.Server.Controllers.IndexerApiController.UpdateConfig (Jackett.Common.Models.DTO.ConfigItem[] config) [0x0012d] in C:\projects\jackett\src\Jackett.Server\Controllers\IndexerApiController.cs:108
  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 <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync () [0x00131] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync () [0x0009e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9d>: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 <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9d>: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 <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>: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 <f352e566abf6421e87eafbcf57a0b237>:0
  at Jackett.Server.Middleware.CustomExceptionHandler.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x00042] in C:\projects\jackett\src\Jackett.Server\Middleware\CustomExceptionHandler.cs:29  System.Exception: Your cookie did not work: Parse error
  at Jackett.Common.Indexers.IPTorrents.ApplyConfiguration (Newtonsoft.Json.Linq.JToken configJson) [0x0016a] in C:\projects\jackett\src\Jackett.Common\Indexers\IPTorrents.cs:197
  at Jackett.Server.Controllers.IndexerApiController.UpdateConfig (Jackett.Common.Models.DTO.ConfigItem[] config) [0x0012d] in C:\projects\jackett\src\Jackett.Server\Controllers\IndexerApiController.cs:108
  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 <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync () [0x00131] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync () [0x0009e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ActionExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9d>: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 <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow (Microsoft.AspNetCore.Mvc.Filters.ResourceExecutedContext context) [0x0001b] in <b4ef600f4a594fe2865a8f97f915fb9d>: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 <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
  at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>: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 <f352e566abf6421e87eafbcf57a0b237>:0
  at Jackett.Server.Middleware.CustomExceptionHandler.Invoke (Microsoft.AspNetCore.Http.HttpContext httpContext) [0x00042] in C:\projects\jackett\src\Jackett.Server\Middleware\CustomExceptionHandler.cs:29

Help wanted

Most helpful comment

@Corjaantje I have Jackett in Linux and IPTorrents is working fine.
I will let some advices:

  1. Check you have latest version of Jackett. I tested Jackett 0.12.1053.0 right now and it works.
  2. I'm logged with user + password and the domain https://iptorrents.com/. Try opening this URL in your browser in private mode to check it's not blocked in your country. If it's blocked try with other domain (there are many in the config page). If you server has VPN or Proxy try to configure your browser to use the same configuration as your server for test the URL.
  3. There are 2 different versions of Jackett for Linux Mono (Jackett.Binaries.Mono.tar.gz) and .NET Core (Jackett.Binaries.LinuxA....). I'm using the .NET Core variant and I recommend you to do the same.
  4. Try the test button and a simple search like ubuntu. Both things are working here.

All 3 comments

IPtorrents works for me on my win10 jackett 0.12.1047, on my Ubuntu18 and on my MacOS Mojave.
So we know that there is nothing wrong with the Jackett indexer itself as far as processing login and search results.
but there are many open tickets from users #6402 #6418 #4624 #4596 #5164 #5342 , particularly on Linux (other than Ubuntu), that have problems accessing IPtorrent via Jackett.
Sorry but I cannot help you with this, its beyond my expertise to solve.
Ping to anyone who can help.

@Corjaantje I have Jackett in Linux and IPTorrents is working fine.
I will let some advices:

  1. Check you have latest version of Jackett. I tested Jackett 0.12.1053.0 right now and it works.
  2. I'm logged with user + password and the domain https://iptorrents.com/. Try opening this URL in your browser in private mode to check it's not blocked in your country. If it's blocked try with other domain (there are many in the config page). If you server has VPN or Proxy try to configure your browser to use the same configuration as your server for test the URL.
  3. There are 2 different versions of Jackett for Linux Mono (Jackett.Binaries.Mono.tar.gz) and .NET Core (Jackett.Binaries.LinuxA....). I'm using the .NET Core variant and I recommend you to do the same.
  4. Try the test button and a simple search like ubuntu. Both things are working here.

@ngosang Thank you very much, using Jackett 0.12.1053.0, standalone version Jacket.Binaries.LinuxARM32 on my Raspberry Pi 4 did the trick! You're a life safer!

Was this page helpful?
0 / 5 - 0 ratings