Comments (7)
Can you please give us more context. I don't understand how to resolve this
from what you have sent.
On Fri, Feb 7, 2014 at 4:46 PM, msempere [email protected] wrote:
RotatingCloudOutput can't connect to S3 bucket and I'm getting a 403
error. The error output sais that it can't access to
https://s3.amazonaws.com/BUCKET_NAMERotatingCloudOutput(SOME_DIR, BUCKET_NAME, ACCESS_KEY_ID, ACCESS_KEY);
Reply to this email directly or view it on GitHubhttps://github.com//issues/72
.
Mark Weiss
Head of Client Solutions
Datacratic
New York, NY, US
www.datacratic.com
http://www.linkedin.com/in/marksweiss
from soa.
Also, can you give me any idea why you alerted me about this? I've not taken any actions in the soa repo recently, other than trying to pull it down today and having that hang. If this is related to that action, you can close the ticket, as I was later able to pull the repo.
Thanks,
Mark
from soa.
I mean, when I make:
make_shared(BACKUPDIR, BUCKET, .......)
with BUCKET = "s3://my-test2", I'm getting:
--------------------------[Exception thrown]---------------------------
time: 2014-02-10-104536
type: ML::Exception
pid: 10707; tid: 10797
what: attempt to perform s3 request with double slash: /s3://my-test2/
If I use BUCKET = "my-test2", I get:
--------------------------[Exception thrown]---------------------------
time: 2014-02-10-110152
type: ML::Exception
pid: 11649; tid: 11747
what: wrong scheme (should start with s3://)
from soa.
You need to configure that with an actual valid S3 bucket that your process has permission to write to. That will also require modifying the config this code is using to have your credentials. You don't specify where this code is, but given my experience with the codebase in general you want to:
- read the code to see where config is being read from
- modify the S3_KEY and S3_ACCESS_KEY in that file with your credentials
from soa.
The only I've found related to that config file is this:
/** Parse the ~/.cloud_credentials file and add those buckets in.
The format of that file is as follows:
- One entry per line
- Tab separated
- Comments are '#' in the first position
- First entry is the name of the URI scheme (here, s3)
- Second entry is the "version" of the configuration (here, 1)
for forward compatibility - The rest of the entries depend upon the scheme; for s3 they are
tab-separated and include the following:
- Access key ID
- Access key
- Bandwidth from this machine to the server (MBPS)
- Protocol (http)
- S3 machine host name (s3.amazonaws.com)
If S3_ACCESS_KEY_ID and S3_ACCESS_KEY environment variables are specified,
they will be used first.
*/
But, Why do I need to create a credentials file if I'm using parameters?
make_shared (BACKUPDIR, BACKUP, KEYID, KEY)
from soa.
And now:
S3 REST error: [SignatureDoesNotMatch] message [The request signature we calculated does not match the signature you provided. Check your key and signing method.]
from soa.
These are errors connecting to S3, and not with this code per se. This code has been used in production to connect to S3. My suggestions:
- print debug to make sure all config values are where they should be
- use a simple, isolated, independent like s3cmd with the same credentials, from the same host and running as the same user, to see if that can connect
Also, note that there is community support for RTBKit, which is an open source project using soa, on Google groups, but for soa itself there isn't any additional support offered.
from soa.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from soa.