Problems getting SABnbdplus to grab download

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
ipurbeltz
Posts: 5
Joined: Sat Jun 18, 2016 1:14 pm

Problems getting SABnbdplus to grab download

Post by ipurbeltz »

Hello everyone,

I have spend the last two days trying to get Mylar working properly with SABnzbdplus but I am encountering many challenges.

I am currently using a raspberry pi 3 as server with OS: Raspbian GNU/Linux 8 (jessie)

Mylar is currently running and manages to grab the comics with my own ComicVine API key. However, when I try to download the comic, it creates a row in SABnzbd saying "Trying to fetch NZB from http://<ip:port>..." and it is stuck there forever. Also, there is a warning that says: " API key incorrect, Use the API key from Config->General in your 3rd party program: 127.0.0.1>python-requests/2.7.0 CPython/2.7.9 Linux/4.4.13-v7+"

I wonder if I have configure SAB wrongly. This are my configuration options:
SABnzbd Configuration When I press the button "Test SABnzbd", I can see the following on the logs:

Code: Select all

18-Jun-2016 15:25:56 - INFO    :: CP Server Thread-2 : status code: 200
18-Jun-2016 15:25:56 - ERROR   :: CP Server Thread-2 : Error detected attempting to retrieve SAB data using FULL APIKey: API Key Incorrect
18-Jun-2016 15:25:56 - INFO    :: CP Server Thread-2 : APIKey provided is NZBKey which is the correct key.
18-Jun-2016 15:25:56 - INFO    :: CP Server Thread-2 : Connection to SABnzbd tested sucessfully
Search Providers
I am using the followings usenet provider and in the following order: NZB.su, NZBgeek, Usenet-Crawler. Few doubts:
  • Do I need to populate the UID field and check the "Verify SSL"?
  • Is there a way to configure https://omgwtfnzbs.org?
I would appreciate if you could guide me in the right direction please ;)

Thanks in advance.
User avatar
evilhero
Site Admin
Posts: 2905
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Problems getting SABnbdplus to grab download

Post by evilhero »

ipurbeltz wrote:Hello everyone,

I have spend the last two days trying to get Mylar working properly with SABnzbdplus but I am encountering many challenges.

I am currently using a raspberry pi 3 as server with OS: Raspbian GNU/Linux 8 (jessie)

Mylar is currently running and manages to grab the comics with my own ComicVine API key. However, when I try to download the comic, it creates a row in SABnzbd saying "Trying to fetch NZB from http://<ip:port>..." and it is stuck there forever. Also, there is a warning that says: " API key incorrect, Use the API key from Config->General in your 3rd party program: 127.0.0.1>python-requests/2.7.0 CPython/2.7.9 Linux/4.4.13-v7+"

I wonder if I have configure SAB wrongly. This are my configuration options:
SABnzbd Configuration When I press the button "Test SABnzbd", I can see the following on the logs:

Code: Select all

18-Jun-2016 15:25:56 - INFO    :: CP Server Thread-2 : status code: 200
18-Jun-2016 15:25:56 - ERROR   :: CP Server Thread-2 : Error detected attempting to retrieve SAB data using FULL APIKey: API Key Incorrect
18-Jun-2016 15:25:56 - INFO    :: CP Server Thread-2 : APIKey provided is NZBKey which is the correct key.
18-Jun-2016 15:25:56 - INFO    :: CP Server Thread-2 : Connection to SABnzbd tested sucessfully
Search Providers
I am using the followings usenet provider and in the following order: NZB.su, NZBgeek, Usenet-Crawler. Few doubts:
  • Do I need to populate the UID field and check the "Verify SSL"?
  • Is there a way to configure https://omgwtfnzbs.org?
I would appreciate if you could guide me in the right direction please ;)

Thanks in advance.
The APIkey warning is simply Mylar trying to test your sabnzbd installation against the api key you've provided. It first tries it as a 'full api key', which results in the error/warning you see within sabnbzd. It then tries it as an 'nzb key' and then you receive the correct key message in the Mylar logs indicating everything is correct.

