Problems downloading PDFs when domain proxied

We run an application which generates legal forms in PDF format.

We moved its domain over to Cloudflare this week and set the A record to proxy through Cloudflare.

Right away we started seeing issues when users requested PDF downloads via the application. We could see via the application logs that the PDFs were getting generated correctly, but the responses were not making it to the browser intact. We were getting ‘Failed - Network Error’ messages in the browser.

We tested this in multiple browsers (Firefox, Edge, Safari) and on different networks and were not able to download any PDFs

It was possible to download other files types such as .zip and .docx.

Once we disabled proxying via the Cloudflare dashboard this issue went away immediately and we could download PDFs again.

Does anyone have any ideas?
Thanks,

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.