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

Puppeteer real browser is being detected by Cloudflare #265

Closed
bsantos09 opened this issue Jan 16, 2025 · 4 comments
Closed

Puppeteer real browser is being detected by Cloudflare #265

bsantos09 opened this issue Jan 16, 2025 · 4 comments
Labels
triage This ticket will be looked at shortly

Comments

@bsantos09
Copy link

Description

When building the docker image in this project and running the tests CloudFlare is being detected. Both turnstile and WAF are failing the tests. It seems to be stuck in the cloudflare page with just text and no captcha/turnstile.

Full steps to reproduce the issue

  1. Build puppeteer realm browser project docker image.
  2. Run tests
  3. Cloudflare tests fail

Issue Type

Bug

Operating System

Other

Do you use Docker?

Docker

@bsantos09 bsantos09 added the triage This ticket will be looked at shortly label Jan 16, 2025
@bsantos09 bsantos09 marked this as a duplicate of #264 Jan 16, 2025
@bsantos09
Copy link
Author

Hi any idea how this can be fixed? I like running it in a docker container and haven't been able to find a fix.

@RubberArchind
Copy link

try to use proxy i guess?

@bsantos09
Copy link
Author

I tried in my residence. In the same machine it works when running outside of docker but when in a container in the same machine it gets detected. From your experience proxys still help in this scenario?

@mdervisaygan
Copy link
Member

I just ran the tests again in the docker image and it passed. Since you didn't provide a code sample, I can't help you further. You can try to use a more proper proxy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage This ticket will be looked at shortly
Projects
None yet
Development

No branches or pull requests

3 participants