Fwd: Issue in SSL/TLS connection setup

Guru Prasad bgurup.ndk at gmail.com
Tue Jul 24 07:47:28 CEST 2012


Please let me know whether this is an issue in python-gnutls version 1.1.9.

---------- Forwarded message ----------
From: Guru Prasad <bgurup.ndk at gmail.com>
Date: Thu, Jul 19, 2012 at 10:14 AM
Subject: Issue in SSL/TLS connection setup
To: bug-gnutls at gnu.org


I am facing SSL/TLS connection setup issue with python-twisted (12.0.0) and
python-gnutls(1.1.9). Version of Ubuntu (unstable), I am using is: 12.10
During the SSL/TLS connection setup, there is ClientHello request from the
client and for this request there is no response from the server where
Twisted and GnuTLS are running.
I see only TCP FIN and RST sent by the server end for the ClientHello
request.

When I checked the syslog, I see below messages.

 Traceback (most recent call last):
:   File "/usr/lib/python2.7/dist-
packages/twisted/python/log.py", line 84, in callWithLogger
:     return callWithContext({"system": lp}, func, *args, **kw)
:   File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 69,
in callWithContext
:     return context.call({ILogContext: newCtx}, func, *args, **kw)
:   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
118, in callWithContext
:     return self.currentContext().callWithContext(ctx, func, *args, **kw)
:   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
81, in callWithContext
:     return func(*args,**kw)
:   File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py",
line 599, in _doReadOrWrite
:     self._disconnectSelectable(selectable, why, inRead)
:   File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py",
line 266, in _disconnectSelectable
:     selectable.connectionLost(failure.Failure(why))
:   File
"/usr/local/lib/python2.7/dist-packages/gnutls/interfaces/twisted/__init__.py",
line 328, in connectionLost
:     tcp.Server.connectionLost(self, reason)
:   File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
277, in connectionLost
:     protocol.connectionLost(reason)
:   File "/usr/lib/python2.7/dist-packages/twisted/web2/channel/http.py",
line 853, in connectionLost
:     self.readConnectionLost()
:   File "/usr/lib/python2.7/dist-packages/twisted/web2/channel/http.py",
line 842, in readConnectionLost
:     self.transport.loseConnection()
:   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? Is this a bug in GnuTLS package?
I am not having any clue like what went wrong. Have I missed anything which
is required?
Please help me to come out of this issue.

--bgurup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120724/638d1f11/attachment.htm>


More information about the Gnutls-devel mailing list