The Wayback Machine - https://web.archive.org/web/20210730234118/https://github.com/barbequesauce/Watcher3/issues/151
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add local Jackett torrents to remote Deluge (possibly other clients) #151

Open
AtomiclyCursed opened this issue Apr 27, 2020 · 1 comment

Comments

@AtomiclyCursed
Copy link

@AtomiclyCursed AtomiclyCursed commented Apr 27, 2020

Describe the bug
I have a Local/internal Jackett/Watcher3 setup with Remote Deluge but Watcher3 tries to add the torrent via URL which Deluge naturally doesn't have access too and produces the following error.
File "", line 2, in raiseException
failure.raiseException()
File "/usr/local/lib/python2.7/dist-packages/deluge-1.3.15-py2.7.egg/deluge/core/rpcserver.py", line 317, in on_fail
lib.deluge_client.client.NoRouteError: Network is unreachable
raise exception(exception_msg)
File "/opt/watcher3/lib/deluge_client/client.py", line 226, in _receive_response
return self._receive_response(self.deluge_version, self.deluge_protocol_version)
File "/opt/watcher3/lib/deluge_client/client.py", line 247, in call
downloadid = (client.call('core.add_torrent_url', torrent['torrentfile'], options) or b'').decode('utf-8')
File "/opt/watcher3/core/downloaders/DelugeRPC.py", line 106, in add_torrent
Traceback (most recent call last):
ERROR [2020-04-27 00:20:39,066] core.downloaders.DelugeRPC.add_torrent.108: Unable to send torrent.

To Reproduce
Setup a local Jackett/Watcher3 (i use docker containers)
Add a remote Deluge Daemon or WebUI that doesn't have access to Jackett
Try send a torrent to deluge

Expected behavior
I would expect the torrent gets added correctly to Deluge and provides no error.

Desktop (please complete the following information):

  • linux
  • chrome 88
  • Watcher3 Latest (docker)
  • Jackett latest (docker)
  • Deluge 1.3.5

Additional context
This is a 50/50 bug/feature as it's broken but adding a feature would fix it.
possible option is change the usage of deluge.add_torrent_url to add_torrent_file downloading the torrent locally before doing this by default.
Or provide an option (tick-box, [ ] Send Torrent Binary) for an alternative path that does the above.
This is a problem for Both the Daemon and WebUI, solution is only for daemon but i think there would be a similar option for WebUI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment