This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
In my effort to detach the torrent downloader from my home box stack, I need to connect to a remote instance of rtorrent from radarr...
I'm trying to test the setup with rtorrent on a remote server. I used swizzin' to install the rtorrent. I just subtituted 'localhost' to my server IP; but i get the error message above. I have followed the guide tried both with SSL and without.
Also I dont see the directory anywhere "/rutorrent/plugins/httprpc/action.php".
EDIT Log files: https://pastebin.com/h3GazA5V
Edit2: you can see my progress in this blog post here!
Edit3: okay i was able to open the listen port by adding to rtorrent.rc:
network.scgi.open_port = "127.0.0.1:5000"
but the log now says:
2022-11-25 04:07:30.8|Trace|RadarrErrorPipeline|Handling Exception
2022-11-25 04:07:30.8|Warn|RadarrErrorPipeline|Invalid request Validation failed:
-- Host: Unable to connect to rTorrent
2022-11-25 04:07:30.8|Trace|Http|Res: 1529 [POST] /api/v3/downloadclient/test: 400.BadRequest (100029 ms)
2022-11-25 04:07:30.8|Debug|Api|[POST] /api/v3/downloadclient/test: 400.BadRequest (100029 ms)
2022-11-25 04:07:31.4|Trace|Http|Req: 1539 [GET] /api/v3/log/file (from ::ffff:192.168.1.232 Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0)
2022-11-25 04:07:31.4|Trace|Http|Res: 1539 [GET] /api/v3/log/file: 200.OK (1 ms)
2022-11-25 04:07:31.4|Debug|Api|[GET] /api/v3/log/file: 200.OK (1 ms)
2022-11-25 04:07:36.1|Trace|Http|Req: 1540 [GET] /logfile/radarr.trace.txt (from ::ffff:192.168.1.232 Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0)
also i had to comment out the linux socket xrpc config and rutorrent cannot connect.
also i cannot find the rpc folder in the plugins directory for "/plugins/rpc/rpc.php"?
i tried testing connecting locally from within the VPS it works with the following settings:
Name: rTorrent
rTorrent host: 127.0.0.1
Port: 443
URL Path: /rutorrent/plugins/httprpc/action.php
Use SSL: ON
Username: <your username>
Password: <your password>
Add label to torrent: TV (or anything else you desire)
Optional - Downloaded files location: <custom directory>
so it's basically rtorrent.rc setup issue... need to switch from sockets to network ports like I said above, but i'm not familiar with the file. it's gonna be quite a read with the docs :)
Success! Just had to setup a nginx reverse proxy to the unix socket instead: https://github.com/rakshasa/rtorrent/wiki/RPC-Setup-XMLRPC
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/radarr/comm...