FlareSolverr icon indicating copy to clipboard operation
FlareSolverr copied to clipboard

[yggtorrent] Error: Error solving the challenge. Message: unknown error: session deleted because of page crash

Open arnaudalexis opened this issue 1 year ago • 34 comments

Have you checked our README?

  • [X] I have checked the README

Have you followed our Troubleshooting?

  • [x] I have followed your Troubleshooting

Is there already an issue for your problem?

  • [X] I have checked older issues, open and closed

Have you checked the discussions?

  • [X] I have read the Discussions

Environment

- FlareSolverr version: 3.3.12
- Last working FlareSolverr version: 3.3.8
- Operating system: Linux-5.15.0-86-generic-x86_64-with-glibc2.31
- Are you using Docker: not sure as i am using a saas provider
- FlareSolverr User-Agent (see log traces or / endpoint): Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
- URL to test this issue: https://www3.yggtorrent.qa/engine/search?category=2145&do=search&order=desc&sort=publish_date

Description

Hi, after trying different releases (3.3.8 to 3.3.12), there is an issue when trying to access Yggtorrent tracker. I've already had a look at different topics to solve this but without success. I'm not sure if the app is deployed via Docker as im using a Saas platform to install it on a remote server.

Here are the params sent : { "maxTimeout": 180000, "cmd": "request.get", "url": "https://www3.yggtorrent.qa/engine/search?category=2145&do=search&order=desc&sort=publish_date", "proxy": {} }

Env variables : LANG=en_US.UTF-8

I'm successfully reaching iDope, TorrentQQ and Torrent[Core].

Also i've tried to replicate the issue on Windows on another network but i can't trigger the challenge.

Could my issue be related to an ip range ban on ygg side ?

Logged Error Messages

Error: Error solving the challenge. Message: unknown error: session deleted because of page crash\\nfrom unknown error: cannot determine loading status\\nfrom tab crashed\\n  (Session info: chrome=120.0.6099.129)\\nStacktrace:\\n#0 0x559a05ad6f83 <unknown>\\n#1 0x559a0578fb2b <unknown>\\n#2 0x559a0577716d <unknown>\\n#3 0x559a05776882 <unknown>\\n#4 0x559a05775586 <unknown>\\n#5 0x559a0577544a <unknown>\\n#6 0x559a057737e1 <unknown>\\n#7 0x559a0577418a <unknown>\\n#8 0x559a0578507c <unknown>\\n#9 0x559a0579d7c1 <unknown>\\n#10 0x559a057a36bb <unknown>\\n#11 0x559a0577492d <unknown>\\n#12 0x559a0579d459 <unknown>\\n#13 0x559a05827f1a <unknown>\\n#14 0x559a05808e53 <unknown>\\n#15 0x559a057d0dd4 <unknown>\\n#16 0x559a057d21de <unknown>\\n#17 0x559a05a9b531 <unknown>\\n#18 0x559a05a9f455 <unknown>\\n#19 0x559a05a87f55 <unknown>\\n#20 0x559a05aa00ef <unknown>\\n#21 0x559a05a6b99f <unknown>\\n#22 0x559a05ac4008 <unknown>\\n#23 0x559a05ac41d7 <unknown>\\n#24 0x559a05ad6124 <unknown>\\n#25 0x7fb78d21fea7 start_thread\\n

Screenshots

image

arnaudalexis avatar Jan 02 '24 14:01 arnaudalexis

There have been a few issues now of Chrome crashing for seemingly no reason. It's then stranger that only one site is causing crashes for you and not others.

Are you using a proxy or VPN? If yes, drop it. If no, try it and test your IP range theory.

ilike2burnthing avatar Jan 03 '24 01:01 ilike2burnthing

Hi, not using a vpn nor a proxy. I've had one successfull call yesterday (challenge found and resolved) but that only happend once. I find it strange that one call worked if the ip is banned but i will have a look. I also confirm that it is working fine with other indexers !

arnaudalexis avatar Jan 03 '24 08:01 arnaudalexis

