• Resolved balloonartonline

    (@balloonartonline)


    Hello everyone,
    I sell downloadable files via a WordPress site that has Woocommerce.
    site address is: [redundant URL removed by mods]

    I now experience the following issue:
    After purchase, users cannot download large files, or cannot download files at all (depends on the setting I use in the “file download method” in the woocommerce for digital downloads settings.

    1. When the “file download method” configuration is set to “Force Download”, users are able to download only the first 500MB of a file (the download stops early). Note that if the file is smaller than 500MB, users are able to download it normally.

    2. When the “file download method” configuration is set to “Redirect only (Insecure)” and the user click the download link, a new tab is opened and it is being closed immediately (using this method the user can’t download any file at all).

    I have already checked the followings:
    * Both WordPress and Woocommerce are in their last versions

    * I have tried to stop all WordPress plugins (except Woocommerce) with no avail

    * This is not a storage issue since the file stops at 500MB even if it’s located on the webserver itself (and not on a remote storage)

    * If I download the file directly from the server (without using the user’s “downloads” area, the download of a large file is OK. Here’s the direct download link:
    [video src="https://www.balloonartonline.com/wp-content/uploads/620MB_test_file.mp4" /]

    * This is not a firewall issue – my ISP has temporarily disabled the firewall, and the problem still happens.

    * My ISP also tried to add the following PHP settings, with no avail:
    RewriteEngine On
    RewriteRule .* – [E=noabort:1]
    RewriteRule .* – [E=noconntimeout:1]

    Please let me know if you need any other information about this malfunction.

    I will appreciate any help (I ran out of ideas…),
    Thank you
    Barak from BalloonArtOnline.com

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @balloonartonline!

    Thanks for reaching out!

    If I download the file directly from the server (without using the user’s “downloads” area, the download of a large file is OK.

    Your website’s server might have a maximum file size limit. Could you please reach out to your hosting company and verify, and if so, have that limit increased?

    WooCommerce doesn’t have limitations on the maximum file size that can be used.

    Let us know how it turns out!

    Thread Starter balloonartonline

    (@balloonartonline)

    Hello Joseph and thank you for your reply,
    My ISP doesn’t know any download limit on their servers.

    And, also, If I download the file directly from the server (without using the user’s “downloads” area, the download of a large file is OK. Here’s the direct download link:
    [video src="https://www.balloonartonline.com/wp-content/uploads/620MB_test_file.mp4" /]

    Am I wrong, or does it say that the web server is OK?…

    Another interesting point is that if I change the “file download method” configuration to “Redirect only (Insecure)” and the user click their download link, a new tab is opened and it is being closed immediately. Using this method the user can’t download any file at all.

    (Anyway, I will sure check with my ISP again)
    Thanks again
    Barak

    Mirko P.

    (@rainfallnixfig)

    Hi Barak,

    Once the download has started from the external server, WooCommerce itself no longer plays any role from that point on.

    There could be a number of reasons that would cause a download to abort:

    – Momentary network drops local to your machine.
    – Network problems or limitations between the machine and the download server.
    – Additional software installed on your site that might be blocking or causing download interruptions.

    There could be any number of factors involved there, and since we can only really help with WooCommerce itself, I’m not sure how much we can really assist here.

    It would probably be a good idea to try a service such as Amazon AWS S3 which gives you room for better scalability, offers more reliability, especially when serving big files, and greater download speeds for your customers.

    If you’re interested, we have our own Amazon S3 Storage extension on the WooCommerce.com marketplace. You can test it for 30 days and get money back if you see the problem persists even using that extension.

    Cheers.

    Thread Starter balloonartonline

    (@balloonartonline)

    Thank you for your kind help.
    I will update when I will find the cause.

    Plugin Support wpnomad a11n

    (@wpnomad)

    Sounds like a plan @balloonartonline !

    Thread Starter balloonartonline

    (@balloonartonline)

    Hello everyone,
    Finally, my ISP have found the problem!
    There were 2 parameters in the WEBSERVER TUNING SETTINGS:
    <maxReqBodySize>500M</maxReqBodySize>
    <maxDynRespSize>500M</maxDynRespSize>

    Thank you guys for your kind help
    I appreciate it
    Barak from BalloonArtOnline.com

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Large digital file downloads ending early at 500MB’ is closed to new replies.