Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Detect ip of a city in a country

Hello guys I hope you are doing well i want to redirect the people who get the ip of ontario to a particular page and if you are in canada and not in ontario you will see another page

Is this a phishing attempt?

i received a QR from a friend, when i opened it. it was this link. https://memories-bedrooms-delete-mason.trycloudflare.com/login.html He told me to login my apple ID because he wanted a referral code, i knew something was up so i logged in with fake credentials and i got Argo tunnel error 1033...

Cache Rules

I would like to know if anyone here can help me design a Cloudflare architecture to address the following use case: Without enabling the Always Online feature. When a 522 error or any other server error is returned, serve a cached page to the client. If nothing is available in the cache, serve a custom fallback page....

Deploying specific commit using a hook/API

Hey 🙂 Is there a way to trigger a deployment for a specific commit using a deployment hook/API call?...

Cloudflared Service not running

Hi, I've been running a Cloudflared tunnel on my Rasperry Pi for awhile, and I just noticed something a bit bothersome. For some reason, the cloudflared service refuses to actually start, consistently giving the error icmp router terminated error="context canceled" However, when I directly run sudo cloudflared tunnel run, the tunnel is able to run perfectly fine....

Cloudflare Tunnel not working with IIS. ""Unable to reach the origin service"

Hi, I'm attempting to self-host an IIS web server localhost:8080 behind a CGNAT using a Cloudflare Tunnel connected to my registrar domain. While everything seems to be set up correctly in theory, I keep encountering the following error: "ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 127.0.0.1:8080: connect: connection refused" connIndex=1 dest=https://mydomain.com/favicon.ico event=0 ip=19X.XX.XXX.XX type=http" My IIS Webserver Localhost:8080 port works with Ngrok, but not with Cloudflare for some reason....
No description

Block what I think are headless requests?

Hello! I am trying to block someone currently spamming an API post endpoint for one of my webistes, but trying to do it in a way that isnt just IP banning that one user. He is somehow making 1000s of requests to my site despite my rate limit of 25 requests per 10 seconds. I have checked the local real time logs and there is no user agent listed, so I am thinking this is some sort of headless scan. I did some googling and I cant find out how to block headless requests with WAF. I am on the Free tier as well. Here is an example of one of the real time logs for better help, I have removed all identifying information. ```{ "truncated": false,...
No description

pfSense DDNS via Cloudflare

I thought I had a handle on DDNS, but looking for help All my entries went RED, yesterday without any change from my side. Upon noticing I went to Cloudflare dash and tried to drill into my Domain DNS entries and Cloudflare threw back an error saying it was having trouble accessing my entries...so I assumed an issue with CF, but didn't see any word of any major outage. I waited a bit and was able to eventually get into my DNS entries from CF dashboard. I noticed that some IPs changed, so it appears my IP changed. I then I ran a Wha'ts My IP from my side to confirm the updated IP After a bunch of forcing update and refreshing, 2 services in my DDNS went green and pulled the updated IP, but the rest stayed RED and were still stuck on the old IP...

cert cannot be issued

I have had this domain for about a year, but I've both never gotten around to using it, nor had the time to figure out with certs do not get issued for it.
No description

WebP Image Optimization using free Cloudflare and Cloudinary and this walktrough from Alex Black

I am trying to figure out if my worker is working when I go to add route no worker is listed... and see more offer some nice 404 pages I'm trying to follow this guide is it worth it? https://www.reddit.com/r/CloudFlare/comments/13fsbye/ultimate_image_optimization_with_cloudflare/...

Discord

How to configure subdomain for my discord invite link, please?

Tracking Clicks on Links with Cloudflare: Wich service do you recommend?

Hello! I'm building an app and want to track clicks on links without managing my own database. I already use Cloudflare for my app. What's the best way to handle this:...

Legit or Scam?

Is this email legit or scam? cause it ask me to update my DNS [email protected]...

How do I configure SMS Auth for Access Applications?

I'm trying to setup access control for a subdomain (test.mydomain.com) and I want to setup the SMS authentication, so whenever someone visits that subdomain, they're required to authenticate with a valid phone number. However, I'm not sure how to configure SMS auth....

Only 1 out of 4 Redirects are working?

As title mentions, seems that only one out of my four redirects are working. DNS settings; https://imgur.com/AkoN1ck Working one: https://imgur.com/IGcwqBG Not working (1): https://imgur.com/o5yg7Rn...

Content Decode Error in only Certain Regions

Hi, we are currently experiencing an issue where the website is inaccessible in certain regions (most verifiably the Bay Area, SFO and SJC) due to the ERR_CONTENT_DECODING_FAIL error when trying to load. The website works fine in other regions. The content is brotli compressed and seemed to start ~2 days ago. The content has not been updated since before this was an issue. Is there a change rolling out to content encoding that is breaking this? The site is https://app.destinyitemmanager.com...

IPTV problem

Hi, ive been watching IPTV with Cloudflare WARP. And before i had 10s of channels and now I got only 1 channel that if i play it says "text on image". I didnt know I was breaking rules, like im so sorry and now I dont know what to do. Is there any fix, or like i get it back after some time?...
No description

How to use cloudflare as a proxy and CDN layer for my hetzner bucket?

I've added CNAME to my DNS (screen) and I expect that cloudflare should be able to properly cache this image: https://images.influ.jobs/influ-jobs-public/mark-koch-KiRlN3jjVNU-unsplash.jpg (400 bad request here) Original image url for hetzner bucket is: https://nbg1.your-objectstorage.com/influ-jobs-public/mark-koch-KiRlN3jjVNU-unsplash.jpg I've tried changing SSL config between full and full strict. Unfortunately this didn't work. Please help
No description