Downloads are failing - timing out


#1

Hi everyone!

Recently I started to use CloudFlare to deal with requests for my company’s website. So far I am very impressed with the service and the ease of the transition, however I have come across one problem.

One part of the website is the ability for users to download files locally to their computer. This has stopped working since CloudFlare has been activated, what happens is the download gets initialised, and the wrong file size gets displayed. The browser proceeds to download (very low speeds - 100KB a second) until it reaches the originally advertised file size. Eventually when it reaches that file size it hangs for about 1 minute until the browser cancels the download and reports a ‘Failed - Network Error’ warning.

The files being downloaded are all PDF’s. It is worth noting that I don’t know how the files are server seeing as I did not build the website.

Is this a known issue with Cloudflare?

Thanks,
Chris!


#2

It sounds like this issue:


#3

Hi Sdayman thanks for the reply,

Yes I had a look at that but it wasn’t hugely enlightening. What about cloudflare being activated would suddenly cause this to be an issue?

Thanks,
Chris


#4

Cloudflare enables http2 for SSL connections which is a hugely valuable performance tool. However http2 expects the reported size to match what the webserver reports for streamed content.


MP4 Won't Load in Safari Using CloudFlare
Is it possible to serve Amazon S3 MP4 videos through Cloudflare?
#5

Thank you so much, this resolved my issue!

For other people having the same issue, I changed the HTTP/2 setting on the ‘network’ tab of my cloudflare overview page.