-
Notifications
You must be signed in to change notification settings - Fork 407
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
Can't use the RPC plugin with scgi_local #159
Comments
From novik65 on November 07, 2009 23:57:52
|
From [email protected] on November 08, 2009 00:35:33 Hi.
rtorrent-2.7, Thanks, |
From [email protected] on November 08, 2009 10:30:36 try putting something like this in rtorrent.rc |
From novik65 on November 09, 2009 00:22:17
Web-server user must has the read/write access to this socket. See comment 4 above. Status: Invalid |
From [email protected] on November 10, 2009 10:54:47 I tried with: $ ls -al /tmp/rpc.socket and still got the same 404 error. Any other idea? |
From [email protected] on November 10, 2009 19:14:41 which webserver? you have the socket set correctly in all locations? |
From novik65 on November 11, 2009 00:32:11
Check configuration. Doesn't post here incorrect data, please. |
From [email protected] on November 12, 2009 10:54:51
|
From [email protected] on November 12, 2009 11:03:05 do you have the port set in .rtorrent.rc scgi_port = 127.0.0.1:5000 |
From novik65 on November 13, 2009 00:32:26
Web-server user must has read\execute access to directory rpc and read access to it |
From [email protected] on November 22, 2009 02:34:09 Wait, it doesn't make any sense: I don't have anything related to SCGI nor RPC in my Would it be possible to have simple instructions on how to use the RPC plugin with a To summarize :
When I load the ruTorrent web interface, I get the following error in the browser: [22.11.2009 11:24:54] Bad link to rTorrent. Check if it is really running. Check 404 - Not FoundAnd the webserver (lighttpd) log file contains : ::ffff:xxx.xxx.xxx.xxx host.tld - [22/Nov/2009:11:24:58 +0100] "POST /RPC2 HTTP/1.1" So it seems to me that the RPC plugin does not understand it needs to connect to the Thanks for any insight. |
From novik65 on November 23, 2009 00:32:55
Don't understand. You really thinking - "srwxr-xr-x" is mean "every user to read and
For wich reason rtorrent.rc and config.php contains different path to rpc socket? |
From [email protected] on November 23, 2009 10:31:48 Nevermind, I screwed it up. My configuration was not coherent... My bad. Thanks a lot for your time. |
From lucasreddinger on July 14, 2012 04:31:10 What was wrong? I'm trying to set this up myself. Was it this?
|
From novik65 on July 14, 2012 04:39:54 This place is not a forum. Use forum for your questions. |
From [email protected] on November 07, 2009 20:00:12
I setup rtorrent.rc with scgi_local:
$ grep scgi /etc/rtorrent.rc
scgi_local = /tmp/rpc.socket
I use the RPC plugin, and configured rutorrent to use the RPC socket:
$ grep
scgi /var/www/rtorrent/config.php
$scgi_port = 0;
$scgi_host = "unix:///tmp/rpc.socket";
When I load the rutorrent webpage, I get the following error:
[07.11.2009 19:44:30] WebUI started.
[07.11.2009 19:44:31] Bad link to rTorrent. Check if it is really running.
Check $scgi_port and $scgi_host settings in config.php and scgi_port in
rTorrent configuration file.
[07.11.2009 19:44:31] Bad response: (404) <title>404 - Not Found</title>
404 - Not Found
From the logs of the web server, it appears that rutorrent is trying to
access /RPC2:
xxx.xxx.xxx.xxx hostname username [07/Nov/2009:19:44:32
+0100] "POST /RPC2 HTTP/1.1" 404
345 "http://hostname/rtorrent/ "Mozilla/4.0"
Is this a bug or a configuration problem?
Thanks.
Original issue: http://code.google.com/p/rutorrent/issues/detail?id=160
The text was updated successfully, but these errors were encountered: