We’ve been using this plugin for a while now, but over the past month any large files won’t download fully – they stop at 1gig.
I’m assuming there were changes in Woocommerce or S3 that made this break, and hence the plugin not being updated any longer.
We have about 1000 downloadable products using S3. Anyone have this download stopping issue? Any fixes or alternative plugins to use?
]]>Hi, I have been using your plugin from very long, i would be always appreciating you for this great one. Please note that s3 from recent days default allowing us to copy links in the format of https://bucket.s3.amazonaws.com/*** as earlier it used to be https://s3.amazonaws.com/bucket/***. Due to this change your plugin no longer supporting the changed link format and giving us an access error.
Can you please work on this and release a patch..
]]>I have been using this plugin with the same files for years now, but this error has just started happening when a user tries to download files. The bucket name has been the same since 2016, with no errors previously.
<Error>
InvalidBucketName
<Message>The specified bucket is not valid.</Message>
<BucketName>http:</BucketName>
<RequestId>EB095BE86DCD5C6F</RequestId>
<HostId>
W0TrZ7ZPyHsUNjZ0ESlYR9HB6M4uUMEPn89XHiM48GQy2wgYeqFzPZ45CeOyv/hmqXDdx0CXULk=
</HostId>
</Error>
When a customer clicks on the link to download, a URL like the following is generated, which looks like the error is in the URL generated by the plugin.
]]>i’d like you to upgrade the plugin in agree to pay you about
]]>Hi, I’d like to know the status of this plugin. Will it continue to be developed? I may need to use it, but not very sure about using it since there hasn’t been a release for a long time. Please advise?
]]>I am unable to Browse S3 media
I am certain that I am providing correct credential under
Amazon S3 Access Key ID
Amazon S3 Secret Key
But for Amazon S3 EndPoint
when I use s3-website.ap-south-1.amazonaws.com, I don’t get to see my bucket name but there is display of table with column Bucketname and column Actions.
when I use s3.ap-south-1.amazonaws.com, I don’t see anything not even the table columns.
What might be wrong here?
Everything works fine, i can browse buckets, attach files to product, sale goes through normal, after payment when customer downloads file they get this error message. Everything normal until trying to download file. Can anyone help?
<Error>
InvalidBucketName
<Message>The specified bucket is not valid.</Message>
<BucketName>http:</BucketName>
<RequestId>A6EE57D536FD3A48</RequestId>
<HostId>
YIrtxB7uzf3BCsgCm3AdAb6TXo6gZNGdj2qagudaoDdnktVaQB7QiAzb7vQa9iJFI4fkdJMmBoU=
</HostId>
</Error>
This plugin is helping me since long time. I should thank you for your great work. Now i see that wordpress plugin page that it has not been updated since 2 years notice. So worried if it get problem to the site. I sincerely request to update it please..
]]>i have got on the error log a warning:
[31-May-2018 19:28:21 UTC] PHP Warning: S3::listBuckets(): [7] Failed to connect to s3.amazonaws.com port 443: Connection timed out in /home/wp-content/plugins/woo-product-download-from-amazon-s3/includes/S3.php on line 373
[31-May-2018 19:28:21 UTC] PHP Warning: in_array() expects parameter 2 to be array, boolean given in /home//wp-content/plugins/woo-product-download-from-amazon-s3/woo-product-download-from-amazon-s3.php on line 510
]]>Is this plugin still being support?
I’d like to be able to serve URLs through Cloudfront, is that possible with this plugin?
]]>What should the bucket permissions be set to for this plugin to work?
I can’t imagine just opening a bucket to the public is safe….
Is there a policy that should be used?
Hi, after updating to the most recent version of W3 Total Cache, the combination of W3 Total Cache and Woo Product Download from Amazon S3 plugin broke uploads to our media library, causing ‘Http error’ to appear during uploading. I turned on error reporting and got this message (**** appears where I removed our specific server path for privacy):
Fatal error: Uncaught Error: Call to undefined method S3::setSignatureVersion() in *****/public_html/wp-content/plugins/w3-total-cache/CdnEngine_S3_Cf.php:82 Stack trace: #0 ******/public_html/wp-content/plugins/w3-total-cache/CdnEngine_S3_Cf.php(163): W3TC\CdnEngine_S3_Cf->_init(NULL) #1 *****/public_html/wp-content/plugins/w3-total-cache/CdnEngine_S3_Cf.php(149): W3TC\CdnEngine_S3_Cf->invalidate(Array, Array) #2 ******/public_html/wp-content/plugins/w3-total-cache/Cdn_Core.php(267): W3TC\CdnEngine_S3_Cf->purge(Array, Array) #3 *******/public_html/wp-content/plugins/w3-total-cache/Cdn_Plugin.php(158): W3TC\Cdn_Core->purge(Array, Array) #4 ******public_html/wp-includes/class-wp-hook.php(288): W3TC\Cdn_Plugin->update_attached_file('******...') #5 ******/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters('******...', Array) #6 ******public_html/wp-includes/post.php(335): apply_filters('update_attached...', '******...', in ******/public_html/wp-content/plugins/w3-total-cache/CdnEngine_S3_Cf.php on line 82
We had to disable the Woo Product Download from Amazon S3 plugin in order to restore media library functionality. Just wanted to let you know so that you might be able to address this in a future version.
If you think this is a W3 Total Cache specific problem, please let me know and I will post in their forum instead. Thanks!
]]>I have taken over a WordPress/Woocommerce website abandoned by a developer who exported old customer info along with associated S3 downloads from an OpenCart store, into the new site using the “Woo Product Download from Amazon S3 (Version 1.0.4)”. Each customer has legacy downloads from the old website in the “downloads” section of their “My Account”, but they are NOT working. Current purchase downloads DO work. The legacy downloads are going to a URL:
https://www.layercakeelements.net/wp-content/uploads/woocommerce_uploads/2016/10/12/S3.LIST, which produces a “404 page not found” error. If you hover over the active links in the customer’s My Account it makes a link like (for example) https://www.layercakeelements.net/?download_file=425&order=order_57fe9a77a9998&email&key=98, but the link ultimately opens up https://www.layercakeelements.net/wp-content/uploads/woocommerce_uploads/2016/10/12/S3.LIST.
Can someone help me or advise me on how I can get these working?
Thank you
This plugin does not work with bucket regions that uses Signature Version 4
https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
Use a region with Signature Version 2 or you will see the following error message while trying to browse your bucket:
“The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256”
https://stackoverflow.com/questions/26533245/the-authorization-mechanism-you-have-provided-is-not-supported-please-use-aws4
Check bucket regions, endpoints and Signature Versions here:
https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
I am trying to connect. I have my keys in and zone s3-us-east-2.amazonaws.com
I get this message:
Warning: S3::listBuckets(): [InvalidRequest] The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256. in /home/[name redacted for this post]/public_html/wp-content/plugins/woo-product-download-from-amazon-s3/includes/S3.php on line 373
]]>I created a new IAM user. Added the S3 full access. Then copied my keys over and setup my region code. nothing shows up on the media uploader. What am I missing>?
]]>Hi,
I believe I’ve set everything up correctly, Created a group and a User and granted Amazon S3 full access so I have my access key ID /secret key and I’m using the Canada endpoint s3.ca-central-1.amazonaws.com as show here: https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
But when I try to select my files or browser the bucket i just have a white screen and I cannot browse anything, and the upload selection does not show any buckets.
Should there be more to the endpoint than just s3.ca-central-1.amazonaws.com ?
I tried adding /thenameofmybucket which didnt help.
Any idea what I’m doing wrong?
Thanks !
]]>Hi Emran,
I had an issue browsing a single 2GB file in my bucket as it gives me this error
Warning: S3::getBucket(): [PermanentRedirect] The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. in C:\xampp\htdocs\wide-receiver-pro\wp-content\plugins\woo-product-download-from-amazon-s3\includes\S3.php on line 373
Uploading files to S3 seems to work just fine though but I’m not sure if this error relates to local installation of wordpress as you can see in the source URL.
What do you suggest?
Awesome plugin btw thank you!
~Vincent
]]>This plugin works fine, HOWEVER…
Because I have to navigate several S3 buckets and nested folders, with thousands of files, this plug-in MUST be updated with the following in order to be useful beyond the occasional use (I’m willing to pay a REASONABLE upgrade price for these features – $15 would be appropriate for a “pro version”):
1. Option to remember (and return to) last bucket/folder location.
2. Paged browsing for files within buckets, with option to change number of files to list per page (and remember settings).
3. Search / Filter function. Again, I have thousands of files I have to look through. If I could call up a filtered search, that would help immensely!
Thanks and I hope to see this updated soon.
]]>Hi, First of all, thanks for creating a slim and elegant way to link to S3 for downloads. It has minimal confusing settings and it does what it needs to do! I have been able to successfully link to my bucket and add a download to a product. The link in the email the customer receives to download the file works great. Perfect!
I’m a little new to this S3 thing and I was wondering, how can I protect these links from being shared? I was able to copy the email link from one account and email it to another and then download the file from S3 again.
I realize that an end user could just email the files themselves, etc, but I don’t want someone hot linking to my S3 and running up my bill.
Thanks again,
John
]]>Hello,
First of all, thanks for that plugin very easy to use and to setup, good job.
I have a strange problem on my website. I can add the product link with the browser, and the browser is weel connected to my S3 bucket. Everything was working fine.
But since one week when someone wants to download a product, it doesn’t work.
I tried with a new user, they all have Amazon S3 all access, but nothing change. I still have acces to the bucket browser in the product details.
Any idea where the problem can come from ?
]]>Hi,
it seems like the plugin does not support the latest signature version as the authorization fails for endpoints that do not support the old version 2 (https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region).
S3::listBuckets(): [InvalidRequest] The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
It would be great to be able to use the plugin with any AWS region.
Thanks and best regards,
Jay2000
I need to give website/client access to his own bucket in my S3 root. Not S3 root access!
Is that at all possible with your plugin??
I tried it <bucket_name>.s3.amazonaws.com
But your plugin does not like to work with that.
Thanks
SC
Hi, I’m running checkout simulations and when the download link is sent, I click it and go to download and it tells me File Not Found Please try again – GO to homepage.
I’ve verified that all links are correct between the bucket loaded up in the plugin and the link listed in AWS.
Thanks!
]]>i’m trying to upload image and i get an error
Warning: S3::putObject(): [MalformedXML] The XML you provided was not well-formed or did not validate against our published schema in /home/public_html/wp-content/plugins/woo-product-download-from-amazon-s3/includes/S3.php on line 373
Something went wrong during the upload process.
Hi,
We are in search of AWS S3 download plugin that will integrate with woo commerce product section. We are using Woocommerce S3 download plugin which is no longer supported.
We have php7.0 on the server and would like to know will be have to rebuild all the downloads in each product when we install your plugin. In other words are there tools to help us migrate the product download to your plugin.
Hope this question makes sense.
Looking forward to your reply.
Thanks,
-Sudd.
It seems the latest version of the plugin replaces or removes characters from download URL’s.
Specificly it removes spaces in filenames when saving them.
This updays cost me days of work trying to figure out why downloads did not work. And the more I tried to correct the filenames the more it scewed up.
Please …do not change the filenames when saving. Make sure spaces and other special characters are encoded corectly when they are submitted.
What it does in this latest release is really fucked.
Pardon my langueage …,
Andy
Hi, i tried your plugin and it’s working very well.
Running a PHP compatibility test (PHP Compatibility Checker by WPEngine) seems there are some thing that can be improved, so we can switch to php7 in yours servers.
Here the report:
FILE: /home/…/plugins/woo-product-download-from-amazon-s3/includes/S3.php
FOUND 0 ERRORS AND 13 WARNINGS AFFECTING 13 LINES
368 | WARNING | Method name “S3::__triggerError” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1609 | WARNING | Method name “S3::__getCloudFrontInvalidationBatchXML” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1690 | WARNING | Method name “S3::__getCloudFrontDistributionConfigXML” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1730 | WARNING | Method name “S3::__parseCloudFrontDistributionConfig” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1790 | WARNING | Method name “S3::__getCloudFrontResponse” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1823 | WARNING | Method name “S3::__getMIMEType” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1872 | WARNING | Method name “S3::__getTime” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1885 | WARNING | Method name “S3::__getSignature” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
1900 | WARNING | Method name “S3::__getHash” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2285 | WARNING | Method name “S3Request::__sortMetaHeadersCmp” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2303 | WARNING | Method name “S3Request::__responseWriteCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2319 | WARNING | Method name “S3Request::__dnsBucketName” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
2338 | WARNING | Method name “S3Request::__responseHeaderCallback” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
FILE: /home/ricca052/public_html/wp-content/plugins/woo-product-download-from-amazon-s3/woo-product-download-from-amazon-s3.php
FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
549 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
553 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
Hi,
Awesome plugin! I have installed the plugin and connected to S3 but cant view my buckets. I keep getting this error message – Warning: S3::listBuckets(): [404] Unexpected HTTP status in /home/content/n3pnexwpnas01_data01/34/3717434/html/wp-content/plugins/woo-product-download-from-amazon-s3/includes/S3.php on line 373
Can you please help?
Thanks,
Napa
]]>Hello I am running the plugin on my site and testing it right now. The setup part is done, i can see my buckets and choose the files on my products. My issue is that it seems the downloads are always going into FORCE DOWNLOAD mode, even if I set it to REDIRECT ONLY in my woocommerce settings. And since my files are pretty large this causes my transfer to fail. The reason why i am saying that the download method doesn’t seem to change is because I have another site where i use another amazon plugin and when i set the download method to REDIRECT ONLY, I can see the total size of the zip file while the transfer is undergoing. But right now, I do not see the total size, I only see the transfered file size (so basically seeing this during transfer for example: 16MB instead of 16MB/550MB )which is what normally shows when method is on FORCE DOWNLOAD. Any idea?
]]>