KyranRana / cloudflare-bypass

A new and improved PHP library which bypasses the Cloudflare IUAM page using cURL
MIT License
274 stars 98 forks source link

Exceeded maximum number of retries at getting cookie #99

Closed yylzcom closed 5 years ago

yylzcom commented 5 years ago

Hi,

After this update I got the errors like this: Exceeded maximum number of retries at getting cookie "cf_clearance". in /var/www/fetch/vendor/kyranrana/cloudflare-bypass/src/CloudflareBypass/CFBypasser.

I tried my own code and the example code but all failed like above. Any suggestion or advice?

Best regards!

KyranRana commented 5 years ago

Can you do me a favour? To debug this problem:

  1. Open Incognito Google Chrome.
  2. Right click and click inspect.
  3. Click the network tab.
  4. Tick the "preserve log" tick box.
  5. Go to the site which is protected by CF page.
  6. Click on the first row which pops up in the network tab.
  7. Click on the response tab and copy the HTML here.
yylzcom commented 5 years ago

Hi KyranRana, Thank you very much for your promt reply.

I tried the url in the example code, wich is https://predb.me/?search=720p

The first row returns a 503 error and the respons tab is empty.

The second row is fav.ico, which I guess is not helpful.

The third row is the url, which the response tab is empty too: https://predb.me/cdn-cgi/l/chk_jschl?s=479eff159ca538229ecdaf88aa7d9d226f5de618-1553346714-1800-AfAyFC4wukaYIbhkPdQF1zeUJimVgSENMt7XCrhwGRzQXN0ksGsccyxKVe2Du06KmSOT4OhY50L7CcVipGIu6cPqSXsOJu32pMPXVEfRZ%2FwK4JDB9nfwLW5HwwJCBGwZjIPE87B%2BqvNek1L1CBfU42g%3D&jschl_vc=42c679d5c36fcc6e40ea15d673f7c5b1&pass=1553346718.652-Ihve%2Be03vv&jschl_answer=13.1589069271

Any thing else I can do?

Best regards!

KyranRana commented 5 years ago

Add me on telegram @CoolioPD and I'll help you debug this problem :)

yylzcom commented 5 years ago

Thanks and the problem fix.

Close this issue for now.