Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
kelvis2000
Level 7

Amazon S3 Permission problem

Just about all my videos on S3 are accessible and this is out of about 30 videos,
there is some type of a permissions problem... No Such Key?
This is with the two videos listed below.
When I view the permissions for these videos they are set to public
and other mp4's in this folder work.

http://guitar.objects.cdn.dream.io/640SD/NickleDime.mp4

http://ds1g3wm5vt4h6.cloudfront.net/640HD/MoveFred.mp4

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>640HD/MoveFred.mp4</Key>
<RequestId>B89ADDDF0790883B</RequestId>
<HostId>
ksvHxARXhFTSWyVLRQRFVgRqwxNMtJzkzZ1qL3YHI83KSke4NNys3MyYDl/ELrI9cVo+NbtGoPk=
</HostId>
</Error>


Thanks
Kevin
0 Kudos
6 Replies
NewManLiving
Level 7

Re: Amazon S3 Permission problem

This is usually an s3 version of file not found. Bring up your files in the AWS console and copy the path exactly as you see it
I'm not sure if s3 browser works on Mac but the generic version is free and the upgrade is about 40 dollars. For me it is the best and easiest to use of the s3 tools
My Channels: 2D API Framework Presentation: https://owner.roku.com/add/2M9LCVC
Updated: 11-11-2015 - Completed Keyboard interface
The Joel Channel ( Final Beta )
0 Kudos
Highlighted
kelvis2000
Level 7

Re: Amazon S3 Permission problem

Thanks again NewManLiving!
The link works but its not a cloud link,
I went into the S3 bucket and
selected the video then choose properties.
Kevin
Bucket: mastersdbg
Folder: 640SD
Name: NickelDime.mp4
Link:
https://s3.amazonaws.com/mastersdbg/640 ... elDime.mp4
Size: 171874230
Last Modified: Thu May 14 17:49:01 GMT-400 2015
Owner: abluesman
ETag: 4b0fe9f1b94737523d1f5714634b95d6
Expiry Date: None
Expiration Rule: N/A


Another question, Are these settings correctly set?

Storage Class:-Standard -Reduced Redundancy
Server Side Encryption: -None --AES-256

Thanks

Kevin
0 Kudos
destruk
Level 10

Re: Amazon S3 Permission problem

If the file url is correct, the issue would be ACL. If you're in cloudberry explorer, right-click the file and make sure the read/write ACL is allowed for the users you want to be able to access the file.
I believe the 'cloudfront' link has its own user type permissions you need to enable to retrieve it through cloudfront.
0 Kudos
kelvis2000
Level 7

Re: Amazon S3 Permission problem

Thanks,
I am on the actual Amazon S3 AWS web page.
I have software on my Mac called Forklift
http://www.binarynights.com/forklift/
and I have looked at the video/file thats not
accessable and the permissions are set correctly?

Kevin
0 Kudos
destruk
Level 10

Re: Amazon S3 Permission problem

I don't know why it posted this twice - see response below.
0 Kudos
destruk
Level 10

Re: Amazon S3 Permission problem

Taking a line from sherlock holmes - Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth.
Maybe check your cloudfront protection options to see if you need a signed url. Since the standard S3 link works, and the cloudfront link doesn't - it's your cloudfront that is the problem.
0 Kudos