Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7106

Exception in connection,open when using sasl_max_ssf option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • RH Linux

    Description

      Here is the code instace:
      import qpid.messaging

      conn = qpid.messaging.Connection(host='select_your_name',
      port=5672,
      username=None,
      password=None,
      sasl_max_ssf=0,
      sasl_mechanisms=['GSSAPI'],
      reconnect=True,
      reconnect_interval=60,
      )
      conn.open()

      print "OPEN"

      conn.close()

      Here is the output it produces:
      python ct.py
      Traceback (most recent call last):
      File "ct.py", line 12, in <module>
      conn.open()
      File "<string>", line 6, in open
      File "/opt/enstore/Python/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 283, in open
      self.attach(timeout=timeout)
      File "<string>", line 6, in attach
      File "/opt/enstore/Python/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 301, in attach
      if not self._ewait(lambda: self._transport_connected and not self._unlinked(), timeout=timeout):
      File "/opt/enstore/Python/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 234, in _ewait
      self.check_error()
      File "/opt/enstore/Python/lib/python2.7/site-packages/qpid/messaging/endpoints.py", line 227, in check_error
      raise e
      qpid.messaging.exceptions.InternalError: Traceback (most recent call last):
      File "/opt/enstore/Python/lib/python2.7/site-packages/qpid/messaging/driver.py", line 526, in dispatch
      self.connect()
      File "/opt/enstore/Python/lib/python2.7/site-packages/qpid/messaging/driver.py", line 548, in connect
      self.engine = Engine(self.connection)
      File "/opt/enstore/Python/lib/python2.7/site-packages/qpid/messaging/driver.py", line 630, in _init_
      self._sasl.setAttr("maxssf", self.connection.sasl_max_ssf)
      File "/opt/enstore/Python/lib/python2.7/site-packages/qpid/sasl.py", line 39, in setAttr
      raise SASLError(self._cli.getError())
      SASLError: Error in setAttr (-1) Unknown string attribute name - maxssf

      I did not specify version because it produces the same result for 0.14 .32 and 0.34

      Attachments

        Activity

          People

            Unassigned Unassigned
            moibenko Alexander Moibenko
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: