sadek hossain
sadek hossain
CDCloudflare Developers
Created by sadek hossain on 9/13/2024 in #general-help
How to cache nextjs pages using cloudflare for non logged in users only using cookie set or not
is it possible serve cache pages from cloudflare if a cookie is set or not? I am trying to serve pages from cache if user is not logged in. We add a cookie if not logged in and another cookie if logged in. Problem is, after caching once, it always serve from the cache and it doesn't respect other request.
6 replies
CDCloudflare Developers
Created by sadek hossain on 8/18/2024 in #general-help
why cannot i upgrade to business monthly plan?
I am on pro yearly plan but want to upgrade to business monthly plan. I don't see any options for this. Any idea how to upgrade?
2 replies
CDCloudflare Developers
Created by sadek hossain on 8/17/2024 in #general-help
526 error one of the domain's few api calls
No description
2 replies
CDCloudflare Developers
Created by sadek hossain on 1/28/2024 in #pages-help
what us the best way to speed the cloudflare dns routing
Our api response time is around 10-15ms. But this same api with a domain cloudflare routing become 200-350ms. How can we speed up the routing time
1 replies
CDCloudflare Developers
Created by sadek hossain on 1/20/2024 in #general-help
After streaming, enabling mp4 download gives 500 error and then it retries with error
Hi there, we stream and then call api to make mp4 video available but we noticed, we get 500 errors and it retries but still the status stays error generating mp4 video. This is what I am trying
https://api.cloudflare.com/client/v4/accounts/e3bd..../stream/c9eee7eab893404ba3cb81...../downloads
https://api.cloudflare.com/client/v4/accounts/e3bd..../stream/c9eee7eab893404ba3cb81...../downloads
and I get
{
"result": {
"default": {
"status": "error",
"url": "https://customer-7t,,,,.cloudflarestream.com/c9eee7eab8930000------9bfbed68d/downloads/default.mp4",
"percentComplete": 0
}
},
"success": true,
"errors": [],
"messages": []
}
{
"result": {
"default": {
"status": "error",
"url": "https://customer-7t,,,,.cloudflarestream.com/c9eee7eab8930000------9bfbed68d/downloads/default.mp4",
"percentComplete": 0
}
},
"success": true,
"errors": [],
"messages": []
}
If we delete some videos from dashboard then it works!
1 replies
CDCloudflare Developers
Created by sadek hossain on 12/2/2023 in #general-help
I am trying to create a rate limit role but not working
Hi there, I am using (http.request.uri.path eq "/*" and not http.request.uri contains "api") so that I can rate limit all the path except if it contains api inside the path. We want to apply rate limit to all path except api. we have different rate limit for api slightly higher. But it's not blocking even after sending more request
31 replies
CDCloudflare Developers
Created by sadek hossain on 10/18/2023 in #general-help
Cloudflare for saas. Is it possible to white label wildcard custom domain
Hi there, We have a use case here like this. We have cloudflare saas enabled and configured for wildcard. Now we can server a.domain.com b.domain.com also c.com as custom domain pointing to a.domain.com. Now we have agency user for which we need to make their domain as wildcard just like main domain so that user signing up for them can easily get the custom domain like a.agency.com Is it possible and which plan I need
2 replies
CDCloudflare Developers
Created by sadek hossain on 8/30/2023 in #general-help
Cloudflare for saas not hitting fallback domain instead hitting main domain
Hi there, so I have set up cloudflare for saas. I set up a fallback domain for custom hostname. fallback.domain.com and when any custom host name domain is hit it always route traffic to domain.com server block. I also have a server block set up for fallback.domain.com in nginx and i have a catch all block. Need help.
9 replies
CDCloudflare Developers
Created by sadek hossain on 8/19/2023 in #general-help
I have set up cloudflare load balancer but it doesn't check for healthy servers.
Hi there, I have created a load balancer in CF. added a pool with two servers. Checking if one server is down if cf sends traffic to healthy server but it doesn't. It always send traffic randomly and we see broken server not healthy one. How can we make sure only healthy server is used.
1 replies
CDCloudflare Developers
Created by sadek hossain on 8/13/2023 in #general-help
Could you please explain how cloudflare dor SaaS works?
So now, we handle all ssls from let's encrypt and store in the server when a user install a custom domain. I am facing issue and not sure what to do as we are planning to add one more server. Does cloudflare for saas handle custom domain ssl etc?
1 replies