I already talked to technical support at the datacenter and they have no answers.
I have a dedicated server on HiVelocity.com that hosts a social media site. I had no problems before, but recently when making a photo or video post on the site, the uploads will stall. If the file is small, it will stall a bit and then I am able to post, but if it is a larger file, it stalls and will not complete.
A 2mb mp4 upload will never complete.
If the Cloudflare reverse proxy is turned off, the website works normally and fast.
Here is a video showing the problem. I have to wait for about 2 min. and then it fails. If I immediately refresh after the fail, it shows a 520 error. Recording #18
Normally, as soon as the blue progress bar finishes, the file is uploaded and I can post.
See video of posting the same with Cloudflare reverse proxy off: Recording #19
Before moving to Cloudflare, was your Website working over HTTPS connection?
May I ask what SSL option have you got selected under the SSL/TLS tab at Cloudflare dashboard for your domain ( Flexible, Full, Full Strict … )?
Here is a way to re-check if you correctly setup the SSL for your domain with Cloudflare:
In case you do not have an SSL certificate, you can use Cloudflare SSL, if so, kindly make sure you follow the instructions as follows on the below article to setup an SSL certificate using Cloudflare Origin CA Certificate:
I asked HiVelocity tech about it and they asked Cpanel about it and they both said they have no idea why it happens. I have not looked at these personally, since it worked before and it works fine with the reverse proxy turned off. I will look into these myself:
Headers exceeding 16 KB (typically due to too many cookies)
An empty response from the origin web server that lacks an HTTP status code or response body
Yes it works fine on SSL now with Cloudflare reverse proxy turned off or turned on. I have a SSL cert on the server too.
It’s set to FULL.
HiVelocity techs said we only needed to whitelist IPs in firewall, which I have always done. I double checked them against the CloudFlare IP list and they are all there. I will still look into this more.
File uploads are not completely blocked with reverse proxy on, only files over 2mb won’t upload. Files under 2mb upload OK, but they are delayed and are slow to finish, while without the reverse proxy, uploads under 2mb will fully upload in less than 2 seconds for me.