Page 1 of 2

webgui don't start

Posted: June 11th, 2008, 2:51 pm
by testing123
Version: SABnzbd.exe-0.4.0RC2 (rev=1180)
OS: Windows XP SP3
Install-type: Windows Installer
Skin (if applicable): Default
Firewall Software: XP SP2 Firewall
Are you using IPV6?: no
Is the issue reproducible? : no ?

I really want to use SABnzbd plus but only the version below 0.4 (0.3.1) are working.
What I did:
- uninstall the old version
- install the new version
- start
a IE window opens and is trying to load the webgui.... but it can't find the page.
So I tryed:
http://127.0.0.1:8080/sabnzbd
and http://localhost:8080/sabnzbd

but nothing happend.

Then I started the console and everything looks oke.
- with the console open I can see something happend when I do http://127.0.0.1:8080/sabnzbd in IE

Then I try several other ports , but nothing work. (and the old version was working at 8080)
(I checked the port with the command netstat)

What to do next ? , back to the old version :(

This is the log:
2008-06-11 21:41:21,703::INFO::--------------------------------
2008-06-11 21:41:21,703::INFO::SABnzbd.exe-0.4.0RC2 (rev=1180)
2008-06-11 21:41:21,703::INFO::Platform=Windows-XP-5.1.2600-SP3 Class=nt
2008-06-11 21:41:21,703::INFO::Python-version = 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)]
2008-06-11 21:41:21,703::INFO::Test release, setting maximum logging levels
2008-06-11 21:41:21,703::DEBUG::auto_browser -> 1
2008-06-11 21:41:21,703::DEBUG::permissions ->
2008-06-11 21:41:21,703::DEBUG::username ->
2008-06-11 21:41:21,703::DEBUG::password -> ******
2008-06-11 21:41:21,703::DEBUG::check_new_rel -> 0
2008-06-11 21:41:21,703::DEBUG::replace_spaces -> 0
2008-06-11 21:41:21,703::DEBUG::fail_on_crc -> 0
2008-06-11 21:41:21,703::DEBUG::enable_filejoin -> 0
2008-06-11 21:41:21,703::DEBUG::enable_unzip -> 1
2008-06-11 21:41:21,703::DEBUG::enable_unrar -> 1
2008-06-11 21:41:21,703::DEBUG::enable_save -> 1
2008-06-11 21:41:21,703::DEBUG::enable_par_cleanup -> 1
2008-06-11 21:41:21,703::DEBUG::config_lock -> 0
2008-06-11 21:41:21,703::DEBUG::safe_postproc -> 0
2008-06-11 21:41:21,703::DEBUG::pause_on_post_processing -> 0
2008-06-11 21:41:21,703::DEBUG::cleanup_list ->
2008-06-11 21:41:21,703::DEBUG::ignore_samples -> 0
2008-06-11 21:41:21,703::DEBUG::permissions ->
2008-06-11 21:41:21,703::DEBUG::send_group -> 0
2008-06-11 21:41:21,703::DEBUG::bookmarks -> 0
2008-06-11 21:41:21,703::DEBUG::unbookmark -> 0
2008-06-11 21:41:21,703::DEBUG::bookmark_rate -> 60
2008-06-11 21:41:21,703::DEBUG::download_dir: C:\Documents and Settings\secret\My Documents\downloads\incomplete
2008-06-11 21:41:21,703::DEBUG::download_free -> 0
2008-06-11 21:41:21,703::DEBUG::DOWNLOAD_FREE 0
2008-06-11 21:41:21,703::DEBUG::complete_dir: C:\Documents and Settings\secret\My Documents\downloads\complete
2008-06-11 21:41:21,703::DEBUG::cache_dir: C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache
2008-06-11 21:41:21,703::DEBUG::dirscan_speed -> 5
2008-06-11 21:41:21,717::DEBUG::refresh_rate -> 0
2008-06-11 21:41:21,717::DEBUG::rss_rate -> 60
2008-06-11 21:41:21,717::DEBUG::bandwith_limit -> 0
2008-06-11 21:41:21,717::DEBUG::cache_limit -> 0
2008-06-11 21:41:21,717::DEBUG::Actual cache limit = 0
2008-06-11 21:41:21,717::DEBUG::email_server ->
2008-06-11 21:41:21,717::DEBUG::email_to ->
2008-06-11 21:41:21,717::DEBUG::email_from ->
2008-06-11 21:41:21,717::DEBUG::email_account ->
2008-06-11 21:41:21,717::DEBUG::email_pwd -> ******
2008-06-11 21:41:21,717::DEBUG::email_endjob -> 0
2008-06-11 21:41:21,717::DEBUG::email_full -> 0
2008-06-11 21:41:21,717::DEBUG::dirscan_opts -> 3
2008-06-11 21:41:21,717::DEBUG::dirscan_script ->
2008-06-11 21:41:21,717::DEBUG::top_only -> 1
2008-06-11 21:41:21,717::DEBUG::auto_sort -> 0
2008-06-11 21:41:21,717::DEBUG::enable_tv_sorting -> 0
2008-06-11 21:41:21,717::DEBUG::tv_sort_string ->
2008-06-11 21:41:21,717::DEBUG::web_color ->
2008-06-11 21:41:21,717::DEBUG::web_color2 ->
2008-06-11 21:41:21,717::INFO::[sabnzbd] Loading data for rss_data.sab from C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\rss_data.sab
2008-06-11 21:41:21,717::INFO::[sabnzbd] C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\rss_data.sab missing
2008-06-11 21:41:21,717::INFO::[sabnzbd] Loading data for bytes7.sab from C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\bytes7.sab
2008-06-11 21:41:21,717::INFO::[sabnzbd] C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\bytes7.sab missing
2008-06-11 21:41:21,717::INFO::[sabnzbd] Loading data for queue7.sab from C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\queue7.sab
2008-06-11 21:41:21,717::INFO::[sabnzbd] C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\queue7.sab missing
2008-06-11 21:41:21,765::INFO::_yenc module... found!
2008-06-11 21:41:21,765::INFO::celementtree module... found!
2008-06-11 21:41:21,765::INFO::par2 binary... found (C:\Program Files\SABnzbd\win\par2\par2.exe)
2008-06-11 21:41:21,765::INFO::rar binary... found (C:\Program Files\SABnzbd\win\unrar\UnRAR.exe)
2008-06-11 21:41:21,765::INFO::unzip binary... found (C:\Program Files\SABnzbd\win\unzip\unzip.exe)
2008-06-11 21:41:21,765::INFO::pyOpenSSL... found (True)
2008-06-11 21:41:21,765::DEBUG::host -> 127.0.0.1
2008-06-11 21:41:21,765::DEBUG::port -> 8080
2008-06-11 21:41:21,765::DEBUG::log_dir: C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\logs
2008-06-11 21:41:21,765::INFO::Web dir is C:\Program Files\SABnzbd\interfaces\Default
2008-06-11 21:41:21,796::DEBUG::username ->
2008-06-11 21:41:21,796::DEBUG::password -> ******
2008-06-11 21:41:21,812::INFO::Starting SABnzbd.exe-0.4.0RC2
2008-06-11 21:41:21,812::DEBUG::[sabnzbd] Starting postprocessor
2008-06-11 21:41:21,812::DEBUG::[sabnzbd] Starting assembler
2008-06-11 21:41:21,812::INFO::[nzbqueue] Saving queue
2008-06-11 21:41:21,812::DEBUG::[sabnzbd] Starting downloader
2008-06-11 21:41:21,812::INFO::[sabnzbd] Saving data for queue7.sab in C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\queue7.sab
2008-06-11 21:41:21,812::DEBUG::[sabnzbd] Starting urlgrabber
2008-06-11 21:41:21,812::INFO::[sabnzbd.misc] URLGrabber starting up
2008-06-11 21:41:21,812::INFO::Starting web-interface on 127.0.0.1:8080
2008-06-11 21:41:21,828::INFO::[sabnzbd] Saving data for bytes7.sab in C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\bytes7.sab
2008-06-11 21:41:21,828::INFO::[sabnzbd] Saving data for rss_data.sab in C:\Documents and Settings\secret\Local Settings\Application Data\sabnzbd\cache\rss_data.sab
2008-06-11 21:41:22,967::INFO::Lauching browser with http://127.0.0.1:8080/sabnzbd


