Skip to content
This repository was archived by the owner on Aug 12, 2023. It is now read-only.
This repository was archived by the owner on Aug 12, 2023. It is now read-only.

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

@spyhunter493

Description

@spyhunter493

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):

  • OS: both watcher3 and rtorrent are running in dockers

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingthird-party issueIssues interacting with a third-party component or service

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions