tympanix / Electorrent

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

Impossible to connect to rTorrent on a QuickBox installation #90

Open JuezFenix opened 6 years ago

JuezFenix commented 6 years ago

Client:

Client Version: 0.9.4 rtorrent +ruTorrent 3.7

Operating System: Linux Server, Windows Client

Application Version: 2.1.11

Description: I tried several time and several forms, but it's completely imposible to connect to rtorrent that install QuickBox.

When supose that all config are ok, they ask about cert (good signal), but send credential error. User and pass are correct.

tympanix commented 6 years ago

Can you be more specific on the error your receive? Also are you sure that QuickBox exposes the XMLRPC endpoint from rTorrent (as explained here)?

JuezFenix commented 6 years ago

Yes, QuickBox exposes XMLRPC usin a custom endpoint that I use.

The only error that I saw are credential error. Default config in QuickBox, configures port 80 and ssl 443 for ruTorrent and scgi mountpoint, so, using 443 port, custom endpoint, user and password, suposes that will connect.

tympanix commented 6 years ago

Ok. I will see if I can troubleshoot this. Meanwhile you can inspect the console (Ctrl+Shift+I) or try to login manually with a tool like Postman for debugging. If you have any further information please post it here.

ghost commented 6 years ago

I cannot open the Devtools on Mac with CMD+OPT+I in this app. I can in others.

Tiherisson commented 6 years ago

Same problem here. Quickbox configures Apache with "Auth_digest" module. Electorrent seems to want "Auth_basic". Seel log -> Apache/error.log : "client used wrong authentication scheme `Basic': /rutorrent/plugins/action.php" Same bug as #97

D3STY commented 6 years ago

Still not working.

welcome.js:22 Error: connect ECONNREFUSED IPv4:44592 at Object._errnoException (util.js:1024) at _exceptionWithHostPort (util.js:1046) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182)

tympanix commented 6 years ago

I will have to replicate a complete Quickbox setup to test this (I couldn't test this easily in docker)

SSoft7 commented 4 years ago

Hello @tympanix,

I use a custom XML-RPC endpoint too. So, I think this is related. I have the following errors on the console.

welcome.js:22 Error: Unknown XML-RPC tag 'TITLE'
    at Deserializer.onError (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\@electorrent\xmlrpc\lib\deserializer.js:109)
    at Deserializer.onClosetag (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\@electorrent\xmlrpc\lib\deserializer.js:202)
    at SAXStream.emit (events.js:182)
    at SAXParser.me._parser.(anonymous function) [as onclosetag] (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:258:17)
    at emit (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:624)
    at emitNode (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:629)
    at closeTag (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:889)
    at SAXParser.write (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:1436)
    at SAXStream.write (C:\Users\PCUser\AppData\Local\electorrent\app-2.6.1\resources\app.asar\node_modules\sax\lib\sax.js:239)
    at IncomingMessage.ondata (_stream_readable.js:666)
(anonymous) @ welcome.js:22
processQueue @ angular.js:16696
(anonymous) @ angular.js:16712
$eval @ angular.js:17994
$digest @ angular.js:17808
(anonymous) @ angular.js:18033
completeOutstandingRequest @ angular.js:6045
(anonymous) @ angular.js:6324
setTimeout (async)
Browser.self.defer @ angular.js:6322
$evalAsync @ angular.js:18031
(anonymous) @ angular.js:16603
scheduleProcessQueue @ angular.js:16712
$$reject @ angular.js:16772
reject @ angular.js:16766
(anonymous) @ angular.js:16681
_callbacks.(anonymous function) @ remote.js:78
_eventListener @ remote.js:48

If you can provide me debug code (for usage on the console), I can keep posting the results here.

Thanks.