Closed mramato closed 6 years ago
I am looking into this. I currently get a segfault on the AWS cpp client in trying to reproduce. Is that what you are seeing or just a silent failure?
Looked into this some more and the right way to go is to configure the endpoint like so:
clientConfig.endpointOverride = "localhost:4568";
The aws-sdk documentation for this is pretty sparse. Please reopen the issue if this doesn't resolve it.
Awesome, works like a charm. I should have realized that (since you have to set the scheme separately). Thanks for taking the time to figure it out.
I've used fakes3 with the official Node aws-sdk without issue, but I'm struggling to get it to work with the official aws c++ sdk. Here is a complete example that works with real s3 (if I remove the
clientConfig
section and set the region tous-east-1
) but fails with a local fakes3.I'm running the server with
fakes3 --root /C/Data/FakeS3/ -p 4568
and can connect to it using the aws cli with overridden endpoint.I'm sure it's something I'm doing wrong, so any advice would be a big help. Thanks.