![]() Registered Member ![]()
|
Hello,
I have a small (?) problem with my install of ktorrent (2.1.4) tried connecting via http://localhost:8080, 127.0.0.1:8080, 127.0.0.2:8080 remotely via http://1.1.1.1:8080 The result is always the same. I can login but I get a white (blank screen) Upgraded kt to 2.2.1 and .... problem still the same. After the login the screen stays blank. Looks like I've missed something. (help) I do have a green "light" in the configuration. Connection is on a local LAN, no firewall, php -v PHP 5.2.0 with Suhosin-Patch 0.9.6.1 (cli) (built: Jun 16 2007 00:56:31) Copyright (c) 1997-2006 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies with Suhosin v0.9.10, (C) Copyright 2006, by Hardened-PHP Project ls -l /opt/kde3/share/apps/ktorrent/www/default -rw-r--r-- 1 root root 1406 2007-07-24 02:43 favicon.ico -rw-r--r-- 1 root root 367 2007-07-24 02:43 grad1.jpg -rw-r--r-- 1 root root 362 2007-07-24 02:43 grad2.jpg -rw-r--r-- 1 root root 181 2007-07-24 02:43 header_tile.png -rw-r--r-- 1 root root 26978 2007-07-24 02:43 icon.png -rw-r--r-- 1 root root 12132 2007-07-24 02:43 interface.php -rw-r--r-- 1 root root 97321 2007-07-24 02:43 ktorrentwebinterfacelogo.png -rw-r--r-- 1 root root 943 2007-07-24 02:43 login.html -rw-r--r-- 1 root root 1040 2007-07-24 02:43 remove.png -rw-r--r-- 1 root root 170 2007-07-24 02:43 shutdown.php -rw-r--r-- 1 root root 869 2007-07-24 02:43 start.png -rw-r--r-- 1 root root 712 2007-07-24 02:43 stop.png -rw-r--r-- 1 root root 145 2007-07-24 02:43 style.css -rw-r--r-- 1 root root 2560 2007-07-24 02:43 stylen.css -rw-r--r-- 1 root root 17609 2007-07-24 02:43 wz_tooltip.js KT 2.2.1 KDE 3.5.5 R 45.4 openSuse 10.2 Firefox 2.0.0.5 |
![]() Registered Member ![]()
|
I reach KTorrent remotely(in my home network) using address:
http://192.168.1.3:8080/ where 192.168.1.3 is my computer IP with KTorrent running. Regards, Jerzy Mandriva 2007.1 KDE-3.5.7 kernel-2.6.21.5 KTorrent-2.2.D.V ![]() |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
Hello George,
Thanks for your time helping me out. Hope I've done this the right way. (new to this) Ok, there are no firewall, none, not even a host firewall (iptables etc). I'll check the log tonight (didn't know there was one ![]() Thanks again. atze |
![]() Registered Member ![]()
|
George,
This is the output from the log. <snip> Tue Aug 7 23:16:12 2007: connection from 1.1.1.1 Tue Aug 7 23:16:13 2007: Redirecting to /login.html Tue Aug 7 23:16:15 2007: Webgui login succesfull ! <snip> and yes I have found the password quirk as well and don't use !@#$ etc anymore. Any idea ? atze |
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
You could try getting rid of all cookies, but I'm not sure if that will help. |
![]() Registered Member ![]()
|
George,
>You could try getting rid of all cookies, but I'm not sure if that will help. Yep, tried that, nope didn't work. tech, >Do you have the port for the webui set to the same port you use for your >torrents? I set mine up this way (as it worked ok in utorrent that way) and >had the same problem. Try changing the port and see if that helps. Not tried that yet but it does sound strange as I can connect through that port to and the log tell's me so. But i'll give it a try. By the way, regardless of OS (M$ vs *nix) or browser (IE, FF, KO), I get the same result. tnx atze |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
George,
here is the asci dump of an attempt to connect to the web interface of kt. First konqueror ... GET / HTTP/1.1 User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like Gecko) SUSE Pragma: no-cache Cache-control: no-cache Accept: text/html, image/jpeg, image/png, text/*, image/*, */* Accept-Encoding: x-gzip, x-deflate, gzip, deflate Accept-Charset: utf-8, utf-8;q=0.5, *;q=0.5 Accept-Language: en Host: 1.1.1.1:8081 Connection: Keep-Alive HTTP/1.1 200 OK Connection: keep-alive Content-Length: 943 Content-Type: text/html Date: Fri, 31 Aug 2007 05:00:03 UTC Server: KTorrent/2.2.1 Set-Cookie: KT_SESSID=666; expires=Thu, 30 Aug 2007 15:00:03 +0000 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>KTorrent WebInterface - Login</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body style="background-image:url(ktorrentwebinterfacelogo.png); background-repeat:no-repeat; background-position:120px 120px;"> <form id="loginForm" action="interface.php" method="post"> <table style="padding-left:100px; padding-top: 350px;"> <tr><td>Username:</td><td><input type="text" name="username" /></td></tr> <tr><td>Password:</td><td><input type="password" name="password" /></td></tr> <tr><td></td><td><input type="submit" value="Login" /></td></tr> </table> </form> <script type="text/javascript"> document.forms["loginForm"].elements["username"].focus(); </script> </body> </html> konqueror stops here for awhile and then nothing. Now its firefox's turn. GET / HTTP/1.1 Host: 1.1.1.1:8081 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070717 SUSE/2.0.0.5-4.1 Firefox/2.0.0.5 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: KT_SESSID=548055268 HTTP/1.1 200 OK Connection: keep-alive Content-Length: 943 Content-Type: text/html Date: Fri, 31 Aug 2007 05:09:18 UTC Server: KTorrent/2.2.1 Set-Cookie: KT_SESSID=666; expires=Thu, 30 Aug 2007 15:09:18 +0000 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <title>KTorrent WebInterface - Login</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body style="background-image:url(ktorrentwebinterfacelogo.png); background-repeat:no-repeat; background-position:120px 120px;"> <form id="loginForm" action="interface.php" method="post"> <table style="padding-left:100px; padding-top: 350px;"> <tr><td>Username:</td><td><input type="text" name="username" /></td></tr> <tr><td>Password:</td><td><input type="password" name="password" /></td></tr> <tr><td></td><td><input type="submit" value="Login" /></td></tr> </table> </form> <script type="text/javascript"> document.forms["loginForm"].elements["username"].focus(); </script> </body> </html> POST /interface.php HTTP/1.1 Host: 1.1.1.1:8081 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.5) Gecko/20070717 SUSE/2.0.0.5-4.1 Firefox/2.0.0.5 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://1.1.1.1:8081/ Content-Type: application/x-www-form-urlencoded Content-Length: 29 username=username&password=passwordHTTP/1.1 200 OK Connection: keep-alive Content-Length: 0 Content-Type: text/html Date: Fri, 31 Aug 2007 05:09:27 UTC Server: KTorrent/2.2.1 Set-Cookie: KT_SESSID=1915879329 blank screen .... Not sure what konqueror is doing after I pass username and password ???? atze |
![]() Moderator ![]()
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]