Jackett: [Torrentday] Your cookie did not work: Got a redirect to http://www.torrentday.com/t.json?29;28;42;20;30;47;43....q=, please adjust your the alternative link

Created on 23 Apr 2018  路  27Comments  路  Source: Jackett/Jackett

So, https://torrentday.it/ gives a httpStatuscode of 522. So it looks lite that site is down.

System.Exception: Request to https://torrentday.it/login.php failed (Error 522) - The tracker seems to be down.
   at Jackett.Common.Indexers.BaseWebIndexer.CheckTrackerDown(WebClientStringResult response)
   at Jackett.Common.Indexers.BaseWebIndexer.<RequestStringWithCookies>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Jackett.Common.Indexers.TorrentDay.<GetConfigurationForSetup>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Jackett.Controllers.IndexerApiController.<Config>d__9.MoveNext() in C:\projects\jackett\src\Jackett\Controllers\IndexerApiController.cs:line 76
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__1`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()

I then downloaded the project (from the master branch) and changed the tracker site fromtorrentday.it -> torrentday.com

I now past my cookie header string with the PHPSESSID=xxxxxxx; uid=xxxxxxxx; pass=xxxxxxxx;

System.Exception: Your cookie did not work: Got a redirect to http://www.torrentday.com/t.json?29;28;42;20;30;47;43;25;11;5;3;21;22;13;44;48;1;17;23;41;16;27;45;4;18;8;10;9;24;32;31;33;46;14;26;7;34;2;6;15;q=, please adjust your the alternative link
   at Jackett.Common.Indexers.TorrentDay.<ApplyConfiguration>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Jackett.Controllers.IndexerApiController.<UpdateConfig>d__10.MoveNext() in D:\DeleteME\Jackett\src\Jackett\Controllers\IndexerApiController.cs:line 101
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()

So what can be the problem, and how do I solve it?

Jackett version: 0.8.886
Mono version using windows.


Most helpful comment

I just solved it. After WAY to much time spent on trying to understand the whole HTTPClient. And the solution is to change "https://torrentday.com/", to "https://www.torrentday.com/", with the www.

If you don't do this you get this strange redirect, and the part that we missed since it redirected from HTTPS -> HTTP and HTTP -> HTTP (very strange) is that it also redirect to torrentday.com -> www.torrentday.com

Will create a PR right now.

All 27 comments

Got same issue. Removing TorrentDay and re adding it causes the error "Request to Jackett server failed"

Other torrent sites seem fine.

TorrentDay.it isn't working. Alternatives seem to work TorrentDay.com

Is there a way to manually change the torrentday configuration to look for .com rather than .it?

I tried editing the json file and got the same error. I think the redirect it uses for the captcha is down. Will just have to wait until the main link is back up I think.

Is there a way to manually change the torrentday configuration to look for .com rather than .it?

Well that will not work since the redirect is somehow wrong.

I tried editing the json file and got the same error. I think the redirect it uses for the captcha is down. Will just have to wait until the main link is back up I think.

I don't understand. The cookie string works fine in a browser, how come it won't work in Jackett?

fixed via dae6aeb4b5bb2eb4ef91f96b370824acd4bfcc9c

I'm sorry, but the issue at hand is not solved. At least it does not work for me.

I already tried change it from .it to .com/.eu and other mirrors.

Now I downloaded the latest master (dae6aeb)

As I said in the beginning and tested on the new updated master, this is the error promoted now

System.Exception: Your cookie did not work: Got a redirect to http://www.torrentday.com/t.json?29;28;42;20;30;47;43;25;11;5;3;21;22;13;44;48;1;17;23;41;16;27;45;4;18;8;10;9;24;32;31;33;46;14;26;7;34;2;6;15;q=, please adjust your the alternative link
   at Jackett.Common.Indexers.TorrentDay.<ApplyConfiguration>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Jackett.Controllers.IndexerApiController.<UpdateConfig>d__10.MoveNext() in D:\DeleteME\Jackett\src\Jackett\Controllers\IndexerApiController.cs:line 101
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()

@Zexuz which exact site link are you using now?
Make sure you're using https (not http), the redirect is to http (very odd).
Please post the full enhanced log showing the requests made to TD.

I'm using the new master (Downloaded it with to a fresh directory and run it with VS2017) with commit dae6aeb (the one you just committed).

How to I obtain the "enhanced log"?
The log provided comes from "View logs" inside jacket UI/Dashboard.

start jackett via the -t option or enable enhanced logging in the options section (don't forget to click on apply). the GUI option isn't saved (needs to be enabled again on every restart).

EDIT: Removed very long and unnecessary log.

It looks like something (ISP? Malware?) is trying to redirect you to the http version of the page.
It should be the other way around, any http request should be redirected to https.
Feel free to change the site link top http to test if it works (and change your password after it).

Changed from HTTPS to HTTP. Now it redirects to HTTPS but is still invalid...
I don't think it's ISP or Malware that redirect HTTPS -> HTTP and HTTP -> HTTPS..

Will try to look more in depth in the code later.

Here is the new log with HTTP instead of HTTPS.

Apr 23, 2018 06:17:28 PM | Info | ReflectedHttpActionDescriptor ExecuteAsync Invoking action 'Logs()'
-- | -- | --
Apr 23, 2018 06:17:28 PM | Info | ApiControllerActionInvoker InvokeActionAsync Action='Logs()'
Apr 23, 2018 06:17:28 PM | Info | JackettAPINoCacheAttribute OnActionExecutingAsync
Apr 23, 2018 06:17:28 PM | Info | JackettAPINoCacheAttribute OnActionExecutingAsync Action filter for 'Logs()'
Apr 23, 2018 06:17:28 PM | Info | HttpActionBinding ExecuteBindingAsync
Apr 23, 2018 06:17:28 PM | Info | HttpActionBinding ExecuteBindingAsync
Apr 23, 2018 06:17:28 PM | Info | JackettAuthorizedAttribute OnAuthorizationAsync
Apr 23, 2018 06:17:28 PM | Info | JackettAuthorizedAttribute OnAuthorizationAsync
Apr 23, 2018 06:17:28 PM | Info | ApiControllerActionSelector SelectAction Selected action 'Logs()'
Apr 23, 2018 06:17:28 PM | Info | ApiControllerActionSelector SelectAction
Apr 23, 2018 06:17:28 PM | Info | ServerConfigurationController ExecuteAsync
Apr 23, 2018 06:17:28 PM | Info | HttpControllerDescriptor CreateController Jackett.Controllers.ServerConfigurationController
Apr 23, 2018 06:17:28 PM | Info | DefaultHttpControllerActivator Create Jackett.Controllers.ServerConfigurationController
Apr 23, 2018 06:17:28 PM | Info | DefaultHttpControllerActivator Create
Apr 23, 2018 06:17:28 PM | Info | HttpControllerDescriptor CreateController
Apr 23, 2018 06:17:28 PM | Info | DefaultHttpControllerSelector SelectController ServerConfiguration
Apr 23, 2018 06:17:28 PM | Info | DefaultHttpControllerSelector SelectController Route='action:logs,controller:ServerConfiguration'
Apr 23, 2018 06:17:28 PM | Info | http://127.0.0.1:9117/api/v2.0/server/logs?_=1524500224961
Apr 23, 2018 06:17:24 PM | Info | IndexerApiController Dispose
Apr 23, 2018 06:17:24 PM | Info | IndexerApiController Dispose
Apr 23, 2018 06:17:24 PM | Info | Content-type='application/json; charset=utf-8', content-length=5234
Apr 23, 2018 06:17:24 PM | Info | IndexerApiController ExecuteAsync
Apr 23, 2018 06:17:24 PM | Info | ApiExceptionHandler ExecuteExceptionFilterAsync
Apr 23, 2018 06:17:24 PM | Error | System.Exception: Your cookie did not work: Got a redirect to https://torrentday.com/t.json?29;28;42;20;30;47;43;25;11;5;3;21;22;13;44;48;1;17;23;41;16;27;45;4;18;8;10;9;24;32;31;33;46;14;26;7;34;2;6;15;q=, please adjust your the alternative link    at Jackett.Common.Indexers.TorrentDay.<ApplyConfiguration>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()    at Jackett.Controllers.IndexerApiController.<UpdateConfig>d__10.MoveNext() in D:\DeleteME\Jackett\src\Jackett\Controllers\IndexerApiController.cs:line 101 --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__0.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Tracing.ITraceWriterExtensions.<TraceBeginEndAsyncCore>d__17`1.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__6.MoveNext()
Apr 23, 2018 06:17:24 PM | Info | ApiExceptionHandler ExecuteExceptionFilterAsync
Apr 23, 2018 06:17:24 PM | Info | JackettAPINoCacheAttribute OnActionExecutedAsync
Apr 23, 2018 06:17:24 PM | Info | JackettAPINoCacheAttribute OnActionExecutedAsync Action filter for 'Config(ConfigItem[] config)'
Apr 23, 2018 06:17:24 PM | Info | RequiresIndexerAttribute OnActionExecutedAsync
Apr 23, 2018 06:17:24 PM | Info | RequiresIndexerAttribute OnActionExecutedAsync Action filter for 'Config(ConfigItem[] config)'
Apr 23, 2018 06:17:24 PM | Error | ApiControllerActionInvoker InvokeActionAsync
Apr 23, 2018 06:17:24 PM | Error | ReflectedHttpActionDescriptor ExecuteAsync
Apr 23, 2018 06:17:24 PM | Debug | WebClient(HttpWebClient): Returning MovedPermanently => https://torrentday.com/t.json?29;28;42;20;30;47;43;25;11;5;3;21;22;13;44;48;1;17;23;41;16;27;45;4;18;8;10;9;24;32;31;33;46;14;26;7;34;2;6;15;q=
Apr 23, 2018 06:17:24 PM | Debug | WebClient(HttpWebClient).GetString(Url:http://torrentday.com/t.json?29;28;42;20;30;47;43;25;11;5;3;21;22;13;44;48;1;17;23;41;16;27;45;4;18;8;10;9;24;32;31;33;46;14;26;7;34;2;6;15;q=)
Apr 23, 2018 06:17:24 PM | Info | ReflectedHttpActionDescriptor ExecuteAsync Invoking action 'Config(config=Jackett.Common.Models.DTO.ConfigItem[])'
Apr 23, 2018 06:17:24 PM | Info | ApiControllerActionInvoker InvokeActionAsync Action='Config(config=Jackett.Common.Models.DTO.ConfigItem[])'
Apr 23, 2018 06:17:24 PM | Info | RequiresIndexerAttribute OnActionExecutingAsync
Apr 23, 2018 06:17:24 PM | Info | RequiresIndexerAttribute OnActionExecutingAsync Action filter for 'Config(ConfigItem[] config)'
Apr 23, 2018 06:17:24 PM | Info | JackettAPINoCacheAttribute OnActionExecutingAsync
Apr 23, 2018 06:17:24 PM | Info | JackettAPINoCacheAttribute OnActionExecutingAsync Action filter for 'Config(ConfigItem[] config)'
Apr 23, 2018 06:17:24 PM | Info | HttpActionBinding ExecuteBindingAsync Model state is valid. Values: config=Jackett.Common.Models.DTO.ConfigItem[]
Apr 23, 2018 06:17:24 PM | Info | FormatterParameterBinding ExecuteBindingAsync Parameter 'config' bound to the value 'Jackett.Common.Models.DTO.ConfigItem[]'
Apr 23, 2018 06:17:24 PM | Info | JsonMediaTypeFormatter ReadFromStreamAsync Value read='Jackett.Common.Models.DTO.ConfigItem[]'
Apr 23, 2018 06:17:24 PM | Info | JsonMediaTypeFormatter ReadFromStreamAsync Type='ConfigItem[]', content-type='application/json'
Apr 23, 2018 06:17:24 PM | Info | FormatterParameterBinding ExecuteBindingAsync Binding parameter 'config'
Apr 23, 2018 06:17:24 PM | Info | HttpActionBinding ExecuteBindingAsync
Apr 23, 2018 06:17:24 PM | Info | JackettAuthorizedAttribute OnAuthorizationAsync
Apr 23, 2018 06:17:24 PM | Info | JackettAuthorizedAttribute OnAuthorizationAsync
Apr 23, 2018 06:17:24 PM | Info | ApiControllerActionSelector SelectAction Selected action 'Config(ConfigItem[] config)'
Apr 23, 2018 06:17:24 PM | Info | ApiControllerActionSelector SelectAction
Apr 23, 2018 06:17:24 PM | Info | IndexerApiController ExecuteAsync
Apr 23, 2018 06:17:24 PM | Info | HttpControllerDescriptor CreateController Jackett.Controllers.IndexerApiController
Apr 23, 2018 06:17:24 PM | Info | DefaultHttpControllerActivator Create Jackett.Controllers.IndexerApiController
Apr 23, 2018 06:17:24 PM | Info | DefaultHttpControllerActivator Create
Apr 23, 2018 06:17:24 PM | Info | HttpControllerDescriptor CreateController
Apr 23, 2018 06:17:24 PM | Info | DefaultHttpControllerSelector SelectController IndexerApi
Apr 23, 2018 06:17:24 PM | Info | DefaultHttpControllerSelector SelectController Route='indexerId:torrentday,action:config,controller:IndexerApi'
Apr 23, 2018 06:17:24 PM | Info | http://127.0.0.1:9117/api/v2.0/indexers/torrentday/config


I am still getting the same issue also.

I just solved it. After WAY to much time spent on trying to understand the whole HTTPClient. And the solution is to change "https://torrentday.com/", to "https://www.torrentday.com/", with the www.

If you don't do this you get this strange redirect, and the part that we missed since it redirected from HTTPS -> HTTP and HTTP -> HTTP (very strange) is that it also redirect to torrentday.com -> www.torrentday.com

Will create a PR right now.

Legend. 馃槂

Having same problem, Cant change to www. because wont let me add indexer without valid cookie? am i missing something?

I don't understand what you are talking about. 馃槙

You can download the sourcecode and change it manual in the TorrentDay class. And what I know, you can't change the url any other way. But then again I just looked in the code for a couple for hours so I don't really know.

After checking around, you might be able to change somethings the files located in C:\ProgramData\Jackett\Indexers\. I don't know in which files or even if it works so please be careful

Wait, you are referring to that the Indexer wont appear in the folder until you have a a valid cookie right?

If that's the case, here is how my files looks. Maybe it will work if you insert the PHPSESSID etc.

torrentday.json

[
  {
    "id": "sitelink",
    "type": "inputstring",
    "name": "Site Link",
    "value": "https://www.torrentday.com/"
  },
  {
    "id": "username",
    "type": "inputstring",
    "name": "Username",
    "value": null
  },
  {
    "id": "password",
    "type": "inputstring",
    "name": "Password",
    "value": ""
  },
  {
    "id": "recaptcha",
    "type": "recaptcha",
    "name": "Recaptcha",
    "sitekey": "6Le55woTAAAAAPhIVSrY5FjnEImKS4gvQ3Kqmn_X",
    "version": null
  },
  {
    "id": "",
    "type": "displayinfo",
    "name": "",
    "value": null
  },
  {
    "id": "cookieheader",
    "type": "hiddendata",
    "name": "CookieHeader",
    "value": "PHPSESSID=<Secret>; uid=<Secret>; pass=<Secret>; __cfduid=<Secret>"
  },
  {
    "id": "lasterror",
    "type": "hiddendata",
    "name": "LastError",
    "value": null
  }
]

well I found the torrentday.json file and was able to change it to www. in there but it isnt showing on my indexers in jackett since it removed it from my list when I clicked on preferences to change cookie, I also looked through the definitions to try and change it to www.torrentday there but it doesnt have a definition.

I have the torrentday.json but it is not showing up in jackett.

there are also bak files but i dont see anyway to restore.

The only thing I can think of is, have you tried to restart the service?(Or just restart jacket if you run it as a program.)

Bingo! that did it. i was just closing the tray icon not actually stopping the service. Once I stopped the service and restarted it showed up. All is well again. Thanks for the assist.

Glad to help. The "Have you tried to turn it of and on again" phrase have solved so many problems :)

And for anyone else stumbling across this, Editing the torrentday.json in the C:\ProgramData\Jackett\Indexers\ and putting the www. infront of torrentday.com cleared it up.

@Zexuz Yup thought I had tried it, didn't realize it till you mentioned service that I wasn't actually restarting it.

how is this still not fixed?

Was this page helpful?
0 / 5 - 0 ratings