You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alexander Moibenko (JIRA)" <ji...@apache.org> on 2016/02/25 20:49:18 UTC

[jira] [Created] (QPID-7106) Exception in connection,open when using sasl_max_ssf option

Alexander Moibenko created QPID-7106:
----------------------------------------

             Summary: Exception in connection,open when using sasl_max_ssf option
                 Key: QPID-7106
                 URL: https://issues.apache.org/jira/browse/QPID-7106
             Project: Qpid
          Issue Type: Bug
          Components: Python Client, Python Client (Wrapped)
         Environment: RH Linux
            Reporter: Alexander Moibenko


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org