Page 1 of 2

Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 25th, 2018, 8:03 am
by donderdag
Hi, I am using SABnzbd 2.3.2 (installer) on Windows 7 x64, with Cyberfox x64 52.5.2 LTR

I have been using SABnzbd happily for years, and never had any problem.
Now, since three months I can not get the webinterface to show itself.
It will start loading, but never finishes, and after many minutes I get the following message:

Image

I tried the suggestion to execute "C:\Program Files\SABnzbd\SABnzbd.exe" --server 127.0.0.1:8081
But it didn't solve anything.
I ran netstat -o, and afterward I added the processes that go with the mentioned PID's:

Code: Select all

Actieve connections

Proto  Local address           External address     Status                        PID
TCP    127.0.0.1:5597         Yarc-PC:8080           ESTABLISHED     5940     C:\Program Files\SABnzbd\SABnzbd.exe
TCP    127.0.0.1:5601         Yarc-PC:8080           ESTABLISHED     4804     C:\Program Files\Cyberfox\Cyberfox.exe
TCP    127.0.0.1:8080         Yarc-PC:5597           FIN_WAIT_1         4932     C:\Program Files\SABnzbd\SABnzbd.exe
TCP    127.0.0.1:8080         Yarc-PC:5601           ESTABLISHED     4932     C:\Program Files\SABnzbd\SABnzbd.exe
I checked my firewall, Commodo Firewall 10, but found no blocked process from SABnzbd.

What to do, I have no idea what is causing this?

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 26th, 2018, 3:53 am
by safihre
It looks like SABnzbd is already running, what if you just open 127.0.0.1:5597 or 127.0.0.1:8080?

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 26th, 2018, 11:15 am
by donderdag
I tried your suggestion to run: "C:\Program Files\SABnzbd\SABnzbd.exe" --server 127.0.0.1:5597
Regretfully, it resulted in the same problem, also with 8080.

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 28th, 2018, 12:05 pm
by shypike
Open the sabnzbd.ini file and check for these settings:

https_port
https

They should both be empty.
The file is in your personal profile: c:\users\YOURUSERID\appdata\local\sabnzbd\sabnzbd.ini

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 28th, 2018, 3:23 pm
by donderdag
These are all the settings with 'https' in the sabnzbd.ini file.
There is no setting just called https though.

Code: Select all

https_port = ""
https_key = server.key
enable_https_verification = 1
https_chain = ""
enable_https = 0

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 28th, 2018, 5:45 pm
by shypike
I’m perplexed.
Try removing the ini file altogether.
After making a backup of it.

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 29th, 2018, 10:16 am
by donderdag
After making a backup I removed the ini file.
Starting up sab after that resulted in the same problem as before.
I observed that sab did create a new ini file and a new ini.bak file.

I didn't mention before that I also tried using the portable version of sab and I tried completely uninstalling/reinstalling sab.

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 29th, 2018, 10:46 am
by safihre
Did you restart?
It seems that SAB is just not allowed to go out.

Let's check though:
Do you maybe ever installed SABnzbd as a service? If so: check the Services settings of Windows.
Check if no SABnzbd.exe is in your Task manager.

Otherwise, restart the PC, make sure no SABnzbd is running and execute:
"C:\Program Files\SABnzbd\SABnzbd-console.exe" -l 2
And then post the output here.

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 30th, 2018, 2:56 am
by donderdag
"C:\Program Files\SABnzbd\SABnzbd-console.exe" -l 2 keeps hanging at a message saying:

Code: Select all

::INFO::[zconfig:64] No Bonjour/ZeroConfig support installed
I am guessing it refers to Apple Bonjour Zero Config - Apple's implementation of zero-configuration networking ?

I do notice in the licenses folder of sabnzbd there is a license file called license-pybonjour.txt, but on my PC there is no other file or folder with that name, or even called just 'bonjour'. It appears to me that sabnzbd was supposed to install it, but didn't?

Do you still like to see the full output of "C:\Program Files\SABnzbd\SABnzbd-console.exe" -l 2

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 30th, 2018, 1:01 pm
by safihre
Yes please post the output, it's not stuck, that's just the last log line after starting.
Now SABnzbd should be available and NZB's can be added (which would cause new logging).

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 31st, 2018, 5:06 am
by donderdag
Here's the console output, I did anonymize the data for privacy purposes.
Should you need the whole output, please allow me to send it through an other way, like e-mail.

I did notice one thing: It says I have IPv6, and it sets it to be active.
I was not even aware that my provider has implemented IPv6 for it's private customers.
But I verified it at http://ipv6-test.com/ and it seems I do have IPv6.
Ofcourse I have no idea if this changes anything.

And at the forementioned test site it says:
IPv6 connectivity: ICMP Filtered

Code: Select all