Unlikely to resolve your issue, but v3.3.13 is now out, please try it.

ilike2burnthing avatar Jan 07 '24 21:01 ilike2burnthing

Hi ! I've just updated to the latest release but unfortunately issue persists. Had a talk with somebody having the exact same crash / error with ygg. I don't know if i can provide more logs than what i did in my first post but i will use other indexers for now !

Have a nice day

arnaudalexis avatar Jan 08 '24 14:01 arnaudalexis

Quick update, requests are still crashing. I can access the website with a browser on the same env. I can't replicate the issue on other envs because i don't get the cloudflare challenge there. It takes from 10 to 25 s before crashing.

arnaudalexis avatar Jan 12 '24 09:01 arnaudalexis

same thing

deviltuner avatar Jan 12 '24 09:01 deviltuner

Hello,

Any feedback ? I have the same problem on my side.

Thanks

sgelineau17 avatar Jan 15 '24 22:01 sgelineau17

Any updates will be posted here. I can't recreate the issue, so this is reliant on a contribution, a definite cause being identified, or an update to our dependencies which solves it out of the blue.

ilike2burnthing avatar Jan 15 '24 22:01 ilike2burnthing

Hi, i can provide more details if needed, would enabling LOG_LEVEL debug be useful ?

arnaudalexis avatar Jan 16 '24 17:01 arnaudalexis

Feel free to provide debug logs, however similar issues tend to just show a few retries and then it crashes with no discernible cause.

ilike2burnthing avatar Jan 16 '24 20:01 ilike2burnthing

flaresolverr_logs.txt Hi, I think I have a problem with yggtorrent and flaresolverr. It seems that flaresolverr does not resolve Cloudflare. Prowlarr means it is blocked by Cloudflare with YggCookie and Yggtorrent. I can provide a debug log if needed.

Al4ndil avatar Feb 20 '24 16:02 Al4ndil

Yes I have the same problem flarre solver no longer works for ygg

Exception in GetConfigurationForSetup (yggtorrent): FlareSolverrSharp.Exceptions.FlareSolverrException: FlareSolverr was unable to process the request, please check FlareSolverr logs. Message: Error: Error solving the challenge. Timeout after 55.0 seconds. at FlareSolverrSharp.Solvers.FlareSolverr.<>c__DisplayClass10_0.<<SendFlareSolverrRequest>b__0>d.MoveNext() --- End of stack trace from previous location --- at FlareSolverrSharp.Utilities.SemaphoreLocker.LockAsync[T](Func1 worker) at FlareSolverrSharp.Solvers.FlareSolverr.SendFlareSolverrRequest(HttpContent flareSolverrRequest) at FlareSolverrSharp.Solvers.FlareSolverr.Solve(HttpRequestMessage request, String sessionId) at FlareSolverrSharp.ClearanceHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at Jackett.Common.Utils.Clients.HttpWebClient2.Run(WebRequest webRequest) in ./Jackett.Common/Utils/Clients/HttpWebClient2.cs:line 178 at Jackett.Common.Utils.Clients.WebClient.GetResultAsync(WebRequest request) in ./Jackett.Common/Utils/Clients/WebClient.cs:line 219 at Jackett.Common.Indexers.BaseWebIndexer.RequestWithCookiesAsync(String url, String cookieOverride, RequestType method, String referer, IEnumerable1 data, Dictionary2 headers, String rawbody, Nullable1 emulateBrowser) in ./Jackett.Common/Indexers/BaseIndexer.cs:line 573 at Jackett.Common.Indexers.CardigannIndexer.GetConfigurationForSetup(Boolean automaticlogin, String cookies) in ./Jackett.Common/Indexers/CardigannIndexer.cs:line 966 at Jackett.Common.Indexers.CardigannIndexer.GetConfigurationForSetup() in ./Jackett.Common/Indexers/CardigannIndexer.cs:line 943

Siouldlh avatar Feb 20 '24 16:02 Siouldlh

