tympanix / Electorrent

A remote control client for µTorrent, qBittorrent, rTorrent, Transmission, Synology & Deluge
GNU General Public License v3.0
1.02k stars 84 forks source link

Connection rTorrent with HTTPRPC? #83

Open Gosokan opened 6 years ago

Gosokan commented 6 years ago

Please add feature for rTorrent connection with httprpc instead of connect to scgi port.

tympanix commented 6 years ago

rTorrent doesn't have httprpc support - however ruTorrent (by Novik) has a plugin for this. I'm fairly sure we're referring to the same thing? If so, can you find any documentation on this plugin - because I'm out of luck.

Gosokan commented 6 years ago

Sorry for lack of details. Yes I'm reffering to this, httrpc plugin in ruTorrent. For example, I can connect transdroid (rtorrent frontend/gui for android) via httprpc plugins in ruTorrent instead using scgi port

tympanix commented 6 years ago

Looking at the transdroid github repository, it makes use of an XMLRPC library for Java. And as I remember it, ruTorrents HTTPRPC plugin is able to forward these requests to rTorrent. If it is a problem of being "too lazy" to forward the SCGI port, your may try to configure Electorrent to use the path to actions.php in ruTorrent instead. On the other hand, utilising the HTTPRPC plugin would help reduce bandwidth usage for better performance - I will keep the issue open for that reason.

PAEz commented 5 years ago

Im using a box that uses the httprpc plugin and was able to connect to it with this app no problems. IP addressee, ssl and port are the same as the webpage for rutorrent, its the path thats important. For me it was... /plugins/httprpc/action.php
....if that doesn't work for you, on rutorrents page look in the network tab of the inspector and look for a url ending in action.php, it should come up every time your stats refresh.