Hi Mike,

You are trying to resolve a domain name 'test-bucket.10.x.x.x,' which is
invalid. This is the part that is incorrect. There are a couple options:

0) You should be able to access the bucket by using
http://ip/bucket-name, like:

http://10.x.x.x/test-bucket/my_key_path

1) For easier public access, you can then set up a resolvable domain
name in your DNS configuration for the bucket, i.e. add a dns entry
like:

test-bucket.<yourdomain>.com

pointing to the riak-cs proxy ip. As long as your proxy is set up
properly, you should then be able to access the object using:

http://test-bucket.<yourdomain>.com/my_key_path



-Ali


On Mon, 2014-10-13 at 14:11 -0400, Michael Grauer wrote:
> Hi,
> 
> 
> I'm very new to Riak-CS, and am investigating using it as a standin
> for S3.  I'd like to have a url that allows an anonymous
> (unauthenticated) user to download an object from a bucket.
> 
> 
> Riak 2.0.0-1
> Riak CS 1.5.0-1
> Stanchion 1.5.0-1 
> Ubuntu 14.04
> 
> 
> I have test-bucket set up, and can connect to it, and upload and
> download a file there all using an authenticated user that owns the
> bucket, via boto.
> 
> 
> My Riak CS is running as 10.x.x.x , the internal IP of my AWS
> instance, and proxied behind nginx.
> 
> 
> When I try to curl
> 
> 
> curl -v http://test-bucket.10.x.x.x/my_key_path
> 
> 
> I'm getting "could not resolve host: test-bucket.10.x.x.x"
> 
> 
> My configuration is incorrect, but I'm uncertain of how to fix it.
> 
> 
> Any help is appreciated!
> 
> 
> Thanks,
> Mike
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to