2018-01-31 10:47:28,201::INFO::[SABnzbd:1148] --------------------------------
2018-01-31 10:47:28,207::INFO::[SABnzbd:1149] SABnzbd-console.exe-2.3.2 (rev=1cac5799eb3f74f2e39942453b7b244fb0366e9a)
2018-01-31 10:47:28,216::INFO::[SABnzbd:1150] Full executable path = C:\Program Files\SABnzbd\SABnzbd-console.exe
2018-01-31 10:47:28,227::INFO::[SABnzbd:1156] Platform = Windows-7-6.1.7601-SP1 (win64)
2018-01-31 10:47:28,233::INFO::[SABnzbd:1161] Python-version = 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)]
2018-01-31 10:47:28,243::INFO::[SABnzbd:1162] Arguments = "C:\Program Files\SABnzbd\SABnzbd-console.exe" -l 2
2018-01-31 10:47:28,253::INFO::[SABnzbd:1167] Preferred encoding = cp1252
2018-01-31 10:47:28,259::INFO::[SABnzbd:1177] SSL version = OpenSSL 1.0.2k  26 Jan 2017
2018-01-31 10:47:28,263::INFO::[SABnzbd:1184] Loaded additional certificates from C:\Program Files\SABnzbd\cacert.pem
2018-01-31 10:47:29,151::DEBUG::[SABnzbd:1191] Available certificates: {'x509': 268, 'x509_ca': 266, 'crl': 0}
2018-01-31 10:47:29,160::DEBUG::[SABnzbd:1198] My local IPv4 address = 192.xxx.xxx.xxx
2018-01-31 10:47:29,697::DEBUG::[SABnzbd:1204] My public IPv4 address = 213.xxx.xxx.xxx
2018-01-31 10:47:29,706::DEBUG::[SABnzbd:1210] My IPv6 address = 2001:xxxx:xxx:xxxx:xxxx:xxxx:xxxx:xxxx
2018-01-31 10:47:29,723::DEBUG::[SABnzbd:1218] CPU Pystone available performance = 124523
2018-01-31 10:47:29,733::DEBUG::[SABnzbd:1223] CPU model = Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
2018-01-31 10:47:29,743::INFO::[SABnzbd:1225] Read INI file C:\Users\UserName\AppData\Local\sabnzbd\sabnzbd.ini
2018-01-31 10:47:29,753::DEBUG::[__init__:971] [sabnzbd\rss.pyo.__init__] Loading data for rss_data.sab from C:\Users\UserName\AppData\Local\sabnzbd\admin\rss_data.sab
2018-01-31 10:47:29,763::DEBUG::[__init__:971] [sabnzbd\bpsmeter.pyo.read] Loading data for totals10.sab from C:\Users\UserName\AppData\Local\sabnzbd\admin\totals10.sab
2018-01-31 10:47:29,776::DEBUG::[bpsmeter:180] Read quota q=0.0 l=0.0 reset=0
2018-01-31 10:47:29,782::DEBUG::[downloader:163] Initializing downloader/decoder
2018-01-31 10:47:29,789::INFO::[postproc:100] Loading postproc queue
2018-01-31 10:47:29,793::DEBUG::[__init__:971] [sabnzbd\postproc.pyo.load] Loading data for postproc2.sab from C:\Users\UserName\AppData\Local\sabnzbd\admin\postproc2.sab
2018-01-31 10:47:29,805::DEBUG::[__init__:971] [sabnzbd\nzbqueue.pyo.read_queue] Loading data for queue10.sab from C:\Users\UserName\AppData\Local\sabnzbd\admin\queue10.sab
2018-01-31 10:47:29,818::DEBUG::[__init__:971] [sabnzbd\dirscanner.pyo.__init__] Loading data for watched_data2.sab from C:\Users\UserName\AppData\Local\sabnzbd\admin\watched_data2.sab
2018-01-31 10:47:29,831::DEBUG::[__init__:971] [sabnzbd\rating.pyo.__init__] Loading data for Rating.sab from C:\Users\UserName\AppData\Local\sabnzbd\admin\Rating.sab
2018-01-31 10:47:29,842::INFO::[__init__:974] [sabnzbd\rating.pyo.__init__] C:\Users\UserName\AppData\Local\sabnzbd\admin\Rating.sab missing
2018-01-31 10:47:29,852::DEBUG::[scheduler:180] Scheduling RSS interval task every 60 min (delay=56)
2018-01-31 10:47:29,861::DEBUG::[scheduler:192] Scheduling VersionCheck on day 5 at 17:41
2018-01-31 10:47:29,867::INFO::[scheduler:207] Setting schedule for midnight BPS reset
2018-01-31 10:47:29,877::DEBUG::[__init__:587] PAUSED_ALL inactive
2018-01-31 10:47:29,885::INFO::[config:853] Writing settings to INI file C:\Users\UserName\AppData\Local\sabnzbd\sabnzbd.ini

