Code: Select all
deluge-console "connect localhost user passwd ; add 'https://domain/file.torrent'"
deluge-console Error
Code: Select all
17:32:15 [ERROR ][deluge.ui.client :169 ] RPCError Message Received!
--------------------------------------------------------------------------------
RPCRequest: core.add_torrent_url(https://domain/file.torrent, {})
--------------------------------------------------------------------------------
ResponseNeverReceived
[<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>]: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/rpcserver.py", line 347, in on_fail
failure.raiseException()
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 385, in raiseException
raise self.value.with_traceback(self.tb)
twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>]
--------------------------------------------------------------------------------
Torrent was not added: [Failure instance: Traceback (failure with no frames): <class 'deluge.error.WrappedException'>: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/rpcserver.py", line 347, in on_fail
failure.raiseException()
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 385, in raiseException
raise self.value.with_traceback(self.tb)
twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>]
]
Code: Select all
17:50:00 [INFO ][deluge.core.rpcserver :171 ] Deluge Client connection made from: 127.0.0.1:38902
17:50:00 [INFO ][deluge.core.core :532 ] Attempting to add url https://domain/file.torrent
17:50:00 [INFO ][twisted :154 ] Starting factory _HTTP11ClientFactory(<function HTTPConnectionPool._newConnection.<locals>.quiescentCallback at 0x7f4bdea2aea0>, <twisted.internet.endpoints._WrapperEndpoint object at 0x7f4be4024978>)
17:50:00 [WARNING ][deluge.httpdownloader :315 ] Error occurred downloading file from "https://domain/file.torrent": [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>]
17:50:00 [ERROR ][deluge.core.core :546 ] Failed to add torrent from url https://domain/file.torrent
17:50:00 [WARNING ][deluge.core.rpcserver :242 ] An exception occurred while sending RPC_ERROR to client. Wrapping it and resending. Error to send(causing exception goes next):
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/rpcserver.py", line 347, in on_fail
failure.raiseException()
File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 385, in raiseException
raise self.value.with_traceback(self.tb)
twisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>]
17:50:00 [INFO ][twisted :154 ] Stopping factory _HTTP11ClientFactory(<function HTTPConnectionPool._newConnection.<locals>.quiescentCallback at 0x7f4bdea2aea0>, <twisted.internet.endpoints._WrapperEndpoint object at 0x7f4be4024978>)
17:50:00 [INFO ][deluge.core.rpcserver :197 ] Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
Unhandled error in Deferred:
17:50:02 [CRITICAL][twisted :154 ] Unhandled error in Deferred:
17:50:02 [CRITICAL][deluge.log :93 ] twisted.internet.defer
[Failure instance: Traceback (failure with no frames): <class 'twisted.web._newclient.ResponseNeverReceived'>: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('SSL routines', 'ssl3_read_bytes', 'sslv3 alert handshake failure')]>]
]
I can verify SSL on the target server is working as expected. This produces no error:
Code: Select all
openssl s_client -connect domain:443 -servername domain < /dev/null
Code: Select all
issuer=C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
---
No client certificate CA names sent
Peer signing digest: SHA384
Peer signature type: ECDSA
Server Temp Key: X25519, 253 bits
---
SSL handshake has read 2785 bytes and written 392 bytes
Verification: OK
---
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 384 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 0 (ok)
Possibly of interest, there is a repeating warning on the daemon logs that starts after adding a torrent:
Code: Select all
17:55:06 [WARNING ][deluge.core.torrentmanager :1617] on_alert_performance: video.mkv: performance warning: max outstanding piece requests reached, outstanding_request_limit_reached
17:55:08 [WARNING ][deluge.core.torrentmanager :1617] on_alert_performance: video.mkv: performance warning: max outstanding piece requests reached, outstanding_request_limit_reached
Possible Solution/Related Posting
https://stackoverflow.com/questions/348 ... sion-1-0-4