• Hi Guys,

    On my live front-end Forminator submission form, I have a MAIN video file attachment/upload field (and a second field exactly the same for adding up to 2 extra video file attachments if the User chooses to, but limits are set lower at 100mb per file). I have this MAIN video field set to 180MB upload limit, but once ANY video file is larger than around say 140MB in size, I get issues. The file always gets to 90% uploaded, then hangs for around 3 minutes, then *almost* ALWAYS, fails, with a red “try again” error message. I NEED TO HAVE reliability with these uploads. Files smaller than around say 140MB seem to not usually have a problem.

    To stress-test it more, I’ve increased the field limit now to 280MB upload limit – files still don’t reliably get past around 90% upload. When I attach say a much-larger 250MB file, it still fails at about 90%. No matter the file size, they hang at 90% then usually (say 9 out of 10 times) fail. My server limits and timeouts are all set super high and generously. The 90% error seems to happen in the secondary field too. I’ve temporarily set BOTH fields to 280MB upload limit – both are exhibiting the same 90% error regardless of that size increase.

    And on a side note: is there a better look than the tiny progress display, so Users can tell if it’s progressing or stalling? On mine, you see the percentage increasing – awesome. But the tiny progress spinner is so miniscule and impossible even with my perfect vision to interpret if it’s even spinning or not, that it should be removed so as not to cast doubt on progress of the upload. Then, when the percentage gets to 90% and sits for 3 minutes – and you can’t tell if the spinner is active.. everything suddenly feels sketchy.. “is this even working now?” I need to remove that doubt.

    Anyway.. can you please target the upload error for me?

    Thanks SO much for your great plugin otherwise!, Stu

    • This topic was modified 2 days ago by stumur.
    • This topic was modified 2 days ago by stumur.
    • This topic was modified 2 days ago by stumur.
    • This topic was modified 2 days ago by stumur.
    • This topic was modified 2 days ago by stumur.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @stumur

    I hope you are doing well and sorry to hear you are having this issue.

    I could replicate the problem on your form, it seems the Ajax request is getting stuck and never finishing:

    https://monosnap.ai/file/SlveLYEPNrufnNY6XDNnpxQCjmkrcw

    Could you please, verify or ask your hosting support for:

    – Slow logs
    – error_log

    You can upload them on Google drive and share the logs via email. Please, also let us know what is the max execution time and max post size you are using.

    wpsupport@incsub.com

    Subject: ATTN: WPMU DEV support – wp.org

    Please send:
    – Link to your WordPress site
    – Download link to file
    – Link back to this thread for reference (https://wordpress.org/support/topic/large-video-upload-attachments-failing/)
    – Any other relevant URLs/info

    To ensure we don’t miss your email, please let us know here once you’ve submitted the form and make sure you use “ATTN: WPMU DEV support – wp.org” as the email subject.

    Best Regards
    Patrick Freitas

    Thread Starter stumur

    (@stumur)

    Hi Patrick,

    Thank you for testing this.

    It is very helpful that you were able to reproduce the issue yourself and confirm that the AJAX request gets stuck before completing.

    My hosting provider (ChemiCloud) has also begun investigating. They have noticed some CPU and I/O resource throttling on my account and are now checking the LiteSpeed and ModSecurity logs for the failed upload requests.

    Current PHP settings are:

    • upload_max_filesize = 1G
    • post_max_size = 1G
    • memory_limit = 1G
    • max_execution_time = 3000
    • max_input_time = 600 (also tested with 300)

    The video upload attachment is currently failing 100% of the time now, compared to a few days ago – I think it’s because I’ve been submitting hundreds of large video attached forms in my previous form tests (I had a bug I was trying to fix – sorted now) – and I’m sure this has maxed my server out for now. A few uploads of the same 145.9MB MP4 file completed successfully a few days ago, but any extra submissions are choking my server now to the point it’s always failing at 89%.

    I’ll ask ChemiCloud for the slow logs and error_log you requested and will forward them as soon as I receive them.

    Kind regards,

    Stuart

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @stumur

    Thank you for the update

    The numbers are indeed good.

    Just an additional question, do you have the “Show files in media library” enabled on your upload field settings? If so, please try to disable it for a test.

    Let us know once you get the logs so we can have a deeper look.
    Best Regards
    Patrick Freitas

    Thread Starter stumur

    (@stumur)

    Thanks Patrick. No, I’ve never had that “show files in media library” option selected. Still waiting for error logs from the Server. Tba..

    Thread Starter stumur

    (@stumur)

    This just now from our Chemicloud server techs:

    Hey Stuart,

    I wanted to provide you with an update on our investigation.

    So far, we’ve been unable to link the issue to anything on the server itself. During our testing, we disabled and ruled out ModSecurity, Imunify360, Wordfence, and all other WordPress plugins. We also tested under both LiteSpeed and Apache.

    Throughout all of our tests, we never encountered an actual upload failure or server-side error. The only consistent behavior we observed is that the upload pauses at approximately 89–90% before eventually completing successfully.

    The amount of time spent at that stage appears to be directly related to the size of the uploaded file, which suggests that the delay is occurring while the plugin is analyzing or processing the uploaded file rather than during the upload itself. I tested this theory by changing the extension of a .zip file to .mp4, the form allowed me to upload it, it went to 90%, and only after that it detect that it’s not actually an .mp4 file, which would imply that there is a stage where the plugin is actually checking the file contents.

    To further isolate the issue, we also tested uploading the same files directly through the WordPress Admin → Media Library. Those uploads completed normally, without any delays, indicating that the web server, PHP, and the underlying storage are functioning correctly. I’ve also created a clone of the website on a different server, and it was showing the same behavior, excluding a possible configuration or server error,

    Based on everything we’ve observed so far, the behavior appears to be related to the upload form or plugin performing additional processing after the file has been uploaded, rather than an issue with the server environment. Please run this by your plugin Support guys?

    Thanks,

    George D.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.