Lurker News
Hi, small SaaS founder here (tardis.dev) - I've been heavy Cloudflare Workers user (currently 4 billions requests & 1PB of data per month) for about 4 years already and today at 00:00 UTC without any warning my account was restricted, both website and APIs are down or very very slow to respond/time out, customers are angry obviously. I confirmed with support that "hmm, I see that your zone seems like being restricted due to 2.8 Limitation on Serving Non-HTML Content, see that there's high JSON data transfer". - which is bit strange as I'm using workers which have different terms - https://news.ycombinator.com/item?id=20791660 (confirmed by their CTO)...anyways I get it, perhaps I pay too little and should be on enterprise plan already, but when I got approached by Cloudflare sales team I explicitly asked if I can still be on pay as you go/self server model and reply was: "Enterprise wise, that's up to you and you could likely get away with utilising self-serve as you go, but if you did choose to go enterprise (without R2) I might be able to have something approved in the xx/month range."

I would fully understand that I am required to upgrade, but why not sending me an email before shutting down my business completely? I even asked about such scenario on zoom meeting I had with their Sales and they said it will never happen - few weeks forward and here we are...anyways going back to replying to my customers emails regarding service outage.

Comments (316) 59 threads

Show all comments

Showing thread 3 of 59

IanCal1 reply#
What even is the restriction on returning JSON? One of the examples is explicitly how to return JSON

https://developers.cloudflare.com/workers/examples/return-js...
From the terms
> 2.8 Limitation on Serving Non-HTML Content
> The Services are offered primarily as a platform to cache and serve web pages and websites. Unless explicitly included as part of a Paid Service purchased by you, you agree to use the Services solely for the purpose of (i) serving web pages as viewed through a web browser or other functionally equivalent applications, including rendering Hypertext Markup Language (HTML) *or other functional equivalents, and (ii) serving web APIs subject to the restrictions set forth in this Section 2.8*. Use of the Services for serving video or a disproportionate percentage of pictures, audio files, or other non-HTML content is prohibited, unless purchased separately as part of a Paid Service *or expressly allowed under our Supplemental Terms for a specific Service*. If we determine you have breached this Section 2.8, we may immediately suspend or restrict your use of the Services, or limit End User access to certain of your resources through the Services.
Supplemental terms
> The Cloudflare Developer Platform consists of the following Services: (i) *Cloudflare Workers*, a Service that permits developers to deploy and run encapsulated versions of their proprietary software source code (each a “Workers Script”) on Cloudflare’s edge servers; (ii) Cloudflare Pages, a JAMstack platform for frontend developers to collaborate and deploy websites; (iii) Cloudflare Queues, a managed message queuing service; and (iv) Workers KV, Durable Objects, and R2, storage offerings *used to serve HTML and non-HTML content.*
I can't quite figure out how to parse this such that workers would be deemed unusable to just run an API.
I'd absolutely have gone ahead with using it for an API.

tardis_thad4 replies#
Seems like my account was restricted due to https://www.cloudflare.com/en-gb/supplemental-terms/#cloudfl...

2.Cloudflare may, with or without notice to you and without liability of any kind, temporarily limit your storage and/or the number of requests you can make or receive using the Developer Platform for any reason (in its sole reasonable discretion), including without limitation, if processing such requests would put an undue burden on the Cloudflare network, adversely impact the Service, or otherwise threaten the integrity of Cloudflare’s networks.
To be fair I'm using lots of requests and bandwidth so could be reason, just if only I got an email about that before shutting everything down.

nnx1 reply#
Out of curiosity, are you connecting to third party websockets from your workers?
tardis_thad#
no, I'm not using WebSockets at all in Workers.
IanCal2 replies#
Unless you saw a huge spike I feel like not letting you know before is totally unacceptable.

Also, while that's in the terms that's a generic get out clause I know they need but doesn't at all help you figure out what services are ok.

tardis_thad2 replies#
No huge spikes at all, so not sure what triggered it.

Continue this thread — 2 replies

b112#
Unless you saw a huge spike I feel like not letting you know before is totally unacceptable

I agree... sort of? I mean, this is Cloudflare, right? It isn't as if a huge, legit traffic spike should tax their infra.
IMO, there should be zero shutdown for any long term client, for any reason, at all, ever, without an form of contact.
So weird to have stable uptimes, then support saying "we sorta think you were blocked because..."
So, even account info, with a valid "block" reason, isn't available to their own staff. EG, even their own staff aren't notified?!?
This is sales 101. Mega-simple stuff.
"Hi! You are doing bad thing X, and it needs to change, but we can fix that right now! Let me help you..."

12907835202#
Not getting a warning scares me. I moved hosting large GB+ files from DO Spaces to R2 for the free egress and have served 1 petabyte in January alone saving thousands of dollars.
evrydayhustling#
I think what you're showing here is the safety net that protects them if they make some missteps trying to execute what's covered by other policies. But it seems like the heart of your cancellation is the interpretation of 2.8, i.e. them deciding (probably in an automated way) that the stuff you were serving via API (significant volumes of trading data, I'd gather) does not qualify as web content.

It's definitely an unfriendly combo to have (a) a really ambiguous policy like 2.8 and (b) enforcing via a no-warning cutoff -- even if the two policies have good justifications individually. But I wouldn't jump to the conclusion that part (b) is part of the sales strategy. (Part (a) obviously is meant to incentivize a paid account for applications like yours.)