@Al4ndil logs aren't showing session deleted because of page crash, it's not the same problem, rather there's no challenge, so there's nothing for FlareSolverr to resolve. Open a new issue and I'll take a look at it.

@Siouldlh #1036

ilike2burnthing avatar Feb 20 '24 17:02 ilike2burnthing

Hi, quick follow-up, issue still occurs with 3.3.15. Can't give you much more details, same error.

arnaudalexis avatar Feb 27 '24 19:02 arnaudalexis

Please test with v3.3.16.

ilike2burnthing avatar Feb 28 '24 21:02 ilike2burnthing

Same problem here, unfortunaly with v3.3.16

Axel4602 avatar Mar 19 '24 09:03 Axel4602

anyone else facing same issue? error in solving

HellxGodLike avatar Mar 25 '24 20:03 HellxGodLike

Based on the Dockerfile it seems Flaresolverr is using the Chromium package from the debian bullseye repository: apt-get install -y --no-install-recommends chromium chromium-common chromium-driver Did anybody try the official chrome browser from Google? (e.g. modify the Dockerfile to just install the official .deb package instead)

This wouldn't work for arm but perhaps it's worth a shot.

MastaG avatar Apr 02 '24 22:04 MastaG

GG GUYS !!! Updated flaresolverr to .17 and Ygg indexer finally works (automatic, RSS, INTERACTIV). Thanks a lot <3 love

Axel4602 avatar Apr 10 '24 18:04 Axel4602

.17 didnt fix things for me

2024-04-10 20:56:29 INFO     FlareSolverr 3.3.17
2024-04-10 20:56:29 INFO     Testing web browser installation...
2024-04-10 20:56:29 INFO     Platform: Linux-6.8.4-300.fc40.x86_64-x86_64-with-glibc2.31
2024-04-10 20:56:29 INFO     Chrome / Chromium path: /usr/bin/chromium
2024-04-10 20:56:29 INFO     Chrome / Chromium major version: 120
2024-04-10 20:56:29 INFO     Launching web browser...
version_main cannot be converted to an integer
2024-04-10 20:56:30 INFO     FlareSolverr User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
2024-04-10 20:56:30 INFO     Test successful!
2024-04-10 20:56:30 INFO     Serving on http://0.0.0.0:8191
2024-04-10 20:56:50 INFO     Incoming request => POST /v1 body: {'maxTimeout': 60000, 'cmd': 'request.get', 'url': 'https://bitturk.net/?p=torrents&pid=32&search_type=name&searchin=title&sortOptions[sortBy]=added&sortOptions[sortOrder]=desc', 'proxy': {}}
version_main cannot be converted to an integer
2024-04-10 20:56:51 INFO     Challenge detected. Title found: Just a moment...
2024-04-10 20:57:51 ERROR    Error: Error solving the challenge. Timeout after 60.0 seconds.
2024-04-10 20:57:51 INFO     Response in 60.795 s
2024-04-10 20:57:51 INFO     192.168.1.1 POST http://192.168.1.1:8191/v1 500 Internal Server Error

MastaG avatar Apr 10 '24 19:04 MastaG

hi, it's seems good for me since i desactived ipv6 on my unraid server

u2pitchjami avatar Apr 14 '24 19:04 u2pitchjami

No longer works since changing domain, despite deactivating IPv6 in docker compose sysctls: - net.ipv6.conf.all.disable_ipv6=1

TEALC82 avatar Apr 30 '24 11:04 TEALC82

No longer works since changing domain, despite deactivating IPv6 in docker compose sysctls: - net.ipv6.conf.all.disable_ipv6=1

Same here ...

Axel4602 avatar Apr 30 '24 11:04 Axel4602

Same here :

