Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-2028

Can't use SASL with client-side Moxi

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • 1.6.0 beta4
    • 1.6.0 beta3
    • moxi
    • None
    • Operating System: All
      Platform: All

    Description

      This is beta 3:

      This works correctly: (sasl_client is just a simple python script that sets/gets an arbitrary number of keys)
      ./sasl_client.py sasl new_binary:test 10.1.3.88:11211 60

      However, if I run Moxi first like this:
      /opt/NorthScale/moxi/bin/moxi http://10.1.3.88:8080/pools/default/saslbucketsStreaming/

      Then this doesn't work:
      [perry@perry ~]$ ./sasl_client.py sasl new_binary:test localhost:11211 60
      Traceback (most recent call last):
      File "./sasl_client.py", line 35, in ?
      mc.sasl_auth_plain(user,password)
      File "/home/perry/mc_bin_client.py", line 162, in sasl_auth_plain
      return self.sasl_auth_start('PLAIN', '\0'.join([foruser, user, password]))
      File "/home/perry/mc_bin_client.py", line 158, in sasl_auth_start
      return self._doCmd(memcacheConstants.CMD_SASL_AUTH, mech, data)
      File "/home/perry/mc_bin_client.py", line 91, in _doCmd
      self._sendCmd(cmd, key, val, opaque, extraHeader, cas)
      File "/home/perry/mc_bin_client.py", line 56, in _sendCmd
      self.s.send(msg + extraHeader + key + val)
      socket.error: (32, 'Broken pipe')

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            steve.yen@northscale.com Steve Yen
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty