• Resolved Samuel Zlatarev

    (@szlatarev)


    Hi,

    I am using a website on WordPress & WooCommerce.
    On WooCommerce I paste the direct link (at the backend) which I generate from my dropbox which I make a force download link which ends on “=1” so people can click “Download” button (on the frontend) and get the file instantly.

    However when I click on it to get downloaded I get an error ” Failed Network Error ” and the downloading process gets interrupted almost 90% of the time. This happens on every browser.
    If the link is used directly at the bar using any browser, it successfully downloads everything.

    Take a look a short video of my problem visually:
    https://www.dropbox.com/s/05vdbr34z8g49pk/Error%20Message.mp4?dl=0

    My hosting provider has found what this is caused by:

    quote:
    ” I noticed that the download link for the product on your website is from Dropbox as shown here:

    > https://www.dropbox.com/s/b0e5jz1653jiz2o/Backend.png?dl=0

    However, when the download is started the process runs on your website at this page:

    > https://www.dropbox.com/s/nj3ofwyzm9t8sae/Thank%20you%20page.png?dl=0

    As the file from Dropbox is 10 GB in size the download times out as the timeout limit for the LSAPI Apache module is exceeded.

    Due to that nature of the shared hosting environment, this limit cannot be increased.

    Additionally, as the archive which is downloaded via your website on our server is 10 GB in size each download of that file will generate a large amount of bandwidth. ” End quote.

    Any suggestions what should I do to not redirect people to the direct link to my cloud (to limit links sharing) and provide them ” Force Download Link ” which if they click they will automatically start downloading as it should be using WooCommerce at the thank you page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • braehler

    (@braehler)

    You need to get rid of shared hosting 😉
    Do you realy need to share the links via dropbox? Maybe you can save this file on your server and try it this way

    Stef

    (@serafinnyc)

    That file is massive. Whoa!

    Here’s a great article on how to do this the right way.

    Thread Starter Samuel Zlatarev

    (@szlatarev)

    Actually @serafinnyc , this is what I did.
    This is the same thing and it’s now using dropbox’s bandwidth but my hosting provider’s server and that’s the reason I can’t provide the file and it disconnects.

    Stef

    (@serafinnyc)

    Well, even though it’s stored on DB its still gotta be processed thru an email or a request. So you’re draining the resources at 10G.

    You may have missed configured something.

    AJ a11n

    (@amandasjackson)

    Hi @szlatarev

    There’s also an option using the Amazon AWS S3 service:

    https://woocommerce.com/products/amazon-s3-storage/

    AJ a11n

    (@amandasjackson)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

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

The topic ‘WooCommerce Download Failed – Network Error’ is closed to new replies.