Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Amazon S3 – Not working and returns Access Denied
Tagged: amazon aws, Bucket Names, estore, file corrupted, S3
- This topic has 32 replies, 5 voices, and was last updated 11 years, 2 months ago by wzp.
May 17, 2011 at 6:00 pm #3423
I’m new to eStore which has worked splendidly. Well except for downloading large zipped files.
I tried downloading from our ISP and that didn’t work. SO I decided to setup an Amazon S3 account and bucket. Store the files with in a folder named audio.
Captured the Access credentials (Access Key ID and Secret Access key) and place them in the Add on section under settings.
Copied the link for each product and saved them each Digital Product URL as appropriate.
Saved it, etc.
Got all the PayPal functioning, it redirects to our Thank You page, etc. All is good until you click on the link and then it says:
The link in the browser shows the correct url (why isn’t it encrypted?) so…
I’ve been through all the forum posts and have tried everything they suggest but still no go.
I’m stumped! Could there be some leftover link, that I originally used for products stored locally, interfering? Is there some small setting that isn’t in any of the docs?
John…May 17, 2011 at 7:08 pm #32578
The 2 most common errors are…
1. Bucket name contains an upper case letter.
2. Bucket or folder name contains a space.
http://docs.amazonwebservices.com/AmazonS3/latest/dev/index.html?BucketRestrictions.htmlMay 17, 2011 at 7:11 pm #32579
P.S. What is the URI you used in the product URL?May 17, 2011 at 7:58 pm #32580
> The 2 most common errors are…
> 1. Bucket name contains an upper case letter.
> 2. Bucket or folder name contains a space.
I’m aware of this but there are no spaces and no uppercase letters.
> P.S. What is the URI you used in the product URL?
Thanks,John…May 17, 2011 at 9:23 pm #32581
I figured it out
For future references for others here’s how I resolved it. Make sure you copy the link form S3 and then you need to reformt it the way eStore requires it. So…
Instead of this (example only):
https://s3.amazonaws.com/bucket/folder/object (which is the way it is in Amazon)
Just like the docs say.
John…May 17, 2011 at 10:42 pm #32582
The “as3tp” and “as3tps” tell eStore to perform Amazon S3 redirection.March 3, 2012 at 10:17 pm #32583
I am having the same Access Denied issue.
<?xml version=”1.0″ encoding=”UTF-8″ ?>
I have verified that the S3 bucket is all lower case.
I tried the following in the Digital Product URL field:
Nothing works. I have only the “download” product option checked and not streaming,
I have the video file stored in a folder in a bucket. How should I set the URL to work. Also, I am trying to download a .mov file.
Help!March 4, 2012 at 5:18 am #32584
What exactly are you using for the as3tp URI? It is safe to post it here, since the keys are required to access the file.
And speaking of keys, did you remember to specify the keys in your settings?March 4, 2012 at 5:28 am #32585adminKeymaster
Access denied usually means that there is an error with the API details that you specified in the plugin.
If you tell us folder, bucket and the file name then I will be tell you exactly what URL to use.March 4, 2012 at 1:19 pm #32586
For the digital product URI, I am using the following:
Also, do I need to use a folder? I’d prefer just to use the bucket.
I did specify the keys in my settings. Got them directly from Amazon. Is there something I should look for in there? Is it safe to post those?
CindyMarch 4, 2012 at 1:31 pm #32587adminKeymaster
You need to replace the word “bucket” with your ACTUAL bucket name in the following URL:
as3tp://bucket.s3.amazonaws.com/firefootage/fires/oxfordfireraw.movMarch 4, 2012 at 6:44 pm #32588
Thanks! That was easy..
I’m closer, but still not there. I’m no longer getting the Access denied message, but now I’m getting a blank webpage and it just keeps ‘spinning’ and thinking about doing something…. Any ideas?March 4, 2012 at 7:09 pm #32589March 4, 2012 at 8:08 pm #32590
Enable the debug logging, and then try again. Then, look in the download_manager_debug.log file. You should see a message saying that co troll is being transferred to Amazon S3. Also, are “firefootage” and “fires” the names of folders within your bucket?March 4, 2012 at 10:09 pm #32591
How do I enable debug logging?
‘firefootage’ is the bucket and ‘fires’ is the folder the file is located in.
- You must be logged in to reply to this topic.