May 30, 2012 at 4:32 am #6456
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:
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 #45615PeterMember
Please first go through this checklist:
Then do what this post says and share the “download_manager_debug.log” debug file’s content here:May 30, 2012 at 3:44 pm #45616wzpModerator
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
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
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 #45619adminKeymaster
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:
You can also watch this video tutorial on Amazon s3 integration:June 1, 2012 at 11:15 pm #45620
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 #45621wzpModerator
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
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!
- You must be logged in to reply to this topic.