Thriftpy / thriftpy

Thriftpy has been deprecated, please migrate to https://github.com/Thriftpy/thriftpy2
MIT License
1.15k stars 288 forks source link

TTransportException #329

Closed qp910 closed 6 years ago

qp910 commented 6 years ago

thriftpy.transport.TTransportException: TTransportException(type=1, message="Could not start SASL: b'Error in sasl_client_start (-4) SASL(-4): no mechanism available: Unable to find a callback: 2'") supplement (if thrift_sasl=0.3.0,it will AttributeError: 'TSocket' object has no attribute 'isOpen'.but, thrift_sasl=0.2.1,it will as above TTransportException )

qp910 commented 6 years ago

I solved it,uninstall sasl and install pure-sasl