Manuel Ogomigo
Manuel Ogomigo
CDCloudflare Developers
Created by Manuel Ogomigo on 3/30/2025 in #general-help
R2 + Workers: SSL Connection Failures on Specific ISPs
Users on specific ISPs in UK and US are experiencing SSL connection errors when accessing assets from our R2 storage through Cloudflare Workers. Setup Details - Domain: domain.com - Using Cloudflare R2 for storage - Cloudflare Worker handling asset requests - SSL/TLS mode: Full - Universal SSL certificate for .tryflowdrive.com - Assets are served through Worker route: files.domain.com/ Error Messages on thier end 1. Safari: "Can't establish a secure connection to the server" 2. Chrome: "Failed to load resource: An SSL error has occurred and a secure connection to the server cannot be made" For many it works fine, but some see those errors. Troubleshooting Done - Works fine through VPN - Works fine on mobile data - Works fine on some WiFi networks (e.g., public WiFi) - Fails consistently on specific ISPs - Added all recommended security headers - Configured proper CORS and connection headers Headers Currently Set
headers.set('Access-Control-Allow-Origin', '*');
headers.set('Access-Control-Allow-Methods', 'GET, HEAD, OPTIONS');
headers.set('Access-Control-Max-Age', '86400');
headers.set('X-Content-Type-Options', 'nosniff');
headers.set('Strict-Transport-Security', 'max-age=31536000; includeSubDomains');
headers.set('Cross-Origin-Resource-Policy', 'cross-origin');
headers.set('Accept-Ranges', 'bytes');
headers.set('Connection', 'keep-alive');
headers.set('Keep-Alive', 'timeout=60');
headers.set('Transfer-Encoding', 'chunked');
headers.set('Access-Control-Allow-Origin', '*');
headers.set('Access-Control-Allow-Methods', 'GET, HEAD, OPTIONS');
headers.set('Access-Control-Max-Age', '86400');
headers.set('X-Content-Type-Options', 'nosniff');
headers.set('Strict-Transport-Security', 'max-age=31536000; includeSubDomains');
headers.set('Cross-Origin-Resource-Policy', 'cross-origin');
headers.set('Accept-Ranges', 'bytes');
headers.set('Connection', 'keep-alive');
headers.set('Keep-Alive', 'timeout=60');
headers.set('Transfer-Encoding', 'chunked');
Questions 1. Are there known issues with specific ISPs and R2/Worker combinations? 2. Any recommended configuration changes for better ISP compatibility? 3. Any additional debugging steps we should take? 4. Are there any Cloudflare features we should enable/disable to help with ISP compatibility?
5 replies
CDCloudflare Developers
Created by Manuel Ogomigo on 9/24/2024 in #general-help
Custom hostname SSL not verifying txt but CNAME
I've set up custom ssl in my cloudflare zone, and it works. The CNAME get verified in 5-10mins whereas the txt record doesn't even more than a day. But If I manually go to the settings and change the verification to http and change back to txt. once refresh, the txt is updated in less than 15mins. not sure why that happens.
1 replies
CDCloudflare Developers
Created by Manuel Ogomigo on 9/13/2024 in #general-help
Custom Hostname Error 522 - Cloudflare SSL for SaaS
Hi Cloudflare community, I'm encountering an Error 522 (Connection timed out) when trying to access my custom hostname through Cloudflare SSL for SaaS. Here are the details: 1. Main domain (falback-origin): worker.domain.com (shows "Hello World" when accessed directly) 2. Custom Host name(custom domain): files.otherdomain.com 3. Setup: - Using Cloudflare SSL for SaaS - CNAME and TXT records added and showing as active - DNS checkers confirm correct pointing 4. Issue: When accessing files.otherdomain.com, I get Error 522 I've verified the following: - DNS configuration appears correct - SSL/TLS encryption mode is set appropriately - No obvious firewall rules blocking the connection, - the cname record is connected What else should I check to resolve this timeout issue? Any guidance would be greatly appreciated. Thank you!
32 replies
CDCloudflare Developers
Created by Manuel Ogomigo on 5/5/2024 in #pages-help
Cannot Interact with D1 Locally on Cloudflare Pages
Hi I'm currently facing an issue, i'm getting an error D1_ERROR: no such table: But if I publish the project and access it, it works. I don't know if I'm missing something. I have a wrangler.toml file in my pages, that connect the D1. Would appreciate if anyone could share how to fix it!
7 replies
CDCloudflare Developers
Created by Manuel Ogomigo on 5/1/2024 in #general-help
How can I view analytics from a subdomain?
Hi I currently have my site, hosted on cloudflare pages, on the website analytics is there a way I can see the traffic, requests, content type etc from a particular subdomain or is it the whole zone. Is there any tool I can use to get that, I want to able to track the traffic from a subdomain and not the whole site. The subdomain is used to host files on R2. Thank you!
4 replies
CDCloudflare Developers
Created by Manuel Ogomigo on 4/28/2024 in #general-help
Subdomain don't work with Cloudflare pages. HELP
No description
8 replies
CDCloudflare Developers
Created by Manuel Ogomigo on 4/3/2024 in #pages-help
Set different domain for public domain and fucntions API
I have a site on cloudflare pages using pages functions. the functions also acts like an rest Api validating through API or Sessions. My question now is how I can make the domain on the public for cloudflare pages app.mydomain.com and then the functions acting as API can be api.mydomain.com currently all are on mydomain.com so mydomain.com is for the main site and mydomain.com/apiendpoint is for the Api Trying to separate it, if possible 🙏
5 replies
CDCloudflare Developers
Created by Manuel Ogomigo on 3/26/2024 in #pages-help
Real-time logs and Workers Pages Dev tail not working
No description
8 replies