Torrent list not yet available, connection to rTorrent not established

simur612

Member
May 25, 2018
879
0
16
OS: FreeBSD 9.0
rTorrent 0.8.9 from ports
ruTorrent 3.3 from SVN
Lighttpd from ports
using scgi_port

In my efforts to fix this problem myself, i've encountered multiple threads (on this forum and elsewhere) speaking of the error in my topic title. However, the error message in my log is different from that of others:

Code:
[16.01.2012 13:12:06] WebUI started.
[16.01.2012 13:12:06] Bad response from server: (403 [error,getplugins]) <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>403 - Forbidden</title> </head> <body> <h1>403 - Forbidden</h1> </body> </html>
[16.01.2012 13:12:06] Bad response from server: (403 [error,getuisettings]) <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>403 - Forbidden</title> </head> <body> <h1>403 - Forbidden</h1> </body> </html>
There seems to be an issue with plugins, however, I have none installed. Surely that is an entirely different issue altogether? ruTorrent is located here: /usr/ports/www/rutorrent/ Different from what I'm used to on my Linux box. Perhaps ruTorrent does not handle relative paths and this is part of the problem?

What I tried myself:

- Delete rTorrent lock file and restart
- Confirm the usage of the same host and port by both rTorrent and Lighttpd

Everything on this FreeBSD runs as root (Virtualbox for the time being).

Can anyone give me a solution, or point me in the right direction?

Thanks in advance!
 

randac56

Member
May 25, 2018
915
0
16
You're getting a 403 error so likely permission on the folder. Check your webserver error.log
 

simur612

Member
May 25, 2018
879
0
16
Thank you for your reply.

my Lighttpd error.log states:
Code:
2012-01-17 22:35:17: (log.c.166) server started
Not much help there.. I have yet to figure out if there is some way to set up log levels.

my Lighttpd access.log states:
Code:
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/ HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/css/stable.css HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/stable.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/jquery.flot.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/graph.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/plugins.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/webui.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/rtorrent.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/css/style.css HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/jquery.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/lang/langs.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/common.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/objects.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:39 +0100] "GET /rutorrent/js/content.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/lang/en.js HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/php/getplugins.php HTTP/1.1" 403 345 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/ajax-loader.gif HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/t_bg.png HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/toolbar.png HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/quest.gif HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/go.gif HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/pnl_open.gif HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/tstatus.png HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/status_up.gif HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/status_down.gif HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/css/style.css" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:40 +0100] "GET /rutorrent/images/btn_donate.gif HTTP/1.1" 304 0 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
127.0.0.1 127.0.0.1 - [17/Jan/2012:22:42:41 +0100] "POST /rutorrent/php/getsettings.php HTTP/1.1" 403 345 "http://127.0.0.1/rutorrent/" "Mozilla/5.0 (X11; FreeBSD i386; rv:9.0.1) Gecko/20100101 Firefox/9.0.1"
I gave the files 777 permissions, which didn't give different results.

I'll be working on this issue some more. I've read about fast-cgi having to be enabled, so I guess i should try and set that up.. In the meantime, I'm still very open to suggestions!