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

TorrentBD: "Login failed: No form found " #910

Closed
seanvree opened this issue Jan 3, 2017 · 25 comments
Closed

TorrentBD: "Login failed: No form found " #910

seanvree opened this issue Jan 3, 2017 · 25 comments

Comments

@seanvree
Copy link

seanvree commented Jan 3, 2017

Running Jackett as a service on Windows10E

Error on 20170103102443 for TorrentBD.txtJackett.ExceptionWithConfigData: Login failed: No form found on http://www.torrentbd.com/torrent/account-login.php using form selector form[action="account-login.php"]
at Jackett.Indexers.CardigannIndexer.d__32.MoveNext() in C:\projects\jackett\src\Jackett\Indexers\CardigannIndexer.cs:line 437
--- 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.ValidateEnd(Task task)
at Jackett.Indexers.CardigannIndexer.d__41.MoveNext() in C:\projects\jackett\src\Jackett\Indexers\CardigannIndexer.cs:line 885

@kaso17
Copy link
Collaborator

kaso17 commented Jan 4, 2017

I assume it's happening during a search?
Then most likely the cloudflare clearance is expired and you've to reconfigure it (solve the captcha).
In my case I've to solve the catpcha every few hours making the indexer pretty much useless. For other's it apparently lasting longer.

@seanvree
Copy link
Author

seanvree commented Jan 4, 2017

@kaso17 - It's not when I search, It's when I'm trying to log in.

Can you get to a log in page now? If so, what's the URL?

@kaso17
Copy link
Collaborator

kaso17 commented Jan 4, 2017

I've tested it earlier and now again, I can configure/login fine using the latest jackett version on Windows 7.
Remote login via cookie requires some extra work (are you trying that?)
Are you seeing the captcha in the configuration dialog?

Please enable enhanced logging and post the log output.

@seanvree
Copy link
Author

seanvree commented Jan 4, 2017

Yeah, I've tried from my seedbox that's behind a Canadian VPN, as well as numerous browsers.

What login URL are you using?

Here's the debug log:

https://drive.google.com/file/d/0B7OujkYtbxFNdDBJSUhkMTBIeXc/view?usp=sharing

@kaso17
Copy link
Collaborator

kaso17 commented Jan 5, 2017

I'm using the default "http://www.torrentbd.com/torrent/" as site link. The log doesn't show anything torrentbd related. But it looks like you're using it remotely (not from localhost).

I recommend that you configure torrentbd via remote desktop on your windows server (access jackett via http://127.0.0.1:9117).
The problem is that the cloudflare clearance is bound to IP+UserAgent. If you prefer the cookie way you've to fake your user agent to be the same as Jackett (Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36) and make sure that the request comes from the same IP as the jackett requests).

@ShahadatRD
Copy link

most provably your seedbox ip address is having a block from cludflare and that's having issue in captcha

@seanvree
Copy link
Author

Hey @kaso17 @ShahadatRD - Thanks for your guys' help. This is really bothering me!

So I downgraded my Chome to the standalone Chromium 47, but I'm still having the same issue! Here is my dev console when trying to access TorrentBD:

=================================================
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
https://www.torrentbd.com/torrent/:1 GET https://www.torrentbd.com/torrent/ 500 (OK)
Navigated to https://www.torrentbd.com/torrent/
favicon.ico:1 GET https://www.torrentbd.com/favicon.ico 404 (OK)
Navigated to https://www.torrentbd.com/
(index):1 Mixed Content: The page at 'https://www.torrentbd.com/' was loaded over HTTPS, but requested an insecure image 'http://i1083.photobucket.com/albums/j385/skbms11/bg1.jpg'. This content should also be served over HTTPS.
/torrent/index.php:1 GET https://www.torrentbd.com/torrent/index.php 500 (OK)
Navigated to https://www.torrentbd.com/torrent/index.php

Any ideas?

@ShahadatRD
Copy link

you better do a check by connecting to TorrentBD by using multi thread, and let me know what happens ! @seanvree

@seanvree
Copy link
Author

@ShahadatRD - Multi Thread? I'm not familiar.

@RoloSoze
Copy link
Collaborator

@seanvree Is this still an issue?

@seanvree
Copy link
Author

seanvree commented Jan 24, 2017

I was able to add the tracker, but it won't pass the test:

Error on 20170123162826 for TorrentBD.txtJackett.ExceptionWithConfigData: Login failed: No form found on http://www.torrentbd.com/torrent/account-login.php using form selector form[action="account-login.php"]
at Jackett.Indexers.CardigannIndexer.d__32.MoveNext() in C:\projects\jackett\src\Jackett\Indexers\CardigannIndexer.cs:line 439
--- 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.ValidateEnd(Task task)
at Jackett.Indexers.CardigannIndexer.d__41.MoveNext() in C:\projects\jackett\src\Jackett\Indexers\CardigannIndexer.cs:line 955

@kaso17
Copy link
Collaborator

kaso17 commented Jan 24, 2017

Most likely you've to re-configure/add it again (I have to do it every 4 hours) due to an outdated cloud flare challenge

@seanvree
Copy link
Author

Yeah, I can't figure it out @kaso17 I can get the main page:
https://www.torrentbd.com/

But when I try to get to https://www.torrentbd.com/torrent/index.php

I get error 500, I've tried by IP, and different browsers. I have no idea what I'm doing wrong.

@kaso17
Copy link
Collaborator

kaso17 commented Jan 25, 2017

https://www.torrentbd.com/ is not cloud flare protected
https://www.torrentbd.com/torrent/index.php is
To solve the cloudflare challenge (500 error) you need to solve the captcha.
In my case I've to do it every 4 hours which makes this tracker supper annoying to use.
The best chance is to convince their staff to replace the captcha with the standard cloudflare javascript challenge.

@RoloSoze
Copy link
Collaborator

@ShahadatRD If I'm not mistaken, you're either staff, or you work closely with them. Can you guys fix this issue?

@ShahadatRD
Copy link

ShahadatRD commented Jan 25, 2017

i will look on this issue as soon as possible

@RoloSoze
Copy link
Collaborator

@ShahadatRD Thank you! Keep us updated, please!

@ShahadatRD
Copy link

ShahadatRD commented Jan 26, 2017

started a conversation with the SysOP of TBD. will let you know a update within next 48 hour. @kaso17 @seanvree

@RoloSoze
Copy link
Collaborator

@ShahadatRD Any updates on this issue from the Sysop?

@ShahadatRD
Copy link

ShahadatRD commented Jan 31, 2017

SysOP is working on updating the whole website. you know its bit hard for one guy to do that... after updating the whole website, he will look into the Cloudflare issue

@ghost
Copy link

ghost commented Jan 31, 2017

Just as aditionnal information, I fixed an error like that just by updating my Mono version to the last one instead of 3.10.0 (most popular in online guides)

@RoloSoze
Copy link
Collaborator

@kaso17 I'm guessing updating Mono did not solve this issue for you like it for @raspdealer?

@kaso17
Copy link
Collaborator

kaso17 commented Feb 28, 2017

no, this is only fixable by changing the cloudflare settings for the page (Which only their admin can do).

@RoloSoze
Copy link
Collaborator

RoloSoze commented Mar 9, 2017

@kaso17 Since this is a tracker-caused issue, should it be closed?

@kaso17
Copy link
Collaborator

kaso17 commented Mar 9, 2017

yes, closing for now

@kaso17 kaso17 closed this as completed Mar 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants