#2709: Deluged: object has no attribute '_tlsConnection'
---------------------------+--------------------
Reporter: TheForumTroll | Owner:
Type: bug | Status: new
Priority: critical | Milestone:
Component: Core | Version: 1.3.11
Keywords: |
---------------------------+--------------------
Problem:
Deluge daemon stops being accessible from the client and outputs errors to
the console.
OS (server): Ubuntu 14.04 x86_64 (fully updated)
OS (client): Windows 7 (fully updated)
Deluge 1.3.11 (both server and client)
libtorrent: 0.16.17.0
Further description:
When trying to add torrents to deluge daemon (from deluge in Windows 7)
often there is no connection to the daemon. Looking at the server console
I have lots of errors in the console. Deluge daemon is still seeding but
is not accessible from a client and has to be restarted.
Console errors are as follows:
Attaching: [tmux____1]
Sending variable: ['tmux', 'setenv', '-t', '1', 'XDG_SESSION_COOKIE',
'036806ab9
af866d3ed70178e528cf037-1417644864.833880-1816504446']
why = selectable.doRead()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
1070, in doRead
protocol.makeConnection(transport)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
295, in makeConnection
tlsContext = self.factory._contextFactory.getContext()
File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line
136, in getContext
ctx.use_certificate_file(os.path.join(ssl_dir, "daemon.cert"))
OpenSSL.SSL.Error: [('system library', 'fopen', 'No such file or
directory'), ('BIO routines', 'FILE_CTRL', 'system lib'), ('SSL routines',
'SSL_CTX_use_certificate_file', 'system lib')]
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 88,
in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73,
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)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py",
line 614, in _doReadOrWrite
why = selectable.doRead()
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
215, in doRead
return self._dataReceived(data)
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
221, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
403, in dataReceived
self._tlsConnection.bio_write(bytes)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py",
line 114, in __getattr__
return getattr(self.transport, name)
exceptions.AttributeError: 'NoneType' object has no attribute
'_tlsConnection'
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 171,
in __init__
reactor.run()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line
1192, in run
self.mainLoop()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line
1204, in mainLoop
self.doIteration(t)
File "/usr/lib/python2.7/dist-
packages/twisted/internet/epollreactor.py", line 396, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event)
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 88,
in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73,
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 627, in _doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py",
line 263, in _disconnectSelectable
selectable.connectionLost(failure.Failure(why))
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line
299, in connectionLost
protocol.connectionLost(reason)
File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line
461, in connectionLost
self._tlsConnection.bio_shutdown()
File "/usr/lib/python2.7/dist-packages/twisted/protocols/policies.py",
line 114, in __getattr__
return getattr(self.transport, name)
exceptions.AttributeError: 'NoneType' object has no attribute
'_tlsConnection'
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2709>
Deluge <http://deluge-torrent.org/>
Deluge Project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.