[Twisted-Python] Twisted 12.0.0 - Facing Issue in SSL/TLS connection setup
Itamar Turner-Trauring
itamar at itamarst.org
Tue Jul 17 06:28:12 MDT 2012
On 07/17/2012 06:42 AM, Guru Prasad wrote:
> : File
> "/usr/local/lib/python2.7/dist-packages/gnutls/interfaces/twisted/__init__.py",
> line 322, in loseConnection
> : tcp.Server.loseConnection(self, reason)
> : TypeError: loseConnection() takes exactly 1 argument (2 given)
>
> Anyone else has faced this issue, earlier?
This is a bug in the gnutls package you are using, which appears to have
relied on a private implementation detail of Twisted. So this is a bug
in gnutls package, not Twisted, and you should file a report with them.
In the interim until they fix it, you might want to try Twisted's
built-in SSL support, as documented here:
twistedmatrix.com/documents/current/core/howto/ssl.html
More information about the Twisted-Python
mailing list