2024/05/01 14:57:07 | stdout | 2024-05-01 11:57:07 INFO     172.17.0.1 POST http://192.168.0.25:8191/v1 500 Internal Server Error
-- | -- | --
2024/05/01 14:57:07 | stdout | 2024-05-01 11:57:07 INFO     Response in 56.388 s
2024/05/01 14:57:07 | stdout | 2024-05-01 11:57:07 ERROR    Error: Error solving the challenge. Timeout after 55.0 seconds.
2024/05/01 14:56:25 | stdout | 2024-05-01 11:56:25 INFO     172.17.0.1 GET http://192.168.0.25:8191/ 200 OK
2024/05/01 14:56:16 | stdout | 2024-05-01 11:56:16 INFO     Challenge detected. Title found: Just a moment...
2024/05/01 14:56:10 | stdout | version_main cannot be converted to an integer
2024/05/01 14:56:10 | stdout | 2024-05-01 11:56:10 INFO     Incoming request => POST /v1 body: {'maxTimeout': 55000, 'cmd': 'request.get', 'url': 'https://www3.yggtorrent.cool/engine/search?do=search&order=desc&sort=publish_date&category=all'}
2024/05/01 14:55:45 | stdout | 2024-05-01 11:55:45 INFO     Serving on http://0.0.0.0:8191
2024/05/01 14:55:45 | stdout | 2024-05-01 11:55:45 INFO     Test successful!
2024/05/01 14:55:45 | stdout | 2024-05-01 11:55:45 INFO     FlareSolverr User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
2024/05/01 14:55:42 | stdout | version_main cannot be converted to an integer
2024/05/01 14:55:42 | stdout | 2024-05-01 11:55:42 INFO     Launching web browser...
2024/05/01 14:55:42 | stdout | 2024-05-01 11:55:42 INFO     Chrome / Chromium major version: 120
2024/05/01 14:55:40 | stdout | 2024-05-01 11:55:40 INFO     Chrome / Chromium path: /usr/bin/chromium
2024/05/01 14:55:40 | stdout | 2024-05-01 11:55:40 INFO     Platform: Linux-4.4.302+-x86_64-with-glibc2.31
2024/05/01 14:55:40 | stdout | 2024-05-01 11:55:40 INFO     Testing web browser installation...
2024/05/01 14:55:40 | stdout | 2024-05-01 11:55:40 INFO     FlareSolverr 3.3.17

Reivilo85k avatar May 01 '24 12:05 Reivilo85k

No longer works since changing domain, despite deactivating IPv6 in docker compose sysctls: - net.ipv6.conf.all.disable_ipv6=1

Same here, timeout since domain change to .cool

Rucan69 avatar May 05 '24 20:05 Rucan69

Ever since switching to the .cool domain, Flaresolverr has been unable to successfully complete the challenge. Whether it's an English language environment or IPv6 disabled, it just doesn't work. Someone found a solution? I've tried pretty much everything I could :/

sodanexus avatar May 06 '24 00:05 sodanexus

Are you getting the error session deleted because of page crash? If not, you're probably looking for #1036

ilike2burnthing avatar May 06 '24 01:05 ilike2burnthing

Are you getting the error session deleted because of page crash? If not, you're probably looking for #1036

Thank you for your response, I've tried quite a few things on this ticket, changing the user agent, using the 21hsmw fork. I don't know if it's useful information, but I'm used to yggtorrent and flaresolverr, many have talked about it on the yggtorrent forum for a long time! You're kind of a savior lol. From what I can read, it seems that there has been an additional security added to yggtorrent. I hope it's not true. Yggtorrent is probably the largest tracker in France, that's probably why you have to moderate more than usual right now...

Anyway, thank you for your work. I'll wait on my side and be patient while monitoring the ygg forum and your GitHub! Cheers!

sodanexus avatar May 06 '24 01:05 sodanexus

Problem solved with the fork of Juanfrillaaa on Linux without VPN or proxy (for yggtorrent)

https://github.com/FlareSolverr/FlareSolverr/pull/1163#issuecomment-2093855103

sodanexus avatar May 06 '24 02:05 sodanexus

Problem solved with the fork of Juanfrillaaa on Linux without VPN or proxy (for yggtorrent)

https://github.com/FlareSolverr/FlareSolverr/pull/1163#issuecomment-2093855103

Doesn't work for me. Are you on windows?

skjnldsv avatar May 06 '24 06:05 skjnldsv