and this is the ini:
__version__ = 18
[misc]
log_dir = logs
auto_browser = 1
permissions = ""
check_new_rel = 0
replace_spaces = 0
fail_on_crc = 0
enable_filejoin = 0
enable_unzip = 1
enable_unrar = 1
enable_save = 1
enable_par_cleanup = 1
config_lock = 0
safe_postproc = 0
pause_on_post_processing = 0
cleanup_list = ""
ignore_samples = 0
send_group = 0
download_dir = downloads/incomplete
download_free = 0
complete_dir = downloads/complete
script_dir = ""
nzb_backup_dir = ""
cache_dir = cache
dirscan_dir = ""
dirscan_speed = 5
refresh_rate = 0
rss_rate = 60
bandwith_limit = 0
cache_limit = 0
email_server = ""
email_to = ""
email_from = ""
email_account = ""
email_pwd = ""
email_endjob = 0
email_full = 0
schedlines = ,
dirscan_opts = 3
dirscan_script = ""
top_only = 1
auto_sort = 0
enable_tv_sorting = 0
tv_sort_string = ""
web_color = ""
web_color2 = ""
host = 127.0.0.1
port = 8080
web_dir = Default
web_dir2 = ""
username = ""
password = ""
[logging]
enable_cherrypy_logging = 1
log_level = 1
max_log_size = 5M
log_backups = 5
[newzbin]
username = ""
password = ""
bookmarks = 0
unbookmark = 0
bookmark_rate = 60
[servers]
[rss]
[categories]
[[unknown]]
newzbin = Unknown
dir = Unknown
[[anime]]
newzbin = Anime
dir = Anime
[[apps]]
newzbin = Apps
dir = Apps
[[books]]
newzbin = Books
dir = Books
[[consoles]]
newzbin = Consoles
dir = Consoles
[[emulation]]
newzbin = Emulation
dir = Emulation
[[games]]
newzbin = Games
dir = Games
[[misc]]
newzbin = Misc
dir = Misc
[[movies]]
newzbin = Movies
dir = Movies
[[music]]
newzbin = Music
dir = Music
[[pda]]
newzbin = PDA
dir = PDA
[[resources]]
newzbin = Resources
dir = Resources
[[tv]]
newzbin = TV
dir = TV

