opentype Posted December 1, 2023 Posted December 1, 2023 (edited) I’m currently moving my communities to a new managed server and everything works fine or better, but I have one strange issue: On one installation, the Files app doesn’t show a progress bar for new file uploads when Cloudflare is active. It seems like Cloudflare is interfering with the ajax/plupload(?) functions in the background. If I set the Cloudflare project into developer mode the problem goes away. Anyone got any ideas how to resolve that or even just investigate it further? I’m not sure what calls the upload form is making in the background or which Cloudflare settings could be relevant. Edited December 1, 2023 by opentype
DawPi Posted December 1, 2023 Posted December 1, 2023 (edited) 37 minutes ago, opentype said: Cloudflare is interfering with the ajax/plupload(?) functions in the background. You may try disable Rocket Loader - https://developers.cloudflare.com/speed/optimization/content/rocket-loader/enable/ Edited December 1, 2023 by DawPi Marc, Clover13 and SeNioR- 3
SeNioR- Posted December 1, 2023 Posted December 1, 2023 Rocker Loader causes many problems, including loading the editor. This needs to be turned off.
Clover13 Posted December 1, 2023 Posted December 1, 2023 Same for me, Rocket Loader was a problem and I disabled it.
opentype Posted December 1, 2023 Author Posted December 1, 2023 (edited) That’s not it unfortunately. I never had Rocket Loader on. I didn’t even change anything on the Cloudflare side other than pointing the DNS settings to the new server. Edited December 1, 2023 by opentype
Clover13 Posted December 1, 2023 Posted December 1, 2023 (edited) The scope of Development Mode below. So if it works in Development Mode, that should narrow it down to one of those things that is suspended? Possible there is corrupt JS in the cache? Have you tried clearing entire cache for the site on CF? https://developers.cloudflare.com/cache/reference/development-mode/ Development Mode Development Mode temporarily suspends Cloudflare’s edge caching, minification, Polish, and Railgun (deprecated) features for three hours unless disabled beforehand. Development Mode allows customers to immediately observe changes to their cacheable content like images, CSS, or JavaScript. Edited December 1, 2023 by Clover13 opentype 1
Joel R Posted December 1, 2023 Posted December 1, 2023 8 hours ago, opentype said: I’m currently moving my communities to a new managed server and everything works fine or better, but I have one strange issue: On one installation, the Files app doesn’t show a progress bar for new file uploads when Cloudflare is active. It seems like Cloudflare is interfering with the ajax/plupload(?) functions in the background. If I set the Cloudflare project into developer mode the problem goes away. Anyone got any ideas how to resolve that or even just investigate it further? I’m not sure what calls the upload form is making in the background or which Cloudflare settings could be relevant. Dumb questions, but do the files ever upload? Are you uploading more than 100 MB, which is prohibited on all but their $$$ enterprise plans? I use Cloudflare Pro on my primary community and we upload things daily in Files, and you do see the progress bar.
opentype Posted December 1, 2023 Author Posted December 1, 2023 1 hour ago, Clover13 said: Possible there is corrupt JS in the cache? Have you tried clearing entire cache for the site on CF? Good idea! Thanks! I probably didn’t because I was originally sure it had to do with php.ini settings on my new server. 42 minutes ago, Joel R said: Are you uploading more than 100 MB, which is prohibited on all but their $$$ enterprise plans? It happened for all file sizes. The 100 MB limit is not a problem with reasonable php.ini settings so IPS uploads large files in chunks.
opentype Posted December 4, 2023 Author Posted December 4, 2023 I guess it was just a temporary caching or routing issue in connection with the server move. Everything is working fine now. Steph40 and Clover13 2
Recommended Posts