Unable to add tracker to Jackett, due to invalid cookies. Can we get a list of required cookies for this tracker? I'm already providing the uid and pass in the format:
uid=12345; pass=ajslkdfjlc942l33439;
I've been able to log in to the tracker normally with both Chrome and FF Quantum.
Jackett version: 0.10.641.0
Mono version (if not using Windows): 5.8.0.127
Logs:
System.Exception: Your cookie did not work: not logged in
at Jackett.Common.Indexers.SceneHD+<ApplyConfiguration>d__6.MoveNext () [0x000d5] in <b04781f43b4840ecbeecb3b5759299e9>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Jackett.Server.Controllers.IndexerApiController+<UpdateConfig>d__13.MoveNext () [0x0012d] in <8888b1c1ca4f43b5b9641cfa680ad2ac>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor+TaskOfIActionResultExecutor+<Execute>d__0.MoveNext () [0x00071] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeActionMethodAsync>d__12.MoveNext () [0x00131] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker+<InvokeNextActionFilterAsync>d__10.MoveNext () [0x0009e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>: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>d__13.MoveNext () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeNextResourceFilter>d__23.MoveNext () [0x0009f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>: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>d__18.MoveNext () [0x0002f] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker+<InvokeAsync>d__16.MoveNext () [0x0012e] in <b4ef600f4a594fe2865a8f97f915fb9d>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.Builder.RouterMiddleware+<Invoke>d__4.MoveNext () [0x001cb] in <6092a16d93814eba828b517a2b132f80>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware+<Invoke>d__6.MoveNext () [0x00384] in <427697fe42b7459ba5302fb76d339d3b>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware+<Invoke>d__7.MoveNext () [0x0043e] in <f352e566abf6421e87eafbcf57a0b237>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware+<Invoke>d__3.MoveNext () [0x00115] in <dd7bbb1eb6cb4178a82cd5136b2606b8>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <a6f810169ec746eeb2789b925e2858c0>:0
at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <a6f810169ec746eeb2789b925e2858c0>:0
at Jackett.Server.Middleware.CustomExceptionHandler+<Invoke>d__3.MoveNext () [0x0008a] in <8888b1c1ca4f43b5b9641cfa680ad2ac>:0
there is no way for us to tell which parts of the cookie parms are required by any site. and there is no need for you to attempt to selectively pick parts of the cookie string.
copy the complete cookie string, not just a selection.
Howdy @garfield69, I've copied the same (whole) cookie string from the header and tried adding it. Each time, it results in the image seen below. I don't see a related issue here, so I'm curious if y'all are still able to auth to this tracker.
@kaso17 are you able to login to sceneHD ?
+1 I am having the same issue.
Same issue.
@garfield69, sounds like this is issue isn't localized to just me. Could you please reopen this issue for better tracking/visibility, in case there are more people with the same issue?
Has anyone had success looking into this?
no progress on this.
I don't have a login for this site.
If you send an invite to garfieldsixtynine @ gmail.com I can take a look.
@kaso17 was the last to make a change for the indexer, but he is unavailable at the moment
Unfortunately I don't have an invite to give right now, else I would. However, one thought came to mind. Could Jackett be having an issue connecting since the certificate to the site is self signed, and not trusted?
Its possible.
The sceneHD indexer already has a bypassUntrustedCA block, for a CA with a thumbprint of 81CC4E41B6F8FF656CA0E2396EE6D63383198BF1
however this is the same CA I see when I access the sites login page.
what thumbprint do you see?
I see the same thumbprint while logged in
then this is not likely to be the cause of the problem. :-(
I got the same problem :(
Same problem here.. Using v. 0.10.886.0
Hello, is there any resolution for this? SceneHD say that Jackett should not use cookie, it should use the API instead. The API is discribed by me in the other SceneHD thread.
@mrfrodos, do you happen to have a link for that documentation? I've tried accessing the API, but it still requires a login, which is likely where the cookie comes in.
Also, in #3, kaso17 does mention migrating to API usage at the end.
@marranaga I am no expert at all in this. Please see this post earlier
https://github.com/Jackett/Jackett/issues/3#issuecomment-448715869
Is this information correct/enough? If not, what would you like me to ask scenehd about?
It looks like the SceneHD file should be trying to connect to the API since this commit. I think the best thing to ask would probably be the proper way to authenticate to the site via cookies.
I don't have a login so I cannot be sure, but a look at the indexer code suggests that the problem may not be with the cookie.
the login process includes a validation step with does a generic search on the api as part of the proof that the login was successful.
a possible fly in this ointment is that while the login is valid, the test using the api may fail, and the code generates the same "your cookie did not work" error message.
so don't go asking scenehd anything about cookies.
It is possible that there has been a change is the way the API should be used and the jackett indexer needs adjusting.
either find some docs about how to use the api, or wait until a dev that has a login is available to do some testing, or provide me with an invite so i can try to do the research for you.
So @garfield69, I know this might not help you too much yet, since I don't have an invite to provide. However, I just figured out how to auth to the API w/o cookies.
If you go to their API page ~/browse.php?api
, there's a passkey parameter that you can pass in to authenticate with. To generate this passkey, you need to be logged in, and click the RSS icon on the top right of the page. Select a category (any category is fine), and click the Generate links
button. You'll be presented with 6 links, 3 of which are preloaded with your unique passkey.
If searching for the Orville
, the URL to the API json will end up resembling ~/browse.php?api&passkey=<your passkey here>&search=Orville
.
Example of resulting json (some values changed):
[{"name":"The.Orville.S02E10.1080p.WEB.x264-TBS","size":"123456789","numfiles":"123","category":"5","imdbid":"5691552","id":"123456","is_nuked":"0","is_freeleech":"0","nuke_info":"","is_archive":"0","pretime":"1552014527","leechers":"0","partialseeders":"0","seeders":"34","times_completed":"43","added":"2019-03-08 04:10:15","pack":"0","deleted":null,"top250":null,"rating":"7.9"}]
The resulting json doesn't seem to include a download link. However, upon poking around in the RSS section, I've noticed that the download link is formatted with the items ID number. So for the above item, we'd have a download link of ~/download.php?id=123456&passkey=<your passkey here>
.
Don't know how much this all will help you without a login, but I do hope it points someone down the right road.
looks a lot like the method used for the Xthor indexer.
any update on this? fix coming?
ping @kaso17
@garfield69, I finally got an invite for this tracker. I just sent it to the gmail account mentioned above:
garfieldsixtynine
The link will only be valid for 7 days, so if you can't sign up in that time, or you didn't get the email, please let me know.
no signs of an email in my inbox, spam or bin. :-(
Is sixtynine spelled out in the email, or is it numeric like your username here?
[email protected]
alternatively
[email protected]
registration and login successful. thanks.
I cannot replicate your problem.
I logged onto _scenehd_ with my chrome browser and using the devtools network page grabbed the cookie from the headers tab and pasted it into the cookie box of the Jackett _scenehd_ config and clicked OKAY.
now I can TEST and do searches using the _scenehd_ indexer on Jackett no problems.
all I can suggest is that:
Thank you very much for your help trying to solve this problem. Very much appriciated!
I also followed your great instructions to get the cookie-line correct.
Unfortunaly this problem still occure for me on my current setup.
I also tried to set up a new server (Debian 9) and installed a clean Jackett Version 0.11.243.0.
Same Error :(
Any new ideas? :/
From my log:
2019-04-22 13:14:51.8173 Debug WebClient(HttpWebClient).GetString(Url:https://scenehd.org/browse.php?api=&search=)
2019-04-22 13:14:51.9791 Debug WebClient(HttpWebClient): Returning Redirect => https://scenehd.org/login.php?returnto=%2Fbrowse.php%3Fapi%3D%26search%3D
2019-04-22 13:14:51.9791 Info Executed action Jackett.Server.Controllers.IndexerApiController.UpdateConfig (JackettConsole) in 164.3665ms
2019-04-22 13:14:51.9791 Error System.Exception: Your cookie did not work: not logged in
How interesting. In your cookie, you have a third value, SIGNUPSESSID
. On mine, I only have the uid
and pass
, regardless of which page I go to, as well as through an incognito browser. If you were to remove that value from your cookie in Jackett, are you still able to log in? I get the same error mrfrodos mentioned above.
Yes, i can still use the Jackett indexer without the signupsessid.
if you want to test this for yourself, then use your browser and on the scenehd login page, before logging in, access the F12/network page, F5, then login, then grab the cookies via steps 8-12.
so, we have eliminated the SceneHD site and the Jackett indexer, and the cookies as the cause.
Next we should focus on the platform, Jackett variants and versions.
So far, I have successfully used the SceneHD indexer with the following:
Win10 Jackett 0.11.243 variant: FullFrameworkWindows
Ubuntu18.04 Jackett 0.11.243 variant: CoreLinuxAmdx64
Mojave10.14 Jackett 0.11.243 variant: CoreMacOs
all 3 are using the default Jackett settings without vpn, proxys etc.
what are you using?
your first post had Jackett 0.10.641.0 mono 5.8.0.127
have you upgraded to the latest jackett?
are you using any non-default config options?
have you considered ditching the mono variant and switching to the core one? see https://github.com/Jackett/Jackett#install-on-linux-armv7-or-above for install instructions.
@garfield69
I'm going to jump on the bandwagon, and report that I'm getting the exact same issue as @marranaga and @mrfrodos here, with the same login error and missing SIGNUPSESSID= in my cookie header.
Running on Linux, using version:
Jackett Version 0.11.184.0
I have tried multiple browsers (Firefox and Chrome), behind my usual VPN and without it on. My best guess is it is something to do with my SceneHD settings, but what it is, I have no idea. If you would be able to screenshot your profile settings, that would be much appreciated to help eliminate that possible cause.
i'm using the default settings of a new user. I've changed the number of torrents to the max, (30) the time zone and the accept PM. Are there presentation themes? haven't come across them.
My settings are exactly the same as yours, with a few additional options.
Edit:
For the record, I was able to use the same cookie method for another tracker other without issue.
According to the SceneHD forums: Login sessions are tied to the IP, so if you copy cookie information from the browser where you use one IP to Jackett where you use another, then that cookie information will obviously not work.
Knowing this, it seems that this is likely my problem, as my Jackett is on a separate server.
Hello again, i followed marranaga solution to get the cookie on the same IP that Jackett runs from and it works for me!!! whoho!
So for those who have a remote server that you can only SSH into, I wanted to provide the solution I found to get my uid/pass for this tracker.
If you install elinks, and use it to connect and auth to the tracker, your cookies will be saved to ~/.elinks/cookies
. Read that, and you'll find your uid/pass for this track that is unique to the servers IP.
So for those who have a remote server that you can only SSH into, I wanted to provide the solution I found to get my uid/pass for this tracker.
If you install elinks, and use it to connect and auth to the tracker, your cookies will be saved to
~/.elinks/cookies
. Read that, and you'll find your uid/pass for this track that is unique to the servers IP.
I can confirm this is working :)
Thank you very much :)