Re: webgui don't start

Posted: June 11th, 2008, 3:22 pm
by shypike
Try to start it from a command prompt.
Go to the folder where SABnzbd is installed.

SABnzbd.exe -s 0.0.0.0:8080

Then see what happens. The firewall should warn you, allow SABnzbd.
Try these addresses in the browser.

http://localhost:8080/sabnzbd
http://MY_IP:8080/sabnzbd

Replace MY_IP with the numerical IP address if your PC (usually something like 192.168.1.2).

Note that we have not tested with XP-SP3 yet.

Re: webgui don't start

Posted: June 11th, 2008, 4:42 pm
by inpheaux
shypike wrote:Note that we have not tested with XP-SP3 yet.
I've been running XP-SP3 for nearly the entire 0.4.0 beta process (and definitely the full RC process) and have experienced no problems.

Re: webgui don't start

Posted: June 11th, 2008, 4:50 pm
by testing123
I did SABnzbd.exe -s 0.0.0.0:8080
- There was a windows xp firewall popup (I did accept the connections ofcourse)
Then I did try:
http://localhost:8080/sabnzbd (don't work)
http://192.168.1.10:8080/sabnzbd (don't work)

When I do that , the browser is trying to connect and don't time-out for a while.
In firefox the same.

I forget to say that I had this problem with XP SP2 and SP3.

What is the problem ?

Greetings,


---
http://[::]:8080/sabnzbd/ ? I did copy-past that url but then I get "Internet Explorer cannot display the webpage"

Re: webgui don't start

Posted: June 11th, 2008, 4:54 pm
by testing123
mmm I know where the problem is , but don't know how to solve it yet.

I did the command: tracert localhost

Tracing route to none [127.0.0.1]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  localhost [127.0.0.1]


that is oke but when I do tracert 127.0.0.1:8080

Tracing route to 127.0.0.1:8080.www.myinternetconnectionprovider.ext [x.x.x.x]
over a maximum of 30 hops:

  1    <1 ms    <1 ms    <1 ms  www.myinternetconnectionprovider.ext [192.168.1.1]
  2    7 ms    7 ms    7 ms  x.x.x.x
  3    8 ms    7 ms    8 ms  x.x.x.x
  4    8 ms    7 ms    7 ms  etc etc...

So thats not okay I think

Re: webgui don't start

Posted: June 11th, 2008, 5:32 pm
by switch
Sounds like it could be a proxy issue, if you have any proxies set up in your web browsers, make sure they allow access to localhost.

