Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Incomplete encrypted downloads
- This topic has 34 replies, 3 voices, and was last updated 13 years, 1 month ago by
pBarrelas.
-
AuthorPosts
-
July 25, 2011 at 12:46 am #3881
pBarrelas
MemberHello,
I’m having some issues regarding incomplete downloads from encrypted links.
I’ve tested all my downloads and they are working fine but it looks like a small percentage of my clients are getting problems stating that the download gets interrupted.
I asked them to try at different times of day, as some internet connections vary along the day, but even though they can’t finish the downloads. So I had to give them links from Dropbox and 4Shared which worked perfectly fine.
I even contacted my host provider (Go Dady)and they tested the server. No problems detected.
Any ideas about why is this happening only to some of my clients?
Thanks,
July 25, 2011 at 12:56 am #34649wzp
ModeratorIt’s a combination of server and network performance issues. The best solution is to use the Amazon S3 integration feature, and hand off the downloading to Amazon.
The first year is free.
July 26, 2011 at 8:04 am #34650pBarrelas
MemberThanks for your reply! I’m paying more for my hosting service in order to get unlimited bandwidth and a lot of storage room, because I’m producing video tutorials to be provided for the 3D community for free as well as payed ones and now I’d have to pay extra fees? Not fair! Could limiting the file size, resolve the issue?
July 26, 2011 at 11:10 am #34651pBarrelas
MemberI just made the test of asking one of my costumers whose downloads never get completed to download the same file directly from my server. It worked. This means that WP eStore is producing the problem. Can the encryption mess it? If so how can I solve this, because I really need those links to be encrypted!
July 26, 2011 at 2:27 pm #34652wzp
ModeratorThe problem is that PHP is acting as a middleman between the file and the user. As such, if there are any server limitations on PHP memory, or script timeouts, the download will not complete. If you were to enable debug logs, and look at the download_manager_debug.log file, It will most likely show a download starting, but no compleation message. That is indicative of the server terminating the download script before it can finish.
By using the Amazon S3 option, you hand off the download process to the AWS network, and remove your host from the download process.
July 26, 2011 at 2:29 pm #34653wzp
ModeratorUsing Amazon S3 integration still uses the encrypted links; but the server is no longer burdened with acting as the middleman.
Amazon Web Services Simple Storage Service (AWS S3) Integration
http://www.tipsandtricks-hq.com/a-bucket-full-of-objects-amazon-s3-3052
July 26, 2011 at 5:34 pm #34654pBarrelas
MemberSo other that AWS I don’t have any other solution for those clients with slower internet connections that cuts the downloads?
Is there any possibility to change the script timeouts?
July 26, 2011 at 6:36 pm #34655wzp
ModeratorThe timeouts are being enforced by the hosting provider. They exist, as a fail safe against scripts that run out of control. You need to ask the provider if they will remove (unlikely) the limits, since larger files will take longer. BTW, the first year of Amazon S3 is free.
July 26, 2011 at 10:14 pm #34656pBarrelas
MemberThanks for the reply. Yes, I know that the AWS first year is free (partially) but I don’t want to move my files there and then after 1 year, move them back.
Upgrading to a Static IP would improve my situation?
July 26, 2011 at 10:21 pm #34657wzp
Moderatornot really. your provider has configured PHP a particular way. Also, if you are on a shared server the performance will also be affected, depending upon the load of other sites that share your “box.”
July 26, 2011 at 10:22 pm #34658wzp
ModeratorDownloads from your server will also be affected by where the user is located.
July 26, 2011 at 10:39 pm #34659pBarrelas
MemberThanks for the explanation.
I thought that by having a dedicated IP adress, I would get better response on periods of high traffic load as is advertised at GoDady, my host.
July 26, 2011 at 10:42 pm #34660wzp
ModeratorSure you weren’t thinking of “dedicated SERVER?”
July 27, 2011 at 12:14 am #34661pBarrelas
MemberI have to admit that dedicated SERVER would be good but too expensive for me.
Just for you to have one idea why I can’t use the amazon S3, the free 1st year only gives you 5GB of storage and up to 15GB of traffic per month. I’ll a lot more storage space than that (my host gives me 150GB) and in 5 days I had 325GB of traffic way above of what amazon free account can give me.
July 27, 2011 at 1:33 am #34662amin007
ParticipantThe hard disk storage and the RAM memory is not the same thing. Your server needs to have enough RAM memory so PHP can serve the file securely to the customer. The hard disk storage only lets you store big files on your server (it doesn’t guarantee that PHP will have enough RAM memory to serve a file securely). Please read this document which will explain more on this:
http://www.tipsandtricks-hq.com/ecommerce/selling-large-files-with-wp-estore-796
-
AuthorPosts
- You must be logged in to reply to this topic.