barbequesauce / Watcher3

Fork of nosmokingbandit/Watcher3 as the original seems inactive. PRs welcome, support is community based.
Other
69 stars 19 forks source link

rTorrent 0.9.8 RPC break issues (Fault -501 and -506 for rTorrent 0.9.8) #195

Open spyhuntergenral opened 3 years ago

spyhuntergenral commented 3 years ago

Describe the bug Unable to send torrent to rTorrent HTTP maybe related to #127 ?

To Reproduce Configured rTorrent Http downloader as below: Note: testing the connections succeed

"rTorrentHTTP": { "addpaused": true, ###(true returns fault -506 and false returns -501) "address": "http://RuTorrentIP/RPC2", "enabled": true, "label": "Watcher", "pass": "", "user": "" },

Expected behavior Torrent file gets added to rTorrent

Desktop (please complete the following information):

Watcher3 Debug log:

Fault -506: "Method 'load' not defined" ERROR [2021-02-25 15:07:57,854] core.downloaders.rTorrentHTTP.add_torrent.92: Unable to send torrent to rTorrent HTTP Traceback (most recent call last): File "/opt/watcher3/core/downloaders/rTorrentHTTP.py", line 74, in add_torrent client.load(data['torrentfile']) File "/usr/lib/python3.7/xmlrpc/client.py", line 1112, in call return self.send(self.name, args) File "/usr/lib/python3.7/xmlrpc/client.py", line 1452, in request verbose=self.verbose File "/usr/lib/python3.7/xmlrpc/client.py", line 1154, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python3.7/xmlrpc/client.py", line 1170, in single_request return self.parse_response(resp) File "/usr/lib/python3.7/xmlrpc/client.py", line 1342, in parse_response return u.close() File "/usr/lib/python3.7/xmlrpc/client.py", line 656, in close raise Fault(**self._stack[0]) xmlrpc.client.Fault: <Fault -506: "Method 'load' not defined">

Fault -501: 'Could not find info-hash.' ERROR [2021-02-25 15:08:50,443] core.downloaders.rTorrentHTTP.add_torrent.92: Unable to send torrent to rTorrent HTTP Traceback (most recent call last): File "/opt/watcher3/core/downloaders/rTorrentHTTP.py", line 76, in add_torrent client.load.start(data['torrentfile']) File "/usr/lib/python3.7/xmlrpc/client.py", line 1112, in call return self.send(self.name, args) File "/usr/lib/python3.7/xmlrpc/client.py", line 1452, in request verbose=self.verbose File "/usr/lib/python3.7/xmlrpc/client.py", line 1154, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python3.7/xmlrpc/client.py", line 1170, in single_request return self.parse_response(resp) File "/usr/lib/python3.7/xmlrpc/client.py", line 1342, in parse_response return u.close() File "/usr/lib/python3.7/xmlrpc/client.py", line 656, in close raise Fault(**self._stack[0]) xmlrpc.client.Fault: <Fault -501: 'Could not find info-hash.'>

Note: Current rTorrent is working fine with other applications i.e Sonarr, Sickrage

barbequesauce commented 3 years ago

What version of rTorrent, 0.9.8+?

spyhuntergenral commented 3 years ago

What version of rTorrent, 0.9.8+?

Yip - rtorrent/libtorrent 0.9.8/0.13.8

barbequesauce commented 3 years ago

Does it work when you use the SCGI interface?

(definitely related to #124)