curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Handling Cloudfare issues

From: Mac-Fly via curl-library <>
Date: Tue, 26 Sep 2023 23:29:16 +0200

Hi there,

since Monday, many of my tiny monitoring checks (analyse web pages for
changes or specific content) where I used curl just fine over _years_
suddenly fail with HTTP 403 access denied. While investigating, I found
out that these pages are all "protected" by Cloudfare. If I use a
browser (Firefox) go to one of these webpages I see the message as in
the image attached.

It basically says:
"[Homepage name] must check the security of your connection"
And then, at the bottom a Cloudfare reference "Ray ID" is shown as well
as a Cloudfare slogan.

As an example to reproduce: You can use any project page on

To rant a little: I don't now whats wrong with the internet these days
and why such checks are required at all. I am sure they break a lot of
applications like mine! (Rant off.)

Now, I found many reports and "solutions" that are related to that issue
(like manipulating the header sent, setting cookies etc.) but they are
_all_ not working in these cases.

I am sure I am not the only one and now I am searching here for answers
because I believe many curl users are affected, too. Please help me! :-)

Best regards,


(image/png attachment: Cloudfare.png)

Received on 2023-09-26