Moxi to SASL bucket

Hi,

I’m having difficulty in connecting my moxi to a SASL bucket in my cluster.

This is what I’ve done so far, along with my configs.

I had a bucket called “myData” with no authentication on the default port.
I edited the bucket and added a password “abcd1234” and saved it.

I have two config files for my moxi

  1. moxi-myData.cfg

usr=myData,
pwd=abcd1234,
port_listen=11215,
default_bucket_name=myData,
downstream_max=1024,
downstream_conn_max=4,
downstream_conn_queue_timeout=200,
downstream_timeout=5000,
wait_queue_timeout=200,
connect_max_errors=5,
connect_retry_interval=30000,
connect_timeout=400,
auth_timeout=100,
cycle=200

  1. moxi-cluster-myData.cfg

url=http://devcbase01:8091/pools/default/bucketsStreaming/myData

The moxi is started using this command line

/opt/moxi/bin/moxi -d -P /var/run/moxi-server-myData.pid -Z /opt/moxi/etc/moxi-myData.cfg -z /opt/moxi/etc/moxi-cluster-myData.cfg

To test this I then connect to my moxi on port 11215 and issue a “stats” command.
I then get an error of “SERVER_ERROR unauthorized, null bucket”

I’m a bit stumped here and I think I’ve followed the documentation correctly. I’ve even restarted the entire cluster and the moxi.

My cluster is verion 2.1.1 with moxi 1.8.1.

Any help would be appreciated.

Many thanks,

Marvin

Hi,

Have you ever been able to get this working ?

Thanks!