Closed brewkunz closed 1 year ago
To me it looks like there is something going on when fetching/converting the FlareSolverr's response since the login form is actually in the response Prowlarr should be able to find it (I can provide the full response if needed)
(I can provide the full response if needed)
yes the full response in prowlarr's logs, not the response from FS itself. indexer response logging enabled should have that the response and the ygg page prowlarr gets
Unlikely to change anything, but update FlareSolverr to v3.0.2
Updated to FlareSolverr v3.0.2 and tried again to test the connection to the indexer. This is still failing even if FlareSolverr is returning a successful response.
Here you'll find the Prowlarr logs with trace enabled :
Edit : Logs are still too long to be included in the comment, I created a gist where you can read it.
It appears YGG is blocking every single request with Cloudflare & Flaresolverr is not able to continually bypass the blockage.
This appears to be a Flaresolverr issue. @ilike2burnthing That the same conclusion you come to?
Note that these are yet even more actions by YGG admins to block or break automation. They seem to hate automation and the YGG Admins should frankly just request they be removed from jackett and prowlarr if that's what they want - and based on their increased CF security and actions against users for discussing the Starr apps it seems to be what they'd want. It's a shame that the community still financially keep YGG supported given their continual negative behavior.
Reading the logs it looks like FlareSolverr resolved the challenge, actually it resolved it twice.
Once line 111 for the request to https://www6.yggtorrent.lol/engine/search?category=2145&name=&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date
Then a second time line 434 to proxy a request to https://www6.yggtorrent.lol/
In both case there actually is a #form-login
element in the response coming from FlareSolverr. Line 438 for the last one. But Prowlarr seems to be failing to parse the response correctly.
The element looks like this in the logs :
<form action=\"/user/login\" method=\"post\" id=(removed)"user-login\">
Regarding ygg and their admins you are absolutely right... I think they stated that CloudFlare was there because the site was frequently the target of DDOS and that CF is the only way to prevent outage. They don't care about the small minority of users like us that use automation tools... I keep using it because unfortunately that's the only one with this amount of french content.
The flaresolverr response is not what is used. My understanding is FS is only used to get the cookie which should then bypass Cloudflare, but that is not working.
You can see this as well
2023-01-13 12:32:07.5|Trace|HttpClient|Req: [GET] https://www6.yggtorrent.lol/
2023-01-13 12:32:07.5|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
2023-01-13 12:32:07.6|Trace|HttpClient|Res: [GET] https://www6.yggtorrent.lol/: 403.Forbidden (8226 bytes)
Indeed you are right ! I completely forgot about that cookie... My bad. So FS is bypassing CF successfully but the cookie provided to Prowlarr is not usable to bypass CF again.
Could there be an issue with my environment ? Prowlarr is running on in its own docker container, and FS in his own too but in network_mode : host.
If you haven't already, try disabling IPv6 for both Prowlarr and FlareSolverr, then reconfigure the indexer (so basically logging back in, rather than immediately running a test).
I take it you're not using a VPN or proxy for Prowlarr?
If it's still not working, then as a test you can try YGG in Jackett (again with IPv6 disabled), see if it works there.
If not, you should follow https://github.com/FlareSolverr/FlareSolverr/issues/664, although as @bakerboy448 said, this is likely an issue of how they've configured their Cloudflare IUAM protection as a result of being DDoS'd over the past month of so.
If you haven't already, try disabling IPv6 for both Prowlarr and FlareSolverr, then reconfigure the indexer (so basically logging back in, rather than immediately running a test).
I take it you're not using a VPN or proxy for Prowlarr?
If it's still not working, then as a test you can try YGG in Jackett (again with IPv6 disabled), see if it works there.
If not, you should follow FlareSolverr/FlareSolverr#664, although as @bakerboy448 said, this is likely an issue of how they've configured their Cloudflare IUAM protection as a result of being DDoS'd over the past month of so.
I disabled IPV6 support in my firewall and it seems to be working fine now (It's either that or ygg changed their CF config but I doubt about that) ! Thanks for the tip !
Is there an existing issue for this?
Current Behavior
Prowlarr fails to access a CloudFlare protected indexer (yggtorrent) despite receiving a successful response from FlareSolverr.
Prowlarr seems to not be able to find the login form in FlareSolverr's response.
Expected Behavior
Prowlarr should be able to actually find the login form in FlareSolverr's response to log into the indexer.
Steps To Reproduce
Environment
What branch are you running?
Nightly
Trace Logs?
Prowlarr relevant logs :
FlareSolverr relevant logs (removed response content) :
FlareSolverr relevant part of the html response :
AB#4702
AB#4703