S3ResponseError: 403 Forbidden,backend configuration and riak cs version.

Neo fre_bourne_neo at yahoo.com
Tue Nov 29 04:22:45 EST 2016

I'm new to riak and when i trying object storage with riak cs, i got some
 i setup riak kv ,stanchion and  riak cs in the same node,and configured
them as files here:
and i started all of them successfully.but i still met some problems:
as all these three are cloned from github and compiled, and versions are:
riak kv ——2.0.7
riak cs ——2.1.0
but after compiling ,i met cs_version = 10300 in riak-cs.conf (by default),
i was confused ,so i try 
riak at riak3:~/riak-cs-2.1.0/rel/riak-cs/bin$ ./riak-cs version
but got nothing, the same situation with riak kv and stanchion,got nothing
too,  i was confused ,can someone tell me does this version configuration
important? do i need to configured this? and how to do it ?

i successfully create an account for the admin user, but after i
successfully performanced several tests, and tried to create a nother
account with this :
curl -H 'Content-Type: application/json' \
  -XPOST \
  --data '{"email":"user1 at example.com", "name":"user1"}'
but failed and got this :
curl: (52) Empty reply from server
so why is this and can i and how can i create user accounts after
performance test ?

the last and the most important one. about riak cs's storage backend
my riak kv, stanchion and riak cs path are :
and with advance.conf like this:
{eleveldb, [
    {total_leveldb_mem_percent, 30}
{riak_kv, [
              {storage_backend, riak_cs_kv_multi_backend},
              {multi_backend_prefix_list, [{<<"0b:">>, be_blocks}]},
              {multi_backend_default, be_default},
              {multi_backend, [
                  {be_default, riak_kv_eleveldb_backend, [
                      {total_leveldb_mem_percent, 30},
                  {be_blocks, riak_kv_bitcask_backend, [
{ssl, [
       {certfile, "./etc/cert.pem"},
       {keyfile, "./etc/key.pem"},
       {cacertfile, "./etc/cacert.pem"}
      %% Other configs
my tests works well.
but when i try to change the data_root in the advance.conf to another
directory like this:
                      {data_root, "/mnt/sd8"}
                      {data_root, "/mnt/sd8"}
then i started to performance testing, and failed,below is the message:
File "test8-2.py", line 16, in <module>
    bucket = conn.create_bucket('test4')
  File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line
625, in create_bucket
    response.status, response.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden
<?xml version="1.0"
can anyone tell me how to fix this error? and how to specify my riak cs's
data_root to a special data directory?
and my scenario like this:
#/usr/bin/env python
import time
import os
import boto
import boto.s3.connection
access_key = 'admin.key'
secret_key = 'admin.secret'
conn = boto.connect_s3(
         aws_access_key_id = access_key,
         aws_secret_access_key = secret_key,
         host = '', port = 8080,
         calling_format = boto.s3.connection.OrdinaryCallingFormat(),
bucket = conn.create_bucket('test4')

these problems troubled me about two weeks, so i'm very look forward tha
someone can help me...plz...

Best Regards!

View this message in context: http://riak-users.197444.n3.nabble.com/S3ResponseError-403-Forbidden-backend-configuration-and-riak-cs-version-tp4034722.html
Sent from the Riak Users mailing list archive at Nabble.com.

More information about the riak-users mailing list