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 12 years, 8 months ago by wzp.
-
AuthorPosts
-
May 17, 2011 at 6:00 pm #3423truegoldMember
Hi all,
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:
AccessDeniedAccess DeniedB84919129DDAECFFJUSrBxfrlbOqW0KfhakIVfhlAo4ZWwe+twS889Hwx4gN/Mwx4DzWb0jg0S+t/Adx
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?
Any ideas?
Thanks,
John…
May 17, 2011 at 7:08 pm #32578wzpModeratorThe 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.html
May 17, 2011 at 7:11 pm #32579wzpModeratorP.S. What is the URI you used in the product URL?
May 17, 2011 at 7:58 pm #32580truegoldMemberHi ,
> 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?
https://s3.amazonaws.com/indastreetlyfemusic-dl/audio/Shorte_theResume_2011_DIGITAL.zip
Thanks,John…
May 17, 2011 at 9:23 pm #32581truegoldMemberI 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)
Do this:
as3tp://bucket.s3.amazonaws.com/folder/folder/object
as3tps://bucket.s3.amazonaws.com/folder/folder/object
Just like the docs say.
Thanks,
John…
May 17, 2011 at 10:42 pm #32582wzpModeratorThe “as3tp” and “as3tps” tell eStore to perform Amazon S3 redirection.
March 3, 2012 at 10:17 pm #32583cindybouMemberI am having the same Access Denied issue.
<?xml version=”1.0″ encoding=”UTF-8″ ?>
– <Error>
AccessDenied
<Message>Access Denied</Message>
<RequestId>43035037A138A3BF</RequestId>
<HostId>Mm834Jv3BIgJVxE12XCRK1+JiqYwdIu0H10h8RPF4x51IfMr5QPZJ0L9+edGfb5k</HostId>
</Error>
I have verified that the S3 bucket is all lower case.
I tried the following in the Digital Product URL field:
as3tp://bucket.s3.amazonaws.com/folder/folder/object
as3tp://bucket.s3.amazonaws.com/bucket/folder/object
as3tp://bucket.s3.amazonaws.com/folder/object
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 #32584wzpModeratorWhat 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 #32585adminKeymasterAccess 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 #32586cindybouMemberFor the digital product URI, I am using the following:
as3tp://bucket.s3.amazonaws.com/firefootage/fires/oxfordfireraw.mov
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?
Thanks,
Cindy
March 4, 2012 at 1:31 pm #32587adminKeymasterYou need to replace the word “bucket” with your ACTUAL bucket name in the following URL:
as3tp://bucket.s3.amazonaws.com/firefootage/fires/oxfordfireraw.mov
March 4, 2012 at 6:44 pm #32588cindybouMemberThanks! 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 #32589cindybouMemberMarch 4, 2012 at 8:08 pm #32590wzpModeratorEnable 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 #32591cindybouMemberHow do I enable debug logging?
‘firefootage’ is the bucket and ‘fires’ is the folder the file is located in.
-
AuthorPosts
- You must be logged in to reply to this topic.