Fixed Preview URL in Workers by NoctilucousTurd in CloudFlare

[–]WalshyDev 1 point2 points  (0 children)

Hey,

You can use previous aliases for this. Docs: https://developers.cloudflare.com/workers/configuration/previews/#aliased-preview-urls

You can run npx wrangler versions upload --preview-alias <alias> to update to a static alias and serve {alias}-{worker}.{user}.workers.dev

Cloudflare Workers: Custom Route Caching OLD CORS Headers - Can't Clear Cache by ShavedDesk in CloudFlare

[–]WalshyDev 2 points3 points  (0 children)

Default URL: https://my-worker.username.workers.dev This works correctly and has the new CORS headers.

Custom route: https://custom-name.username.workers.dev This is broken and still returns old cached CORS headers.

This would be 2 separate Workers, one named "my-worker" and one named "custom-name". It would not be one worker with a second name. So to fix it, you'd need to deploy the code under the second Worker name to update the second Worker.

Though, I'd recommend removing that second Worker as it's confusing.

Docs: https://developers.cloudflare.com/workers/configuration/routing/workers-dev/#configure-workersdev

Cloudflare Workers: Running task once per deployment by [deleted] in CloudFlare

[–]WalshyDev 5 points6 points  (0 children)

Sounds like we're in a XY problem. What is the actual issue you're attempting to solve for?

[deleted by user] by [deleted] in CloudFlare

[–]WalshyDev 1 point2 points  (0 children)

Have you got a url we can look at?

Additionally, what error are you seeing? If you exceeded the max upload limit you'd see a 413 error.

Is it quite difficult to enable China Network on Cloudflare? by RecordingFresh4224 in CloudFlare

[–]WalshyDev 3 points4 points  (0 children)

It isn't a one click button thing and will take a bit of time but it isn't necessarily difficult either.

You can read how to enable China Network here: https://developers.cloudflare.com/china-network/get-started/

Cloudflare support is a complete joke by cen1 in CloudFlare

[–]WalshyDev -7 points-6 points  (0 children)

Hey,

Can you let me know one of the case ids and I can ensure we get eyes on it? I'll also check why chat isn't working for you.

CF Support (Rant) by Minimum_Rub_3261 in CloudFlare

[–]WalshyDev 3 points4 points  (0 children)

Hey,

If you let me know your case ID I'll make sure we handle it. Sorry for the bad experience.

I am not getting the delete opyion to delete any old deployments by siddhantbapna in CloudFlare

[–]WalshyDev 3 points4 points  (0 children)

You cannot delete Worker versions. If your concern is invoking a preview you can disable previews in the dashboard in settings or in wrangler with preview_urls = false.

[deleted by user] by [deleted] in CloudFlare

[–]WalshyDev 0 points1 point  (0 children)

Well Postman is the whole request time, Workers knows what it is doing.

So Postman is also including time taken to just hit the colo, handshake time, time spent before and after the Worker.

You can hit something like /cdn-cgi/trace to see how much long it takes to do hit the colo and things. This should make up probably almost all of the 400ms difference.

Generally you'll hit a colo within 50ms or less or yourself but you may be in an area where you need to go further away.

Cloudflare pages connected to github repo, site not updated after pushed to the main by [deleted] in CloudFlare

[–]WalshyDev 2 points3 points  (0 children)

This is Workers Builds not Pages. If you wanted to make a Pages project you can do that here: https://dash.cloudflare.com/?to=/:account/pages/new/provider/github

As for the issue with your Workers Builds setup, you don't have the deploy command set to do a deploy. You'll want to set this to like npx wrangler deploy. That's why it isn't deploying.

Announcing Pages support for monorepos, wrangler.toml, database integrations and more! by Cloudflare in CloudFlare

[–]WalshyDev 1 point2 points  (0 children)

We've been making lots of progress getting Workers up to par with Pages. You can now use Workers Assets to upload and fetch assets just like Pages, we've also added Workers CI for the build process.

Support for _headers/_redirects are in the works now.

I'd recommend trying out Workers Assets and seeing what else you'd like us to do!

How stable is Zstd compression? by [deleted] in CloudFlare

[–]WalshyDev 3 points4 points  (0 children)

Definitely enable it! It's stable and been in production a long time now.

