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
0
votes
0 answers

Cannot upload file from s3 api, CORS error

I'm trying to upload a file to Cloudflare R2 with S3 API, but I'm getting an error. My code is as follows: import { S3Client, PutObjectCommand, and GetObjectCommand } from '@aws-sdk/client-s3'; const client = new S3Client({ region: 'auto', …
Ruder Buster
  • 219
  • 2
  • 14
0
votes
0 answers

Cloudflare request with big data response

The domain is linked via Cloudflare to my IP server. There was a problem when I make a "get" request and get JSON with data more than 300 lines, it does not load, more precisely, it simply loads 50% of the data and remains in the download mode, the…
Jumper
  • 49
  • 1
  • 9
0
votes
0 answers

"SameSite" attribute not changing on cloudfare website

Not sure if this is the right place to ask this so please let me know if I am wrong. I have a site I am building hosted on cloudflare and the clients security team reported that the SameSite attribute for CF_Session (Cloudflare's JWT token) was…
AJH
  • 31
  • 2
0
votes
0 answers

ERROR: Could not resolve "worker_threads" during wrangler deploy to Cloudflare node.js application

During wrangler deploy to Cloudflare node.js application, I get an error ERROR: Could not resolve "worker_threads" build/worker.js:42155:29: 42155 │ var { Worker } = require("worker_threads"); My wrangler.toml file name = "my-worker" main =…
MTN
  • 101
  • 2
  • 5
0
votes
0 answers

403 Forbidden , AWS API and Clouflare

this message Forbidden appeared when I send a POST request to the my API domainX.com, domainX.com has a CNAME = domain.com , but when I send the same request to domain.com , everything works POST domainX.com -> { "message" : "Forbidden" } here…
0
votes
1 answer

S3:HeadObject returns 403 on MinIO instance proxied by Cloudflare

When sending HeadObject request to MinIO instance proxied by Cloudflare, 403 is returned instead of 404 (for non-existent files). GET, PUT and DELETE operations can be performed with no issue. For example, the following code fails with 403,…
suayip uzulmez
  • 628
  • 8
  • 23
0
votes
0 answers

Possibly cloudflare preventing from streaming data (Basically sends in a single chunk)

So, this is my current implementation, you can check the following images for understanding the problem I'm facing... /** * * @param {import("express").Request} req * @param {import("express").Response} res */ async function urls_post(req, res)…
GmBodhi
  • 123
  • 8
0
votes
0 answers

How to use cloudflare_zones module in terraform to dynamically populate field

Fairly straightforward quest but I cannot seem to find the answer that I need anywhere. The below is what I am using right now that works, but is not exactly what I want. Notice how I have the first part commented out, the key thing here is I have a…
AsapHogFtw
  • 181
  • 1
  • 1
  • 8
0
votes
0 answers

How to get the actual IP address of the Cloud Flare proxy server that is being replaced by nginx with user's IP address

My visitors IP address is being fed into my php application and replaced by the actual HTTP Header between the server and cloudflare using these nginx configuration: set_real_ip_from 103.31.4.0/22; set_real_ip_from 141.101.64.0/18;…
Neo
  • 11,078
  • 2
  • 68
  • 79
0
votes
0 answers

Cloudflare images cors errors on upload

I'm getting cors error while uploading images with axios or fetch. Cloudflare API return me for every request an cors error like this: Access to XMLHttpRequest at 'https://api.cloudflare.com/client/v4/accounts/***********/images/v1' from origin…
Jud3v
  • 191
  • 3
  • 14
0
votes
0 answers

How to assign subdomain to my application deployed on Cloudflare

Hope you are doing well. I purchased the domain mydomain.xxx. And I deployed my application on Cloudflare and got the link https://my-application.pages.dev. At the moment, I would like to add the subdomain sub.mydomain.xxx on Namecheap and assign it…
Bikas Lin
  • 689
  • 5
  • 16
0
votes
2 answers

How to click on "Verify you are human" checkbox challenge by cloudflare using Selenium

I need to automatically download using Python a .csv file that is in this web page: https://pace.coe.int/en/aplist/committees/9/commission-des-questions-politiques-et-de-la-democratie Now, I have written this code: from…
0
votes
0 answers

Cloudflare ignores environment variables from heroku

I have a next.js project that I connected with Heroku and I wanted to combine the Heroku project with the Cloudflare domain. The problem is that in the Cloudflare domain, every environment variable I created in Heroku was ignored and replaced with…
yoav
  • 1
0
votes
0 answers

How do I allow traffic only to may main page, all subdomains and path will be blocked in cloudflare

I want to allow traffic only to my main site's landing page. Example: domain-name.com This can be accessed by all countries without limitation. My subdomains and all paths however should be limited only to a specific…
Markus
  • 85
  • 9
0
votes
0 answers

Serving content from subfolder in R2 bucket on a subdomain

I have an r2 bucket with content in subfolders like: MY_BUCKET/subfolder1/index.html MY_BUCKET/subfolder2/index.html MY_BUCKET/subfolder3/index.html How I can configure my cloudflare site to serve content from these subfolders on subdomain of my…
tzador
  • 2,535
  • 4
  • 31
  • 37
1 2 3
99
100