Error 1 when trying Plex stream behind Cloudflare

Hey! Recently just got all my infra behind a Cloudflare tunnel after I read that they’re ok with you doing that if you’re not caching.

Everything works great. Plex on the browser, TV app, mobile app… Flawless. Cloudflare is actually a pretty impressive service.

However, Infuse is not liking it. (Tested on iOS and tv apps, getting the same error)

I thought at first it was something weird with CF, but it works everywhere else and a few things point to Infuse as the problem.

  • Using Infuse, if you download manually and play locally, it works. The issue is with streaming content.
  • Speed tests work fine within the Plex share
  • I can see bandwidth coming out of my Plex server just before error
  • When playing around with the playback caching options, changing to anything other than Auto will make the UI unresponsive forcing me to force close the app.
  • Again, it works everywhere. iOS and tv Plex apps and browser

File ticket #173951. Just posting here to get more visibility from other people with the same setup!

Cheers!

Does the same thing happen if the Cloudflare proxy is disabled (switch to gray cloud instead of orange cloud)?

This may be related to some compression settings or missing headers in Cloudflare.

I found this thread which has some info on things you can try.

https://community.cloudflare.com/t/cloudflare-proxy-removes-accept-ranges-header/738548