Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Creating Encrypted Download Links Manually
- This topic has 23 replies, 6 voices, and was last updated 10 years, 10 months ago by fegido.
-
AuthorPosts
-
October 26, 2010 at 1:27 pm #2112bentley74Member
I’d like to give products away free to a small group of people, but don’t want to show them the source of the file. Is there some way to manually create an encrypted link that can then be added to an email (sent to group)?
Thanks
October 26, 2010 at 8:21 pm #25815wzpModeratorYes!
WP eStore -> Admin Functions -> Generate An Encrypted Download Link
October 27, 2010 at 2:08 am #25816bentley74MemberAwesome! Thanks!
January 15, 2013 at 1:37 pm #25817johnkuypersMemberI am having trouble with this exact issue. I generate an encrypted URL but it doesn’t work. I get this:
<Error>
NoSuchKey
<Message>The specified key does not exist.</Message>
<Key>MYIS/01mp3</Key>
<RequestId>15A77EA1C7C008FA</RequestId>
<HostId>
59S3NweXn2e4UD1nxByH6reSQgMXcCJ1nmXdY5njoJeHPaSpj0YD62wRXEDd+b2d
</HostId>
</Error>
Could you help me understand what to do? I have the product ID correct. The file downloads no problem when ordered. The problem is a customer who let his link expire and now I need to generate a new link. Thanks! John
January 15, 2013 at 3:16 pm #25818wzpModeratorThat message looks like it is coming from Amazon. It means that there is something wrong with your Amazon S3 integration setup.
Did you remember to tell eStore what your AWS keys are?
What is the AS3TP URI that you specified for the file? It’s OK to post it here, because we don’t know what your AWS keys are.
Did you fully read the documentation for it?
January 22, 2014 at 2:52 am #25819veramiloSpectatorI’m getting the same error message as the previous user. I signed up for AS3 to get around the file size limit I was experiencing, and now I have problems with this, too.
I followed all the AS3 integration instructions in the link, re-checked my Addon settings for AS3, and my URL and ID # in the shortcode. But I’m applying it to the [wp_eStore_download_now_button id=2] short code.
This is the product URL (no extraneous spaces), and I also tried it with as3tps:
as3tp://marshallart-tests.s3.amazonaws.com/animal/animalSample2.mp4
All the forum posts I found are at least a year old. Has something changed in the setup requirements? Or is it that AS3 doesn’t work with download buttons?
January 22, 2014 at 3:51 am #25820wzpModeratorOh yes, it does work with buttons…
First, enable the eStore debug logs. Then reset the debug logs, and try pushing your button. Then check the download_manager_debug.log file to make sure the download is properly dispatched to Amazon.
Now, you will either get an error in the logs, or an error on the browser screen when it tries to dispatch to Amazon. Which is it, and what does the message say?
Also note, that Amazon object names are case sensitive. “animalSample2” is not the same as “animalsample2” to Amazon.
January 24, 2014 at 6:02 am #25821veramiloSpectatordl manager log reads like this after resetting and then pressing the download button:
[01/24/2014 5:56 AM] – Advisory : Log file reset.
Error on screen after pressing download button on this page (I deleted info that I thought might be sensitive):
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
NoSuchKey
<Message>The specified key does not exist.</Message>
<Key>animal/animalSample2.mp4</Key>
<RequestId>long string of random characters</RequestId>
<HostId>
long string of random characters
</HostId>
</Error>
I noticed that the Amazon console looks different than the one in the tutorial video. Might they also have made changes to the process?
Here is the page with my button:
http://marshallart.com/news/blog/products/videos/testing-download-page/
January 24, 2014 at 3:07 pm #25822wzpModeratorThere is nothing wrong with the plugin. When you see “The specified key” is the animal/animalSample2.mp4 file, it means Amazon can’t find the file in your bucket.
The usual reasons I can think of are:
1. The case of the object name in your bucket does not match the case used in the product URI.
2. There is a non-visible character (trailing space) in your product URI, or in the object name inside your bucket.
January 24, 2014 at 6:08 pm #25823fegidoMemberHi
I am using the same approach, but instead of downloading the file (mp4) it tries to display it.
This is the delivery log:
[01/24/2014 5:49 PM] – Status : Link details retrieved using file key. Link ID: 12
[01/24/2014 5:49 PM] – Status : Handing download request from IP Address: ::1
[01/24/2014 5:49 PM] – Status : AS3TP URI request = as3tp://…
[01/24/2014 5:49 PM] – Status : Dispatching AS3TP URL = …
How can I solve it?
Thanks
January 24, 2014 at 7:05 pm #25824fegidoMemberWhen trying the page on Firefox I get an error saying, video can not be played because file is corrupt
January 24, 2014 at 8:08 pm #25825wzpModerator1. What about other browsers?
2. Do you download the file first, or is it trying to play while downloading?
January 24, 2014 at 11:30 pm #25826adminKeymasterI think the following is what you want:
January 25, 2014 at 12:59 am #25827veramiloSpectatorThe usual reasons I can think of are:
1. The case of the object name in your bucket does not match the case used in the product URI.
2. There is a non-visible character (trailing space) in your product URI, or in the object name inside your bucket.
I already checked my files/folders/accesskeys for trailing spaces but just checked again and also checked the actual file names for spaces, which I hadn’t tried before because I was copy/pasting from the properties panel. I didn’t detect any spaces so I uploaded a different test in a new folder and set up a new URI and download button on the same page as the other. I copy/pasted names per the video instructions once again so there couldn’t have been keyed typos or case errors & I checked for spaces. Same results.
BTW: I also tried sending myself an encrypted link via the Admin Functions panel for all of these tests. No difference, although the earlier links have expired so for this link I set the expiration time very high.
Is there anything else I can try?
I am using WordPress 3.8.1 and I purchased eStore last week.
January 25, 2014 at 1:32 am #25828wzpModeratorYes, you can try MANUALLY TYPING the paths.
-
AuthorPosts
- You must be logged in to reply to this topic.