

Most of the time it would be DNS 😆, glad you figured it out, I have been in your situation before. Just a heads up! Cloudflare TOS does not allow video streaming unless you are a paid customer, they could ban you if you stream a lot through CF. I got away with less than 4GB per month.
That will be one big bloated software extremely painful to maintain.