The UID field is required if you want to use RSS Feeds within Mylar (if you have the 'check rss feeds option every X minutes' option enabled). The UID is a numeric id that your provider assigns to each user. Typically if you can find the RSS feed URL's for your nzb provider on their website(s), the UID is labelled as the 'i=XXXXXX' component of the URL. Simply put in the 'XXXXX' portion in Mylar.

Verify SSL is required if you have providers that are using https URLS. If they're using https URLS and you don't have the verify option checked off, you'll probably get certificate warning messages within Mylar whenever it attempts to search against their api or download an nzb from them. Typically, as long as you're using python 2.7.9+, and your provider is using the https protocol you should always enable Verify SSL. If your provider(s) are using non-https based, then you need to ensure that the Verify SSL option is NOT enabled. Enabling it will cause verification error messages in most cases, and causes problems when attempting to search/download.

There's no point in configuring for omgwtfnzbs. They don't track comic books, and never have.

If yourM ylar and sabnzbd are running on the same machine, you shouldn't have any problems with it trying to download the nzb(s) from your providers, unless you're not doing what I mentioned above (Verify SSL being enabled/not enabled based on the http protocol of the provider in question).

You can make use of the return_host field within the Mylar config.ini file as well. This is normally used when Mylar attempts to auto-detect the IP of the machine that Mylar is running on at startup. If it's incorrect, or can't be resolved - then using the return_host with the correct full IP will solve the issue (in the format of return_host = http://192.168.2.5:8090)

In order to help more, I'd need to see the debug logs of what happens when you attempt to download something and the request that goes through to SAB, returns to Mylar.

Also, branch of Mylar and commit helps in pinpointing problems too.
ipurbeltz
Posts: 5
Joined: Sat Jun 18, 2016 1:14 pm

Re: Problems getting SABnbdplus to grab download

Post by ipurbeltz »

Thanks for the reply and the answers mate. Now everything is more clear.

This is the log in debug mode when I tried to download a Batman comic:

Code: Select all

20-Jun-2016 21:14:31 - DEBUG   :: Thread-12 : ComicID:91273
20-Jun-2016 21:14:31 - DEBUG   :: Thread-12 : mode:want
20-Jun-2016 21:14:31 - INFO    :: Thread-12 : Initiating manual search for Batman issue: 1
20-Jun-2016 21:14:31 - DEBUG   :: Thread-12 : Publisher is : DC Comics
20-Jun-2016 21:14:31 - INFO    :: Thread-12 : Issue Title given as : i am gotham part one
20-Jun-2016 21:14:31 - DEBUG   :: Thread-12 : Checking for torrent enabled.
20-Jun-2016 21:14:31 - DEBUG   :: Thread-12 : nzbprovider(s): []
20-Jun-2016 21:14:31 - DEBUG   :: Thread-12 : there are : 0 torrent providers you have selected.
20-Jun-2016 21:14:31 - DEBUG   :: Thread-12 : there are : 0 nzb providers you have selected.
20-Jun-2016 21:14:31 - DEBUG   :: Thread-12 : Usenet Retention : 1500 days
20-Jun-2016 21:14:31 - ERROR   :: Thread-12 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
The same for green arrow:

Code: Select all

20-Jun-2016 21:16:14 - DEBUG   :: Thread-13 : ComicID:91284
20-Jun-2016 21:16:14 - DEBUG   :: Thread-13 : mode:want
20-Jun-2016 21:16:14 - INFO    :: Thread-13 : Initiating manual search for Green Arrow issue: 1
20-Jun-2016 21:16:14 - DEBUG   :: Thread-13 : Publisher is : DC Comics
20-Jun-2016 21:16:14 - INFO    :: Thread-13 : Issue Title given as : the end
20-Jun-2016 21:16:14 - DEBUG   :: Thread-13 : Checking for torrent enabled.
20-Jun-2016 21:16:14 - DEBUG   :: Thread-13 : nzbprovider(s): []
20-Jun-2016 21:16:14 - DEBUG   :: Thread-13 : there are : 0 torrent providers you have selected.
20-Jun-2016 21:16:14 - DEBUG   :: Thread-13 : there are : 0 nzb providers you have selected.
20-Jun-2016 21:16:14 - DEBUG   :: Thread-13 : Usenet Retention : 1500 days
20-Jun-2016 21:16:14 - ERROR   :: Thread-13 : [WARNING] You have 0 search providers enabled. I need at least ONE provider to work. Aborting search.
Not sure why it says 0 nzbproiders on the config file my Newznab is enable:

Code: Select all

[NZBsu]
nzbsu = 1
nzbsu_uid = <email>
nzbsu_apikey = <api>
nzbsu_verify = 1
[Newznab]
newznab = 1
extra_newznabs = NZBgeek, https://api.nzbgeek.info, 1, <api>, <email>, 1, Usenet-Crawler, https://www.usenet-crawler.com, 1, <api>, <email>, 1
[uTorrent]
utorrent_host = ""
utorrent_username = ""
utorrent_password = ""
utorrent_label = ""
[Transmission]
transmission_host = None
transmission_username = None
transmission_password = None
Also for the order:

Code: Select all

provider_order = 0, nzb.su, 1, NZBgeek, 2, Usenet-Crawler
nzb_downloader = 0
User avatar
evilhero
Site Admin
Posts: 2905
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Problems getting SABnbdplus to grab download

Post by evilhero »

You're probably getting the 0 providers error due to making config changes without restarting mylar after saving (it's a longtime bug that will get fixed hopefully soon).

