These are chat archives for marvell-iot/aws_starter_sdk

23rd
Aug 2016
Prashant K
@Prashant-Kmr
Aug 23 2016 05:06
Thanks @anujdeshpande actually the problem was with some bad sensor which was not functional. Issue solved after removing the sensor.
Prashant K
@Prashant-Kmr
Aug 23 2016 08:30

Hello @anujdeshpande I refered your documentation steps as in https://www.hackster.io/anujdeshpande/state-of-the-city-b81d85, it is really great work to track sensor events in map for some environment monitoring demo app. However it is not working and I'm getting authentication error from s3 bucket as "<Error>

<Code>AccessDenied</Code>

<Message>Access Denied</Message>

<RequestId>E015203CD0F383FF</RequestId>

<HostId>
13VmnOE73O2sUL56cowXo6M6eLV30l7+cJvNk6/iQVWEC7kuQzVvNLMHmMFgNYkTSLV/Dl3Gq+M=
</HostId>
</Error>", can you please elaborate a little bit on s3 side...

Anuj Deshpande
@anujdeshpande
Aug 23 2016 08:38
@Prashant-Kmr The AWS S3 bucket that you have created needs to be public, anyone can read, only you can upload. You need to do this using a bucket policy. Take a look at this SO question : http://stackoverflow.com/questions/19176926/how-to-make-all-objects-in-aws-s3-bucket-public-by-default
in general if you search for S3 policies you'll find a lot of information
Also make sure the CORS info is such that it allows all domains to access the resource.
Prashant K
@Prashant-Kmr
Aug 23 2016 08:39
@anujdeshpande Thank you very much. I'll follow it...
Prashant K
@Prashant-Kmr
Aug 23 2016 08:51
@anujdeshpande great it worked for me
Anuj Deshpande
@anujdeshpande
Aug 23 2016 08:52
Awesome !