LearnBoost/knox — Issue #47: Authentication Error with custom endpoint
Author: miku9000
Created: 2011-11-17 17:50:55+00:00
State: open

first of all thanks for all your great node-modules :)

unfortunately i'm having troubles with a custom endpoint set within the knox-client.
the response of aws says:

```xml
SignatureDoesNotMatchThe request signature we calculated does not match the signature you provided. Check your key and signing method.
```

```javascript

var client = knox.createClient({
key: *****
, secret: ****
, bucket: ****
, endpoint: 's3-eu-west-1.amazonaws.com'
});

client.get('/').on('response', function(res){
res.setEncoding('utf8');
res.on('data', function(chunk){
console.log(chunk);
});
}).end();
```

is there anything wrong with my usage of knox? the accessKey & token works with no custom endpoint set.