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 -Photo Download Delivery Errors

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Amazon S3 -Photo Download Delivery Errors

Tagged: amazon s3 download, S3

  • This topic has 8 replies, 4 voices, and was last updated 12 years, 11 months ago by corezero.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 30, 2012 at 4:32 am #6456
    corezero
    Member

    I am setting up a site that delivers stock photos using S3 as the delivery mechanism. I have read all through this forum and found plenty of posts of others having the same problem but none of the solutions have fixed my problem.

    I’ve tried the following URI options:

    as3tp://maine-stock-photo.s3.amazonaws.com/maine-stock-photo/auburn/DSC03276.JPG

    as3tp://maine-stock-photo.s3.amazonaws.com/auburn/DSC03276.JPG

    All receiving the following error:

    The secure download manager ran into a problem that it couldn’t handle, and is unable to process your download request.

    Thank you in advance for your help.

    May 30, 2012 at 12:33 pm #45615
    Peter
    Member

    Hi,

    Please first go through this checklist:

    https://support.tipsandtricks-hq.com/forums/topic/downloaded-file-size-is-0-zero-byte

    Then do what this post says and share the “download_manager_debug.log” debug file’s content here:

    https://support.tipsandtricks-hq.com/forums/topic/how-to-test-wp-estore-plugin-encrypted-download-system-on-your-site

    May 30, 2012 at 3:44 pm #45616
    wzp
    Moderator

    The product URI “as3tp://maine-stock-photo.s3.amazonaws.com/auburn/DSC03276.JPG” is the correct format to use; if “maine-stock-photo” is the bucket name, “auburn” is a folder contained within the bucket, and “DSC03276.JPG” is the object name.

    Please note, that Amazon considers “DSC03276.JPG” and “dsc03276.jpg” to be two different objects. If your bucket contains “DSC03276.JPG” and you are requesting “dsc03276.jpg” then an error will occur. This can be verified, via an examination of the download_manager_debug.log file, as suggested by @Peter.

    May 31, 2012 at 2:51 am #45617
    corezero
    Member

    Thanks for all the tips. I’ve gone through most of them and still haven’t found the issue.

    I’ve tried generating a link through the admin panel:http://www.review.corezero.com/wp-content/plugins/wp-cart-for-digital-products/download.php?file=0xOa%2FCkLVveShKzp

    It comes up with an XML page

    The debug log is not showing any information for files that are going to the XML page:

    [05/28/2012 10:22 PM] – FAILURE : Error on fopen(‘http://review.corezero.com/code/images/bates-college/DSC00806.JPG’)

    [05/28/2012 10:23 PM] – FAILURE : Error on fopen(‘http://review.corezero.com/code/images/bates-college/DSC00806.JPG’)

    [05/28/2012 10:34 PM] – FAILURE : Error on fopen(‘http://review.corezero.com/code/images/bates-college/DSC00806.JPG’)

    [05/28/2012 10:34 PM] – FAILURE : Error on file_exists(‘/code/images/Bates College/DSC00084.jpg’)

    [05/29/2012 2:57 AM] – FAILURE : Error on file_exists(‘/code/images/bates-college/DSC00806.JPG’)

    [05/29/2012 11:48 PM] – FAILURE : Error on fopen(‘https://s3.amazonaws.com/MaineStockPhoto/Auburn/DSC00266.JPG’)

    [05/29/2012 11:49 PM] – FAILURE : Error on fopen(‘https://s3.amazonaws.com/MaineStockPhoto/Bates+College/DSC00810.JPG’)

    May 31, 2012 at 3:15 am #45618
    corezero
    Member

    Should I have S3 permissions set to “Public”? This is paid content so “public” seems like an unlikely solution.

    May 31, 2012 at 6:55 am #45619
    admin
    Keymaster

    The URL value you specified is wrong. Looks like you didn’t even follow the documentation to setup the amazon S3 integration. Please go through the documentation and correct your file URI value:

    http://www.tipsandtricks-hq.com/ecommerce/amazon-web-services-simple-storage-service-aws-s3-integration-1101

    You can also watch this video tutorial on Amazon s3 integration:

    https://support.tipsandtricks-hq.com/forums/topic/wp-estore-additional-video-tutorials#amazon_s3

    June 1, 2012 at 11:15 pm #45620
    corezero
    Member

    Yes, you are right what is showing in the bug report shows that I initially set the bucket up wrong. After watching the video, I went back to S3 and fixed the setup and have been using the correct format which is in my initial post.

    Something is happening with the correct URI of: as3tp://maine-stock-photo.s3.amazonaws.com/auburn/DSC03276.JPG which is NOT accessing the site and therefore not leaving a log in the debug report.

    Any help is appreciated. Thank you.

    June 2, 2012 at 12:10 am #45621
    wzp
    Moderator

    If you enable the eStore debug logs, then generate an encrypted download link using the Admin Finctions page, and then open the generated link; there should be a trace created in the download_manager_debug.log file of what happens up until the handoff to AWS.

    June 2, 2012 at 12:58 am #45622
    corezero
    Member

    Well I’ll be jiggered! Honestly, I have no idea what happened, but it miraculously works. I just don’t get it and I guess it doesn’t matter as long as it works.

    Thank you all so much for your help. I am very grateful for the enthusiasm at which the moderators tried to help. Thank you all so much!

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • 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