Closed ghost closed 7 years ago
So: news-de.newsgroup.ninja gives "Invalid server details"?
Uncheck SSL and try again. I don't think that is the cause, so we want to rule that out first.
@sanderjo Yes. I've tried other server addresses for newsgroup ninja too. Tried without. Same issue.
I'd just like to point out I've ordered an additional IP for a reverse proxy setup I'm planning to install so maybe this has something to do with it.
Yes. I've tried other server addresses for newsgroup ninja too. Tried without. Same issue.
Strange. What if you fill out newszilla.xs4all.nl (without SSL), and try?
@sanderjo Same issue. Tried all different certificate verification too.
No language selection comes up when first starting it too.
Only errors I could see inside the screen session:
2017-08-11 17:48:35,208::INFO::[SABnzbd:1209] Read INI file /home/links/.sabnzbd/sabnzbd.ini
2017-08-11 17:48:35,209::INFO::[__init__:968] Loading data for queue9.sab from /home/links/.sabnzbd/admin/queue9.sab
2017-08-11 17:48:35,209::INFO::[__init__:971] /home/links/.sabnzbd/admin/queue9.sab missing
2017-08-11 17:48:35,209::INFO::[__init__:968] Loading data for queue8.sab from /home/links/.sabnzbd/admin/queue8.sab
2017-08-11 17:48:35,209::INFO::[__init__:971] /home/links/.sabnzbd/admin/queue8.sab missing
2017-08-11 17:48:35,209::INFO::[__init__:968] Loading data for queue7.sab from /home/links/.sabnzbd/admin/queue7.sab
2017-08-11 17:48:35,209::INFO::[__init__:971] /home/links/.sabnzbd/admin/queue7.sab missing
2017-08-11 17:48:35,210::INFO::[__init__:968] Loading data for rss_data.sab from /home/links/.sabnzbd/admin/rss_data.sab
2017-08-11 17:48:35,210::INFO::[__init__:971] /home/links/.sabnzbd/admin/rss_data.sab missing
2017-08-11 17:48:35,210::INFO::[__init__:968] Loading data for totals10.sab from /home/links/.sabnzbd/admin/totals10.sab
2017-08-11 17:48:35,210::INFO::[__init__:971] /home/links/.sabnzbd/admin/totals10.sab missing
2017-08-11 17:48:35,210::INFO::[__init__:968] Loading data for totals9.sab from /home/links/.sabnzbd/admin/totals9.sab
2017-08-11 17:48:35,210::INFO::[__init__:971] /home/links/.sabnzbd/admin/totals9.sab missing
2017-08-11 17:48:35,217::INFO::[postproc:88] Loading postproc queue
2017-08-11 17:48:35,218::INFO::[__init__:968] Loading data for postproc2.sab from /home/links/.sabnzbd/admin/postproc2.sab
2017-08-11 17:48:35,218::INFO::[__init__:971] /home/links/.sabnzbd/admin/postproc2.sab missing
2017-08-11 17:48:35,218::INFO::[__init__:968] Loading data for queue10.sab from /home/links/.sabnzbd/admin/queue10.sab
2017-08-11 17:48:35,218::INFO::[__init__:971] /home/links/.sabnzbd/admin/queue10.sab missing
2017-08-11 17:48:35,218::INFO::[__init__:968] Loading data for watched_data2.sab from /home/links/.sabnzbd/admin/watched_data2.sab
2017-08-11 17:48:35,218::INFO::[__init__:971] /home/links/.sabnzbd/admin/watched_data2.sab missing
2017-08-11 17:48:35,219::INFO::[__init__:968] Loading data for Rating.sab from /home/links/.sabnzbd/admin/Rating.sab
2017-08-11 17:48:35,219::INFO::[__init__:971] /home/links/.sabnzbd/admin/Rating.sab missing
FWIW: this is the SAB code from sabnzbd/utils/servertests.py
that gives the error message:
try:
s = Server(-1, '', host, port, timeout, 0, 0, ssl, ssl_verify, False, username, password)
except:
return False, T('Invalid server details')
So the Server() command gives an exception. Very weird. I think a problem on your machine.
Can you cd
into the directory that contains the sabnzbd directories. On my Ubuntu:
sander@Stream-13:~/git/sabnzbd$ cd /usr/share/sabnzbdplus/
and then
sander@Stream-13:/usr/share/sabnzbdplus$ python
Python 2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import sabnzbd.utils.servertests
>>>
>>> dir(sabnzbd.utils.servertests)
['NewsWrapper', 'Server', '__builtins__', '__doc__', '__file__', '__name__', '__package__', 'clues_login', 'clues_too_many', 'get_servers', 'int_conv', 'nntp_to_msg', 'select', 'socket', 'sys', 'test_nntp_server', 'test_nntp_server_dict']
>>>
>>> sabnzbd.utils.servertests.Server(-1, '', 'newszilla.xs4all.nl', 564, 10, 0, 0, False, False, False, 'bla', 'bla')
newszilla.xs4all.nl:564
>>>
>>>
@sanderjo not quite sure I understand.
I can get to home/user/SABnzbd/ then run 'python' and 'import sabnzbd.utils.servertests' After than I'm lost with what you are asking me to do? :) Can you list the commands you want me to run individually?
also shouldnt it be 563 not 564?
I've uninstalled SABnzbd twice now and deleted the folder to no joy.
Ah, yes, 563, although it doesn't matter for this call.
after the 'import sabnzbd.utils.servertests', still within python, do this:
dir(sabnzbd.utils.servertests)
sabnzbd.utils.servertests.Server(-1, '', 'newszilla.xs4all.nl', 563, 10, 0, 0, False, False, False, 'bla', 'bla')
Post the full output here, including the earlier commands.
@sanderjo dont worry, will the help of some kind people i downgraded to 2.1.0. works fine.
2.2.0 does not.
I guess there's a bug in the script to install somewhere or in 2.2.0 beta.
It's not so much a bug as an oversight. The clone command doesn't specify a branch so it pulls the default one, which the developers of sab have happened to have set as the dev branch, not the stable branch.
Seems like a prerelease bug with Sab. With the upgradeSAB command now it should be fine in the future. Closing as now works.
Used the install script, it installed 2.2.0. 2.1.0 is working on another server and has been for a long while. On a new install, 2.2.0 throws an error when adding an host (host uses TLSv1.2).
Same OpenSSL 1.0.2g. Same Python version. I'm running Ubuntu 16.04.3 LTS.
No firewall enabled either. Any idea for what I can try? Could it be related to this? Is anyone running 2.2.0 successfully? (https://github.com/sabnzbd/sabnzbd/issues/994)