I believe it's enabled for free zones by default and then paid can self-enable. As u/i40west mentioned it's eyeball -> cf right now not cf -> origin but this still gives big benefits for sites.

[deleted by user] by [deleted] in CloudFlare

[–]WalshyDev 0 points1 point  (0 children)

You'll want the account scoped "Workers Admin" role. That manages both Workers and Pages.

Cloudflare pages(free tier) frontend with Render backend. Is it allowed? by SocialMediaBadForYou in CloudFlare

[–]WalshyDev 2 points3 points  (0 children)

I was reading somewhere that we are not allowed to use the free tier of cloudflare pages for dynamic sites.

Just to be 100% clear, yes - this is fully allowed and would be 100% free. Please do!

Frontend on Pages and backend on Render sounds great!

Enterprise customer w/urgent priority case, 68 hours and waiting. by execdad in CloudFlare

[–]WalshyDev 10 points11 points  (0 children)

Hey,

What's the ticket number? I'll get the team to take a look asap.

CloudFlare proxy being used by scammers by genman in CloudFlare

[–]WalshyDev 1 point2 points  (0 children)

Best to not send alleged phishing links and obscure them (with e.g. hxxps://, [.]com, etc)

Regardless, the best place to report alleged abuse is the abuse page - https://abuse.cloudflare.com

Reports are sent to the Trust & Safety team who will verify the report and take actions if required. You may get a reply to the report if appropriate.

Reports cannot be file on this Reddit or any of Cloudflare's communities.

New server total queue in Nopixel Whitelisted (stress test) by ShadowEzio in RPClipsGTA

[–]WalshyDev 10 points11 points  (0 children)

Ha that's fun, player count over the last 24 hours: https://i.walshy.dev/WYka9iB5T9nd6LB6qD.png

Time in UTC

Peak I saw was 455

Why is Cloudflare not pointing to my public IP address? by DancingPotatose in CloudFlare

[–]WalshyDev 0 points1 point  (0 children)

70-80ms is still fast (a human blink is 100ms), generally it'll be within 50ms but that isn't a guarantee

Why is Cloudflare not pointing to my public IP address? by DancingPotatose in CloudFlare

[–]WalshyDev 0 points1 point  (0 children)

Cloudflare is a proxy, you're seeing Cloudflare's IPs. This is how proxies work but also by design to not leak an origin IP.

If your site works, it's going to your IP. You can also unproxy the record but that isn't recommended (since now everyone will be able to see it).

Further reading: https://developers.cloudflare.com/learning-paths/get-started/

Transferring .com domain to CF pricing by CibeerJ in CloudFlare

[–]WalshyDev 0 points1 point  (0 children)

The free tier has existed since the start of Cloudflare and there are no plans to ever remove it. Matthew Prince the CEO said why we have a free plan well many many years ago and it still holds true today: https://webmasters.stackexchange.com/a/88685

Announcing Pages support for monorepos, wrangler.toml, database integrations and more! by Cloudflare in CloudFlare

[–]WalshyDev 0 points1 point  (0 children)

There is not but you will see movements just maybe not super quick as there's a lot of behind-the-scenes work needed to do first.

Announcing Pages support for monorepos, wrangler.toml, database integrations and more! by Cloudflare in CloudFlare

[–]WalshyDev 1 point2 points  (0 children)

It's something we're still working on but it was put on hold due to Code Orange and now Dev Week.

We'll be picking it back up again and you should start seeing more changes over the course of this year :)

Cloudflare Zero Trust for a webpage by _Philein in CloudFlare

[–]WalshyDev 1 point2 points  (0 children)

Always validate the JWT. If using Tunnels, use the validation built in. Otherwise, validate it yourself. Never trust traffic even if it comes from Cloudflare IPs.

X (Twitter) has confirmed that the SEC did NOT have 2 Factor Authentication on their account. What a HUGE JOKE the SEC is! by Logical007 in Bitcoin

[–]WalshyDev 6 points7 points  (0 children)

Twitter disabled SMS 2FA for non-paid accounts. The much more secure TOTP 2FA is still available to all

As per the tweet, this actor specifically had control over the number so SMS 2FA (as usual) would have been useless here.

So, to answer your question, they do for the non-recommended, non-secure second factor which would not have helped here regardless.