meteor-slingshot

S3 bucket with credentials error

半世苍凉 提交于 2020-01-06 08:06:12
问题 I'm having trouble using the meteor slingshot component with the S3 with temporary AWS Credentials component. I keep getting the error Exception while invoking method 'slingshot/uploadRequest' InvalidClientTokenId: The security token included in the request is invalid. Absolutely no idea what I'm doing wrong. If I use slingshot normally without credentials it works fine. import { Meteor } from 'meteor/meteor'; import moment from 'moment'; const cryptoRandomString = require('crypto-random

Meteor Slingshot Cordova/Android “error : failed to upload file to cloud storage [-0]”

我们两清 提交于 2019-12-13 06:34:21
问题 I have a working meteor/cordova app that uses slingshot to upload to AWS/S3. I am able to upload and view photos in-app from the browser and from iOS. However, on Android I am unable to load photos from the AWS link provided by slingshot and stored in my database, and when I try to upload a photo I get an error that reads: "error : failed to upload file to cloud storage [-0]" Is there anything android-specific that I have missed/that I should do to configure slingshot/my app in general for

Allow Public Read access on a GCS bucket?

泄露秘密 提交于 2019-11-28 05:17:16
I am trying to allow anonymous (or just from my applications domain) read access for files in my bucket. When trying to read the files I get ``` <Error> <Code>AccessDenied</Code> <Message>Access denied.</Message> <Details> Anonymous users does not have storage.objects.get access to object. </Details> </Error> ``` I also tried to add a domain with the object default permissions dialog in the google cloud console. that gives me the error "One of your permissions is invalid. Make sure that you enter an authorized id or email for the groups and users and a domain for the domains" I have also

Allow Public Read access on a GCS bucket?

﹥>﹥吖頭↗ 提交于 2019-11-27 00:34:59
问题 I am trying to allow anonymous (or just from my applications domain) read access for files in my bucket. When trying to read the files I get ``` <Error> <Code>AccessDenied</Code> <Message>Access denied.</Message> <Details> Anonymous users does not have storage.objects.get access to object. </Details> </Error> ``` I also tried to add a domain with the object default permissions dialog in the google cloud console. that gives me the error "One of your permissions is invalid. Make sure that you