Issue in SSL/TLS connection setup
Guru Prasad
bgurup.ndk at gmail.com
Wed Jul 18 07:50:54 CEST 2012
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/20120718/fb70caf6/attachment.htm>
More information about the Gnutls-help
mailing list