2018-01-31 10:47:29,903::INFO::[__init__:345] All processes started
2018-01-31 10:47:29,910::INFO::[SABnzbd:280] Web dir is C:\Program Files\SABnzbd\interfaces\Glitter
2018-01-31 10:47:29,917::INFO::[SABnzbd:280] Web dir is C:\Program Files\SABnzbd\interfaces\Config
2018-01-31 10:47:29,931::INFO::[config:853] Writing settings to INI file C:\Users\UserName\AppData\Local\sabnzbd\sabnzbd.ini

2018-01-31 10:47:29,953::DEBUG::[sabtray:188] SysTray uses codepage 1252
2018-01-31 10:47:29,960::INFO::[SABnzbd:404] SABYenc module (v3.3.2)... found!
2018-01-31 10:47:29,973::INFO::[SABnzbd:421] Cryptography module (v2.1.4)... found!
2018-01-31 10:47:29,980::INFO::[SABnzbd:426] par2 binary... found (C:\Program Files\SABnzbd\win\par2\par2.exe)
2018-01-31 10:47:29,990::INFO::[SABnzbd:431] MultiPar binary... found (C:\Program Files\SABnzbd\win\par2\multipar\par2j64.exe)
2018-01-31 10:47:29,997::INFO::[SABnzbd:436] UNRAR binary... found (C:\Program Files\SABnzbd\win\unrar\x64\UnRAR.exe)
2018-01-31 10:47:30,006::INFO::[SABnzbd:451] unzip binary... NOT found!
2018-01-31 10:47:30,013::INFO::[SABnzbd:454] 7za binary... found (C:\Program Files\SABnzbd\win\7zip\7za.exe)
2018-01-31 10:47:30,026::INFO::[SABnzbd:1380] Starting web-interface on 127.0.0.1:8080
2018-01-31 10:47:30,032::INFO::[_cplogging:219] [31/Jan/2018:10:47:30] ENGINE Bus STARTING
2018-01-31 10:47:30,256::INFO::[_cplogging:219] [31/Jan/2018:10:47:30] ENGINE Serving on http://127.0.0.1:8080
2018-01-31 10:47:30,263::INFO::[_cplogging:219] [31/Jan/2018:10:47:30] ENGINE Bus STARTED
2018-01-31 10:47:30,272::INFO::[SABnzbd:1418] Starting SABnzbd-console.exe-2.3.2
2018-01-31 10:47:30,276::DEBUG::[__init__:356] Starting postprocessor
2018-01-31 10:47:30,282::DEBUG::[__init__:359] Starting assembler
2018-01-31 10:47:30,282::INFO::[postproc:187] Completed Download Folder C:\Users\UserName\Downloads\complete is not on FAT
2018-01-31 10:47:30,288::DEBUG::[__init__:362] Starting downloader
2018-01-31 10:47:30,302::DEBUG::[scheduler:219] Starting scheduler
2018-01-31 10:47:30,306::DEBUG::[__init__:367] Starting dirscanner
2018-01-31 10:47:30,312::INFO::[dirscanner:330] Dirscanner starting up
2018-01-31 10:47:30,312::DEBUG::[__init__:372] Starting urlgrabber
2018-01-31 10:47:30,326::INFO::[urlgrabber:81] URLGrabber starting up
2018-01-31 10:47:30,326::INFO::[panic:209] Launching browser with http://127.0.0.1:8080/sabnzbd
2018-01-31 10:47:30,358::DEBUG::[__init__:1172] Test IPv6: IPv6 test successful. Enabling IPv6
2018-01-31 10:47:30,365::DEBUG::[downloader:395] External IPv6 test result: True
2018-01-31 10:47:30,471::DEBUG::[downloader:411] SSL verification test: True
2018-01-31 10:47:30,634::DEBUG::[misc:698] Checked for a new release, cur= 2030299, latest= 2030299 (on https://sabnzbd.org/downloads.html), latest_test= 0 (on https://sabnzbd.org/downloads.html)
2018-01-31 10:47:30,648::INFO::[zconfig:64] No Bonjour/ZeroConfig support installed

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 31st, 2018, 5:16 am
by safihre
So it says that it only bound to "http://127.0.0.1:8080"
And when you go to that with your browser, what happens?
Maybe there's some weird re-routing in effect? This makes no sense at all....

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 31st, 2018, 5:19 am
by donderdag
After running the "C:\Program Files\SABnzbd\SABnzbd-console.exe" -l 2
This window opens in my webbrowser: http://127.0.0.1:8080/sabnzbd

I am starting to suspect it's a firewall problem after all.
What should the firewall settings be for IPv6 traffic for sab?

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 31st, 2018, 5:21 am
by donderdag
Goping to http://127.0.0.1:8080/ manually still doesn't result in the windows loading successfully.

Re: Port 8080 on 127.0.0.1 was tried , but it is not available

Posted: January 31st, 2018, 5:24 am
by donderdag
A test at http://test-ipv6.com/ says:

It appears that you use a tunnel mechanism for either IPv4 or IPv6.
Your DNS server (possibly run by your ISP) appears to have no access to the IPv6 Internet, or is not configured to use it. This may in the future restrict your ability to reach IPv6-only sites.