sbussetti / deluge-siphon

A Chrome extension for sending torrents to your Deluge server.
http://sbussetti.github.io/deluge-siphon/
81 stars 22 forks source link

Unable to add torrents #100

Open PluschDE opened 8 months ago

PluschDE commented 8 months ago

Since a recent change on my remote deluge installation (seedbox moved servers) I am unable to add torrent files from websites, while addding them via magnet link works just fine.

The issue seems to be with deluge-siphon authenticating the SSL certificate, which seems he only does when uploading a .torrent file remotely. Accessing the web-ui for the server via chrome or local thin client everything is working fine, and the new certificate is shown as valid. Also uploading torrents directly via WebUI or local client works just fine.

The full error in the logfile is :

controller_actions.js:156 _serverError Objecterror: code: 4message: "Failure: [Failure instance: Traceback (failure with no frames): <class 'deluge.error.WrappedException'>: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('system library', '', ''), ('system library', '', ''), ('system library', '', ''), ('system library', '', ''), ('SSL routines', '', 'certificate verify failed')]>]\nTraceback (most recent call last):\n File \"/usr/local/lib/python3.10/dist-packages/deluge/core/rpcserver.py\", line 355, in on_fail\n failure.raiseException()\n File \"/usr/local/lib/python3.10/dist-packages/twisted/python/failure.py\", line 504, in raiseException\n raise self.value.with_traceback(self.tb)\n File \"/usr/local/lib/python3.10/dist-packages/twisted/internet/defer.py\", line 1693, in _inlineCallbacks\n result = context.run(\n File \"/usr/local/lib/python3.10/dist-packages/twisted/python/failure.py\", line 518, in throwExceptionIntoGenerator\n return g.throw(self.type, self.value, self.tb)\n File \"/usr/local/lib/python3.10/dist-packages/deluge/core/core.py\", line 532, in add_torrent_url\n filename = await download_file(\ntwisted.web._newclient.ResponseNeverReceived: [<twisted.python.failure.Failure OpenSSL.SSL.Error: [('system library', '', ''), ('system library', '', ''), ('system library', '', ''), ('system library', '', ''), ('SSL routines', '', 'certificate verify failed')]>]\n\n]"[[Prototype]]: Objectid: "-17004.0"result: null[[Prototype]]: Object DelugeConnection._serverError @ controller_actions.js:156