Questions tagged [cloudflare]

Cloudflare is a content delivery network and distributed Domain Name Server service aimed at enhancing website performance and speed and providing security.

Cloudflare is a content delivery network Domain Name Server service aimed at enhancing website performance and speed and providing security. It is also known for the internet security services that it distributes.

Wiki article

3109 questions
11
votes
1 answer

Determine if visitor connected over SSL on CloudFlare Pro

We have a site running on CloudFlare Pro that uses their supplied certificate for one-click encryption. Our site has "optional" SSL for users. As it's a forum, we currently run a proxy script that detects if a posted image is not using a HTTPS…
jduncanator
  • 2,154
  • 1
  • 22
  • 39
10
votes
3 answers

How to bypass cloudflare browser checking selenium Python

I am trying to access a site using selenium Python. But the site is checking and checking continuously by cloudflare. No other page is coming. Check the screenshot here. I have tried undetected chrome but it is not working at all.
10
votes
2 answers

cloudscraper.exceptions.CloudflareChallengeError: Detected a Cloudflare version 2 challenge. Error when I used cloudscraper module with python

so I'm trying to bypass the cloudflare protection of a website to scrape some items from them but the Cloudscraper python module is not working. Whenever I run it, I receive this error: cloudscraper.exceptions.CloudflareChallengeError: Detected a…
Aeiddius
  • 328
  • 1
  • 3
  • 12
10
votes
3 answers

Selenium app redirect to Cloudflare page when hosted on Heroku

I have made a discord bot that uses selenium to access a website and get information, when I run my code locally I don't have any problem but when I deploy to Heroku the first URL I get redirects me to the page Attention Required! | Cloudflare. I…
rafalou38
  • 576
  • 1
  • 5
  • 16
10
votes
2 answers

What are cloudflare KV preview_ids and how to get one?

I have a following wrangler.toml. When I would like to use dev or preview (e.g. npx wrangler dev or npx wrangler preview) wrangler asks to add a preview_id to the KV namespaces. Is this an identifier to an existing KV namespace? I see there is a…
Veksi
  • 3,556
  • 3
  • 30
  • 69
10
votes
2 answers

Dealing with CloudFlare's: cf_chl_jschl_tk & cf_chl_captcha_tk?

The problem: When my website is set to "I'm under attack" mode, once a user passes the CloudFlare screen they are redirected to my website with a large, and rather long query get…
Jack
  • 3,271
  • 11
  • 48
  • 57
10
votes
4 answers

What is the difference in accessing Cloudflare website using ChromeDriver/Chrome in normal/headless mode through Selenium Python

I have a question about --headless mode in Python Selenium for Chrome. Code from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities CHROME_DRIVER_DIR = "selenium/chromedriver" …
10
votes
3 answers

How to fix ERR_TOO_MANY_REDIRECTS on custom github pages domain?

So I had github pages set up with a custom domain without problem on namecheap a day ago. Then I tried switching to Https via github's newly added support for https on pages. After too much frustration I switched over to CloudFlare for Https but I'm…
Ryan Mcguinn
  • 595
  • 2
  • 10
  • 17
10
votes
2 answers

ddclient error when trying to run it as debug to test it

After a fresh install of centOS 6 i tried to install ddclient so i can update my DNS records on Cloudflare and I have configured it correctly as instructed on the Cloudflare site and other sites, when i try to run the debug command ddclient…
Revo
  • 530
  • 7
  • 14
10
votes
1 answer

Is it possible to host only subdomain on cloudflare

I want to host only a subdomain to cloudflare. I do not want to change the nameserver of my main domain to theirs. Is it really possible?
Sandeep kumar
  • 101
  • 1
  • 5
10
votes
4 answers

Getting com.google.gwt.user.client.rpc.StatusCodeException: 0 in GWT

I sometimes/often get this Exception in GWT but don't know why: SEVERE: com.google.gwt.user.client.rpc.StatusCodeException: 0 java.lang.RuntimeException: com.google.gwt.user.client.rpc.StatusCodeException: 0 at…
Patrick Meier
  • 444
  • 1
  • 6
  • 14
9
votes
1 answer

Access nested elements in HTMLRewriter - Cloudflare Workers

I have to access a nested element using HTMLRewriter in a Cloudflare worker. Example
Title
9,99
Title
I…
sparkle
  • 7,530
  • 22
  • 69
  • 131
9
votes
3 answers

How to use Digitalocean Spaces Subdomain with CloudFlare FREE SSL?

I am using Spaces S3 storage on DigitalOcean. To add a subdomain for my Spaces, an SSL certificate is required to be uploaded. I am trying to use the Cloudflare Free Edge SSL certificate, and forward my requests from my subdomain.company.com to…
K Manoj Kumar
  • 606
  • 5
  • 9
9
votes
2 answers

CDN support/configuration for serving "stale" content, refreshing in background

Goal Always serve content from a CDN EDGE cache, regardless of how stale. Refresh it in the background when possible. Problem I have a NextJS app that renders some React components server-side and delivers them to the client. For this discussion,…
jamis0n
  • 3,610
  • 8
  • 34
  • 50
9
votes
3 answers

Cloudflare won't cache page via CURL request

One.php makes two separate CURL requests to two.php. I want Cloudflare to cache the first response, and to serve that cache in the second response. But for some reason, Cloudflare is not caching either response. If I then visit two.php using my…
skibulk
  • 3,088
  • 1
  • 34
  • 42