IE7: Tools>Internet Options>LAN Settings>Check "Bypass proxy server for local addresses"
FF3: Tools>Options>Advanced>Network>Settings>Make sure localhost is added to "No proxy for:"

Edit: Actually, this should not affect the results of a tracert. Possible incorrect DNS settings on your pc or invalid HOSTS file?

Re: webgui don't start

Posted: June 12th, 2008, 2:01 pm
by testing123
day 2.

I fixed my router (i think) and uninstall / install sabnzbd again.

But still not working.

I really want to know what you get using the command:
tracert localhost:8080
and tracert localhost

When I do tracert localhost:8080 I get now this message:
"Unable to resolve target system name localhost:8080"

In the cherrypy log I see resolve_dns_... False

I don't know what to do...
ping localhost = 127.0.0.1
ping hostname = 192.168.1.10

The hostfile in windows xp is yust the default file
(127.0.0.1 localhost)

Thanks very much

Re: webgui don't start

Posted: June 13th, 2008, 1:39 am
by shypike
Use 0.3.4 if you want to be able to download.

There are differences between the behavior of 0.3.4 and 0.4.0.
There have been many changes since 0.3.4, like design of the startup code
but also upgrade of various Python modules and even Python itself.
(Python is the programming language we use).
I will see if it's possible to create a 0.4.0 test version based on all the
older modules, but this will take some time.

Apart from that, there is something seriously wrong with your system's network setup.
Otherwise we would get dozens of these complaints on this subject.

PS: have you tried other ports than 8080?

Re: webgui don't start

Posted: June 14th, 2008, 6:08 am
by shypike
I tried 0.4.0RC2 with all the Python-stuff used for 0.3.4.
Testing this on a XP-SP3 system gave no problems at all.

I'm out of suggestions now.

Re: webgui don't start

Posted: June 14th, 2008, 8:22 am
by testing123
Thanks for helping, what I know now for sure that it is not the sabnzbd program but something in my drytek router/modem...

But I don't know what.
Could someone place post some results if you do this in windows:
START-RUN-cmd [enter]
then
tracert localhost
(i get localhost [127.0.0.1])

tracert localhost:8080
(i get "Unable to resolve target system name localhost:8080")

tracert [myhostname]
(i get [myhostname] 192.168.1.10)

My router settings are
1st IP Address  : 192.168.1.1
1st Subnet Mask  : 255.255.255.0
DHCP Server  :  Yes

DHCP Server Configuration
Enable Server
Relay Agent: none
Start IP Address : 192.168.1.10 (mmm that is my pc)
IP Pool Counts : 50
Gateway IP Address : 192.168.1.1 (this is the router/modem)
DHCP Server IP Address for Relay Agent  : none

Re: webgui don't start

Posted: June 14th, 2008, 8:42 am
by shypike
The response you get for "tracert localhost:8080" is normal, you should not add the port number.
The response to "tracert localhost" is OK.
localhost should not be influenced by the modem/router.

If neither localhost or 192.168.1.10 work, then something is wrong with
the networking inside your system.

To remove the influence of the modem/router, just disconnect the network cable.
See what happens then.

Also, I would advise you to use another port than 8080.
Any free port will do, try 80 for instance.

Re: webgui don't start

Posted: June 14th, 2008, 9:50 am
by testing123
mmm Thanks for your info, I disconnected network and unplugged the cable.
Then I started sabnzbd and still the same problem.

Then I try a other port 80 (and some others) and still the same problem.

My conclusion is format c: and do a clean install.
In the worst case my pc is infected with some spyware that is routing my things to a other places...

Thanks for helping, and when it work I will post it here, so people know what to do if they have the same problem.

Re: webgui don't start

Posted: June 14th, 2008, 10:17 am
by shypike
I still don't understand why 0.3.4 does work on your system, but 0.4.0 does not.

I can send you a 0.4.0 testversion that was created with the older Python tools.
The only thing that won't be working will be secure usenet.

Re: webgui don't start

Posted: June 14th, 2008, 3:56 pm
by testing123
I did format c , and reinstall windows and SABnzbd 0.4.0RC2 is WORKING  ;D :D :P
Thanks for helping.

Re: webgui don't start

Posted: June 14th, 2008, 3:57 pm
by shypike
What a relief!  :D :D

I was really out of suggestions.