Proxied B2 bucket downloads fail at exactly 500mb

What is the name of the domain?

What is the issue you’re encountering

Downloads from my Backblaze B2 bucket fail at exactly 500mb

What steps have you taken to resolve the issue?

Downloading any file bigger than 500mb from my website through my Backblaze B2 Cloud Storage result aborts every single time at exactly 500mb.

Here’s an example: https://www.rhcplivearchive.com/download/rhcp2024-07-17aud1
This file is 604mb. Happens with any file bigger than 500mb, files smaller than that work ok.

At 500mb Chrome gives “network error”, Firefox mentions “check your internet connection” so it’s not a browser issue.

Really don’t know how to fix this, it was working fine for some months until this started happening. Backblaze support mentions it’s working ok on their side and downloading the file directly from my bucket works correctly.

Thanks.

Hey there,

It sounds like you are currently reaching the cacheable file size limit in Cloudflare, which is causing the issue you are reporting.

You could try creating a cache rule that sets the requests that go to the /download/ path to bypass the Cloudflare cache and see if that fixes the issue you are having.

1 Like

Hi Micky, thanks a lot for your reply.

I’ve tried creating this rule but it doesn’t seem to work - files keep aborting at exactly 500mb.

The file you linked above is not using the files subdomain, but www. But your Rule is for the files subdomain.

Apart from that, you might be running into problems with the Cloudflare ToS. You are generally not allowed to use the proxy for file distribution, unless you are an Enterprise customer. Are downloads also that slow (~400kbit/s) without using Cloudflare? If not, I’d assume that you are already limited for ToS violations.

1 Like

That link redirects to: https://files.rhcplivearchive.com/file/rhcplivearchive-download/rhcp2024-07-17aud1.zip

Which is the CNAME for my BackBlaze bucket.

No, it does not.

curl -svo /dev/null https://www.rhcplivearchive.com/download/rhcp2024-07-17aud1
* Host www.rhcplivearchive.com:443 was resolved.
* IPv6: 2606:4700:3035::6815:4615, 2606:4700:3036::ac43:d9f0
* IPv4: 172.67.217.240, 104.21.70.21
*   Trying [2606:4700:3035::6815:4615]:443...
* Connected to www.rhcplivearchive.com (2606:4700:3035::6815:4615) port 443
...
< HTTP/2 200
< date: Sat, 19 Oct 2024 13:24:42 GMT
< content-type: application/zip
...
< cf-cache-status: DYNAMIC
...
<
{ [5467 bytes data]
^C

It is also not cached (DYNAMIC), so it doesn’t matter anyway.

1 Like

This topic was automatically closed after 15 days. New replies are no longer allowed.