Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Amazon S3 – Not working and returns Access Denied

by

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 13 years, 2 months ago by wzp.
Viewing 15 posts - 1 through 15 (of 33 total)
1 2 3 →
  • Author
    Posts
  • May 17, 2011 at 6:00 pm #3423
    truegold
    Member

    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 #32578
    wzp
    Moderator

    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.html

    May 17, 2011 at 7:11 pm #32579
    wzp
    Moderator

    P.S. What is the URI you used in the product URL?

    May 17, 2011 at 7:58 pm #32580
    truegold
    Member

    Hi ,

    > 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 #32581
    truegold
    Member

    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)

    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 #32582
    wzp
    Moderator

    8)

    The “as3tp” and “as3tps” tell eStore to perform Amazon S3 redirection.

    March 3, 2012 at 10:17 pm #32583
    cindybou
    Member

    I 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 #32584
    wzp
    Moderator

    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 #32585
    admin
    Keymaster

    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
    cindybou
    Member

    For 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 #32587
    admin
    Keymaster

    You 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 #32588
    cindybou
    Member

    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 #32589
    cindybou
    Member
    March 4, 2012 at 8:08 pm #32590
    wzp
    Moderator

    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
    cindybou
    Member

    How do I enable debug logging?

    ‘firefootage’ is the bucket and ‘fires’ is the folder the file is located in.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 33 total)
1 2 3 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