What you need to do, with mylar not running, is edit your config.ini and delete the provider_order line entirely from the config. Save and close it, and then start up mylar and it will auto generate the provider_order line again so that items line up properly.

Also the UID for the nzb providers is a number, not your email address ;)
ipurbeltz
Posts: 5
Joined: Sat Jun 18, 2016 1:14 pm

Re: Problems getting SABnbdplus to grab download

Post by ipurbeltz »

Great, after removing the line and starting again the service I managed to send the link to SABnzbd. However, it still says: "WAIT XX Sec/ Trying to feth NZB from http://10.0.0.110:8090/api?apikey=9733c ... Empire.nzb"

It stays like that forever :(

See log below (long one in debug mode):

Code: Select all

20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ComicID:91284
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : mode:want
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : Initiating manual search for Green Arrow issue: 1
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Publisher is : DC Comics
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : Issue Title given as : the end
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Checking for torrent enabled.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : newznab name:NZBgeek @ https://api.nzbgeek.info
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : newznab name:Usenet-Crawler @ https://www.usenet-crawler.com
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : nzbprovider(s): ['nzb.su', 'newznab:NZBgeek', 'newznab:Usenet-Crawler']
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : there are : 0 torrent providers you have selected.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : there are : 3 nzb providers you have selected.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Usenet Retention : 1500 days
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : found provider in existing enabled providers.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : checking against nzb provider: nzb.su
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : provider order sequence is now to start with nzb.su at spot #0
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : found provider in existing enabled providers.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : checking against nzb provider: nzb.su
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : checking against nzb provider: newznab:NZBgeek
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : newznab match against: newznab:NZBgeek
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : sucessfully matched - appending to provider.order sequence
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : checking against nzb provider: newznab:Usenet-Crawler
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : provider order sequence is now to start with NZBgeek at spot #1
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : found provider in existing enabled providers.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : checking against nzb provider: nzb.su
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : checking against nzb provider: newznab:NZBgeek
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : checking against nzb provider: newznab:Usenet-Crawler
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : newznab match against: newznab:Usenet-Crawler
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : sucessfully matched - appending to provider.order sequence
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : provider order sequence is now to start with Usenet-Crawler at spot #2
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : search provider order is ['nzb.su', 'newznab:NZBgeek', 'newznab:Usenet-Crawler']
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Initiating Search via : rss
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : Shhh be very quiet...I'm looking for Green Arrow issue: 1 (2016) using nzb.su [RSS]
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : calpha/cnumber: None / None
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : RSS Check: yes
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : nzbprov: nzb.su
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : comicid: 91284
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Sending request to RSS for Green Arrow : 001 (2016)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : RSS Check: yes
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : nzbprov: nzb.su
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : comicid: 91284
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Sending request to RSS for Green Arrow : 01 (2016)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : RSS Check: yes
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : nzbprov: nzb.su
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : comicid: 91284
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Sending request to RSS for Green Arrow : 1 (2016)
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : Could not find Issue 1 of Green Arrow(2016) using nzb.su [rss]
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : using Newznab host of : NZBgeek
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : Shhh be very quiet...I'm looking for Green Arrow issue: 1 (2016) using NZBgeek(newznab) [RSS]
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : calpha/cnumber: None / None
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : RSS Check: yes
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : nzbprov: newznab
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : comicid: 91284
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Sending request to RSS for Green Arrow : 001 (2016)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : checking search result: Green Arrow 001 (2016) (2 covers) (Digital) (Zone-Empire)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : sub:Green Arrow 001 (2016) (2 covers) (Digital) (Zone-Empire)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : size given as: 28.9 MB
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Wed, 15 Jun 2016 21:41:12 +0000 is after store date of 2016-06-15
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Entry: Green Arrow 001 (2016) (2 covers) (Digital) (Zone-Empire)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Cleantitle: green arrow 001 (2016) (2 covers) (digital) (zone-empire)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Cleantitle: green arrow 001 (2016) (2 covers) (digital) (zone-empire)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : 0. Bracket Word: green arrow 001
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Comic: green arrow 001
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : UseFuzzy is  : None
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ComVersChk : 5
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : 1. Bracket Word: 2016
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : year detected: 2016
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : year looking for: 2016
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : 2016 - right years match baby!
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : 3. Bracket Word: 2 covers
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : covers detected: 2 covers
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : 5. Bracket Word: digital
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : digital edition detected
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : 7. Bracket Word: zone-empire
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Scanner detected: zone-empire
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : original nzb comic and issue: green arrow 001
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : adjusted nzb comic and issue: green arrow 001
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : adjusting from: green arrow 001  to: 001
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ['green', 'arrow', '001'] nzb series word count: 2
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ['green', 'arrow'] watchlist word count: 2
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : splitst : 2
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : len-watchcomic : 2
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : length match..proceeding
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : search-length: 2
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Watchlist-length: 2
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : splitit: green
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : scount : 0
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : 0 Comparing: green .to. green
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : word matched on : green
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : splitit: arrow
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : scount : 1
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : 1 Comparing: arrow .to. arrow
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : word matched on : arrow
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : scount:2
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : splitit-len:2
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Match to series : 100.0 %.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : it's a go captain... - we matched 100.0%!
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : this should be a match!
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : issue we are looking for is : 1
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : integer value of issue we are looking for : 1000
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : issue we found for is : 001
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : integer value of issue we have found : 1000
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : [SEARCHER] entry[title]: Green Arrow 001 (2016) (2 covers) (Digital) (Zone-Empire)
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : [SEARCHER] nzbname (remove chars): Green Arrow 001  2016   2 covers   Digital   Zone-Empire
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : [SEARCHER] nzbname (\s): Green Arrow 001 2016 2 covers Digital Zone-Empire
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : [SEARCHER] end nzbname: Green.Arrow.001.2016.2.covers.Digital.Zone-Empire
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : nzbname used for post-processing:Green.Arrow.001.2016.2.covers.Digital.Zone-Empire
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : Download URL: https://api.nzbgeek.info/api?apikey=9d3adb1cbecb29a5bf6b191c84e441a7&t=get&id=f3a2b7894a56404eba6589627a82e9f2 [VerifySSL:True]
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : [FILENAME] filename (remove chars): Green.Arrow.001. 2016 . 2.covers . Digital . Zone-Empire .nzb
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : [FILENAME] nzbname (\s): Green.Arrow.001. 2016 . 2.covers . Digital . Zone-Empire .nzb
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : [FILENAME] end nzbname: Green.Arrow.001..2016...2.covers...Digital...Zone-Empire..nzb
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : filen: Green.Arrow.001..2016...2.covers...Digital...Zone-Empire. -- nzbname: Green.Arrow.001.2016.2.covers.Digital.Zone-Empire are not identical. Storing extra value as : Green.Arrow.001..2016...2.covers...Digital...Zone-Empire.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Cache Directory successfully found at : /opt/Mylar/cache. Ensuring proper permissions.
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Successfully changed permissions [0777 / 0660]
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : issues match!
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : Found Green Arrow (2016) issue: 1 using NZBgeek(newznab) [RSS]
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : link given by: newznab
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : send-to-SAB host &api initiation string : http://localhost:38080/api?apikey=xUDONTNEEDTOKNOWTHISx
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ...selecting API type: http://localhost:38080/api?apikey=9c7da5ae5136330b9a3a84554ca59dc1&mode=addurl&name=
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ...attaching nzb via internal Mylar API: http://localhost:38080/api?apikey=9c7da5ae5136330b9a3a84554ca59dc1&mode=addurl&name=http%3A%2F%2F10.0.0.110%3A8090%2Fapi%3Fapikey%3D9733cb439b53005d0d97add1c847b8b5%26cmd%3DdownloadNZB%26nzbname%3DGreen.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ...setting priority: http://localhost:38080/api?apikey=9c7da5ae5136330b9a3a84554ca59dc1&mode=addurl&name=http%3A%2F%2F10.0.0.110%3A8090%2Fapi%3Fapikey%3D9733cb439b53005d0d97add1c847b8b5%26cmd%3DdownloadNZB%26nzbname%3DGreen.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb&priority=-100
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ...attaching category: http://localhost:38080/api?apikey=9c7da5ae5136330b9a3a84554ca59dc1&mode=addurl&name=http%3A%2F%2F10.0.0.110%3A8090%2Fapi%3Fapikey%3D9733cb439b53005d0d97add1c847b8b5%26cmd%3DdownloadNZB%26nzbname%3DGreen.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb&priority=-100&cat=mylar
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : ...attaching rename script: http://localhost:38080/api?apikey=9c7da5ae5136330b9a3a84554ca59dc1&mode=addurl&name=http%3A%2F%2F10.0.0.110%3A8090%2Fapi%3Fapikey%3D9733cb439b53005d0d97add1c847b8b5%26cmd%3DdownloadNZB%26nzbname%3DGreen.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb&priority=-100&cat=mylar&script=ComicRN.py
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Completed send-to-SAB link: http://localhost:38080/api?apikey=9c7da5ae5136330b9a3a84554ca59dc1&mode=addurl&name=http%3A%2F%2F10.0.0.110%3A8090%2Fapi%3Fapikey%3D9733cb439b53005d0d97add1c847b8b5%26cmd%3DdownloadNZB%26nzbname%3DGreen.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb&priority=-100&cat=mylar&script=ComicRN.py
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : Successfully sent nzb file to SABnzbd
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : we should break out now - sucessful search previous
20-Jun-2016 23:38:42 - DEBUG   :: Thread-12 : Found matching comic...preparing to send to Updater with IssueID: 535334 and nzbname: Green.Arrow.001.2016.2.covers.Digital.Zone-Empire[Green.Arrow.001..2016...2.covers...Digital...Zone-Empire.]
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : setting the nzbid for this download grabbed by NZBgeek(newznab) in the nzblog to : f3a2b7894a56404eba6589627a82e9f2
20-Jun-2016 23:38:42 - INFO    :: Thread-12 : setting the alternate nzbname for this download grabbed by NZBgeek(newznab) in the nzblog to : Green.Arrow.001..2016...2.covers...Digital...Zone-Empire.
20-Jun-2016 23:38:43 - DEBUG   :: Thread-12 : findit = found!
20-Jun-2016 23:38:43 - INFO    :: Thread-12 : passing to updater.
20-Jun-2016 23:38:43 - DEBUG   :: Thread-12 : [UPDATER] comicid: 91284
20-Jun-2016 23:38:43 - DEBUG   :: Thread-12 : [UPDATER] issueid: 535334
20-Jun-2016 23:38:43 - INFO    :: Thread-12 : [UPDATER] Updating status to snatched
20-Jun-2016 23:38:43 - DEBUG   :: Thread-12 : [UPDATER] Provider is newznab
20-Jun-2016 23:38:43 - INFO    :: Thread-12 : [UPDATER] Updated the status (Snatched) complete for Green Arrow Issue: 1
The following are the logs from SABnzbd at that specific time trying to download Green Arrow:

Code: Select all

2016-06-20 23:38:42,410::INFO::[__init__:524] Fetching http://10.0.0.110:809
0/api?apikey=9733cb439b53005d0d97add1c847b8b5&cmd=downloadNZB&nzbname=Green.
Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb
2016-06-20 23:38:42,423::INFO::[nzbqueue:251] Saving queue
2016-06-20 23:38:42,425::INFO::[__init__:945] Saving data for queue10.sab in /home/pi/.sabnzbd/admin/queue10.sab
2016-06-20 23:38:42,427::INFO::[urlgrabber:99] Grabbing URL http://10.0.0.110:8090/api?apikey=9733cb439b53005d0d97add1c847b8b5&cmd=downloadNZB&nzbname=Green.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb
2016-06-20 23:38:42,434::INFO::[urlgrabber:182] Retry URL http://10.0.0.110:8090/api?apikey=9733cb439b53005d0d97add1c847b8b5&cmd=downloadNZB&nzbname=Green.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb
2016-06-20 23:39:42,487::INFO::[urlgrabber:99] Grabbing URL http://10.0.0.110:8090/api?apikey=9733cb439b53005d0d97add1c847b8b5&cmd=downloadNZB&nzbname=Green.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb
2016-06-20 23:39:42,489::INFO::[urlgrabber:182] Retry URL http://10.0.0.110:8090/api?apikey=9733cb439b53005d0d97add1c847b8b5&cmd=downloadNZB&nzbname=Green.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb
2016-06-20 23:40:42,542::INFO::[urlgrabber:99] Grabbing URL http://10.0.0.110:8090/api?apikey=9733cb439b53005d0d97add1c847b8b5&cmd=downloadNZB&nzbname=Green.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb
2016-06-20 23:40:42,544::INFO::[urlgrabber:182] Retry URL http://10.0.0.110:8090/api?apikey=9733cb439b53005d0d97add1c847b8b5&cmd=downloadNZB&nzbname=Green.Arrow.001.2016.2.covers.Digital.Zone-Empire.nzb
Btw, where can I find the UID, I thought it was just the username, but you are right, it should be a number :(

Thanks for all your help by the way :)
User avatar
evilhero
Site Admin
Posts: 2905
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Problems getting SABnbdplus to grab download

Post by evilhero »

I'm guessing that you have mylar listening to your localhost address, which is causing the problems. If you set the mylar host to 'localhost' it will only listen on the local interface so any requests even to the ip itself won't resolve. If you set the mylar host to 0.0.0.0 it would listen on all interfaces on the local machine so that a direct request to the ip itself would resolve properly.

You can do one of two things to fix it depending on your setup:
- set the mylar host to 0.0.0.0. Save the config and restart mylar. Things should then start resolving properly when sending to sabnzbd.
- leave the mylar host to localhost, but within the config.ini edit the host_return value to 'http://localhost:8090'.Save the config, start up mylar and that should work (again depends on how your system is setup)

Note that in either case if you're using the comicrRN.py script to do post-processing you need to edit the autoProcessComics.cfg so that the host value within is exactly identical to what you have within the mylar configuration.
ipurbeltz
Posts: 5
Joined: Sat Jun 18, 2016 1:14 pm

Re: Problems getting SABnbdplus to grab download

Post by ipurbeltz »

Looks like I manage to get it working after correcting the IP address and one small mistake with the port on the SAB config file.

Thank you so much mate :)
Post Reply