Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › WP eStore/S3 'The specified key does not exist'
- This topic has 5 replies, 3 voices, and was last updated 9 years, 9 months ago by DeepLiving.
-
AuthorPosts
-
January 27, 2015 at 6:44 pm #12130DeepLivingMember
I have about 100 files on S3 and download most of them ok via WPEstore, but with a few I cannot work out why I get this error:
<Message>The specified key does not exist.</Message>
<Key>products/tpp/TPPFoundation-02.zip</Key>
—
The products point to the SAME folder on S3 that contains 17 zip files. all with the exact same naming convention numerically sequenced -01, -02, -03 etc:
TPPFoundation-01.zip
TPPFoundation-02.zip
TPPFoundation-03.zip etc
I created 2 products, each with one digital download link, respectively:
as3tp://s3.xxxx.com/products/tpp/TPPFoundation-01.zip, and
as3tp://s3.xxxx.com/products/tpp/TPPFoundation-02.zip
The “01.zip” downloads ok, the “02.zip”gives the error. I’ve checked that they have identical permissions and meta-data in S3, have renamed the one that fail to something else to see if that works and then changed the digital url in WP eStore, but no avail.
Here’s the log file – showing 2 extracts, the first one (01.zip) downloaded oK, the 2nd one (02.zip) failed with the error above. (I use CNAME on S3, hence naming convention below).
[01/27/2015 6:34 PM] – Advisory : Log file reset.
[01/27/2015 6:35 PM] – Status : Link details retrieved using file key. Link ID: 988
[01/27/2015 6:35 PM] – Status : Global download limit counting is enabled. Count limit: 10 Access count: 1
[01/27/2015 6:35 PM] – Status : Checking global download expiry time.
[01/27/2015 6:35 PM] – Status : Global time expiry check success! This link is valid.
[01/27/2015 6:35 PM] – Status : Handing download request from IP Address: 105.184.112.48
[01/27/2015 6:35 PM] – Status : AS3TP URI request = [as3tp://s3.xxxx.com/products/tpp/TPPFoundation-02.zip]
[01/27/2015 6:35 PM] – Status : Dispatching AS3TP URL = [http://s3.xxxx.com/products/tpp/TPPFoundation-02.zip?AWSAccessKeyId=AKIAJJ727WITPMIU5CVA&Expires=1422387308&Signature=3im%2BMRXHwNjwq1]
Any help greatly appreciated, thanks
Bennie
January 28, 2015 at 12:48 am #68305adminKeymasterAs far as I can see, everything on the plugin side worked fine. Are those files have the correct permission set from your S3 account? Are they set to be private/protected?
January 28, 2015 at 1:16 am #68306wzpModerator<Message>The specified key does not exist.</Message>
<Key>products/tpp/TPPFoundation-02.zip</Key>
I noticed that your file names (keys) are case sensitive. While it’s possible to use case sensitive names across systems (your server and Amazon), things can get pretty funky if you lose track of the name cases. As a suggestion, make sure everything; both in your Product URL and on your Amazon Console are all using lower case.
January 28, 2015 at 6:05 am #68307DeepLivingMemberThank you both for responding, much appreciated.
There was something strange happening here:
1. I copied the files from the /foundation folder to a new folder called /test – the downloads worked.
2. Compared /foundation and /test folders – identical.
3. Deleted /foundation folder anyway, created a new one, copied files back from /test to (new) /foundation – downloads failed.
4. In the end I moved the files one folder closer to root (i.e. did away with the /foundation folder all-together, and now it works.
Strange, and true
Best wishes
Bennie
January 28, 2015 at 2:07 pm #68308wzpModerator1. I copied the files from the /foundation folder to a new folder called /test – the downloads worked.
Where in your previous posts, do you mention any folders other than “products” and “tpp” that are named “foundation” being used?
January 30, 2015 at 7:37 am #68309DeepLivingMemberOh my … know that sinking feeling of “I can’t believe I spent hours looking at this and I missed that?” feeling.
Well, I think you hit the nail on its head; it seems that I missed that the files were in the tpp/foundation folder but my links were pointing to the /tpp folder; and I had a copy of file01.zip in both – which is why 01 downloaded and 2 didn’t.
My my my … a humbling moment indeed.
Thx for your sharp eye; onwards and upwards!
Bennie
-
AuthorPosts
- You must be logged in to reply to this topic.