SAB doesn't allow connection from internal network.

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
RoLLER
Newbie
Newbie
Posts: 4
Joined: February 23rd, 2023, 8:26 am

SAB doesn't allow connection from internal network.

Post by RoLLER »

SAB doesn't let me connect with the hostname sabnzbd from Radarr.

I get the error message:
Refused connection with hostname "sabnzbd" from: ::ffff:172.20.0.2 [Radarr/4.3.2.6857 (alpine 3.17.2)]

Is there a solution to this?

Thanks in advance!
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

I have been struggling with the same issue. I could not get permissions working on a Docker network running on a Debian host. I tried "localhost", 172.0.0.1 and the private addresses for the containers displayed by the "docker inspect <network name>".

Yesterday and today I have been experimenting with SABnzbd and Prowlarr installed in a Truenas jail. I played around with various combinations of localhost and local LAN addresses. I was able to prove that Prowlarr is in fact communicating with SAB by intentionally making the API key invalid. In that case SAB displays:

API key incorrect, Use the API key from Config->General in your 3rd party program: 10.11.12.50 [Prowlarr/1.0.0.2171 (freebsd 13.1-release-p4)]

and the Prowler side displays:

Unable to connect to indexer, check the log for more details

This is consistent with my results on Docker. The rest of the *arr suite is able to communicate between themselves on Docker and within the TrueNAS jail.

With the correct API the Prowlarr side , the SAB console is quiet. but the Prowlarr console still shows the same error.
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

Next I checked the logs. For the case of the incorrect API key the SAB log has entries like:

2023-02-24 11:39:56,208::DEBUG::[interface:133] Request GET /api from 10.11.12.40 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36] {'mode': 'queue', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1677263921849'}
2023-02-24 11:39:56,210::DEBUG::[interface:133] Request GET /api from 10.11.12.40 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36] {'mode': 'history', 'failed_only': '0', 'start': '0', 'limit': '10', 'last_history_update': '1', 'output': 'json', 'apikey':<APIKEY>', '_': '1677263921850'}
2023-02-24 11:39:56,289::DEBUG::[interface:133] Request GET /api from 10.11.12.50 [Prowlarr/1.0.0.2171 (freebsd 13.1-release-p4)] {'t': 'caps', 'apikey':<APIKEY>'}
2023-02-24 11:39:56,290::INFO::[notifier:123] Sending notification: Warning - API key incorrect, Use the API key from Config->General in your 3rd party program: 10.11.12.50 [Prowlarr/1.0.0.2171 (freebsd 13.1-release-p4)] (type=warning, job_cat=None)
2023-02-24 11:39:56,289::WARNING::[interface:374] API key incorrect, Use the API key from Config->General in your 3rd party program: 10.11.12.50 [Prowlarr/1.0.0.2171 (freebsd 13.1-release-p4)]
2023-02-24 11:39:57,232::DEBUG::[interface:133] Request GET /api from 10.11.12.40 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36] {'mode': 'queue', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1677263921851'}
2023-02-24 11:39:57,234::DEBUG::[interface:133] Request GET /api from 10.11.12.40 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36] {'mode': 'history', 'failed_only': '0', 'start': '0', 'limit': '10', 'last_history_update': '1', 'output': 'json', 'apikey':<APIKEY>', '_': '1677263921852'}


and for the correct API key messages like:

2023-02-24 11:40:00,292::DEBUG::[interface:133] Request GET /api from 10.11.12.40 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36] {'mode': 'queue', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1677263921858'}
2023-02-24 11:40:00,886::DEBUG::[interface:133] Request GET /api from 10.11.12.50 [Prowlarr/1.0.0.2171 (freebsd 13.1-release-p4)] {'t': 'caps', 'apikey':<APIKEY>'}
2023-02-24 11:40:00,887::WARNING::[interface:374] API key incorrect, Use the API key from Config->General in your 3rd party program: 10.11.12.50 [Prowlarr/1.0.0.2171 (freebsd 13.1-release-p4)]
2023-02-24 11:40:01,424::DEBUG::[interface:133] Request GET /api from 10.11.12.40 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36] {'mode': 'queue', 'start': '0', 'limit': '20', 'output': 'json', 'apikey':<APIKEY>', '_': '1677263921860'}
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

I have not been successful posting my log fragments because I keep getting the error "New users are not allowed to post links", although I have added no links to the log text.
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

The tail of the SAB log looks like:

2023-02-24 11:40:23,942::DEBUG::[interface:133] Request GET /api from 10.11.12.40 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36] {'mode': 'history', 'failed_only': '0', 'start': '0', 'limit': '10', 'last_history_update': '1', 'output': 'json', 'apikey':<APIKEY>', '_': '1677263921906'}
2023-02-24 11:40:24,588::DEBUG::[interface:133] Request GET /api from 10.11.12.40 [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36] {'mode': 'showlog', 'apikey':<APIKEY>'}
__version__ = 19
__encoding__ = utf-8
[misc]
pre_script = None
queue_complete = ""
queue_complete_pers = 0
bandwidth_perc = 100
refresh_rate = 1
interface_settings = ""
queue_limit = 20
config_lock = 0
fixed_ports = 1
sched_converted = 0
notified_new_skin = 0
direct_unpack_tested = 0
check_new_rel = 1
auto_browser = 0
language = en
enable_https_verification = 0
host = 0.0.0.0
port = 8100
https_port = 8080
username=<USER>
password=<PASSWORD>
bandwidth_max = ""
cache_limit = 1G
web_dir = Glitter
web_color = Auto
https_cert = server.cert
https_key = server.key
https_chain = ""
enable_https = 0
inet_exposure = 2
api_key = <HASH>d85967e
nzb_key = <HASH>b08ec68
socks5_proxy_url = ""
permissions = ""
download_dir = Downloads/incomplete
download_free = ""
complete_dir = /mnt/mp/TvShows
complete_free = ""
fulldisk_autoresume = 0
script_dir = ""
nzb_backup_dir = ""
admin_dir = admin
backup_dir = ""
dirscan_dir = ""
dirscan_speed = 5
password_file = ""
log_dir = logs
max_art_tries = 3
load_balancing = 2
top_only = 0
sfv_check = 1
script_can_fail = 0
enable_recursive = 1
flat_unpack = 0
par_option = ""
pre_check = 0
nice = ""
win_process_prio = 3
ionice = ""
fail_hopeless_jobs = 1
fast_fail = 1
auto_disconnect = 1
no_dupes = 0
no_series_dupes = 0
series_propercheck = 1
pause_on_pwrar = 1
ignore_samples = 0
deobfuscate_final_filenames = 0
auto_sort = ""
direct_unpack = 0
propagation_delay = 0
folder_rename = 1
replace_spaces = 0
replace_underscores = 0
replace_dots = 0
safe_postproc = 1
pause_on_post_processing = 0
enable_all_par = 0
sanitize_safe = 0
cleanup_list = ,
unwanted_extensions = ,
action_on_unwanted_extensions = 0
unwanted_extensions_mode = 0
new_nzb_on_failure = 0
history_retention = 0
quota_size = ""
quota_day = ""
quota_resume = 0
quota_period = m
enable_tv_sorting = 0
tv_sort_string = ""
tv_categories = tv,
enable_movie_sorting = 0
movie_sort_string = ""
movie_sort_extra = -cd%1
movie_categories = movies,
enable_date_sorting = 0
date_sort_string = ""
date_categories = tv,
schedlines = ,
rss_rate = 60
ampm = 0
start_paused = 0
preserve_paused_state = 0
enable_par_cleanup = 1
process_unpacked_par2 = 1
enable_unrar = 1
enable_unzip = 1
enable_7zip = 1
enable_filejoin = 1
enable_tsjoin = 1
overwrite_files = 0
ignore_unrar_dates = 0
backup_for_duplicates = 1
empty_postproc = 0
wait_for_dfolder = 0
rss_filenames = 0
api_logging = 1
html_login = 1
warn_dupl_jobs = 1
helpful_warnings = 1
keep_awake = 1
tray_icon = 1
allow_incomplete_nzb = 0
enable_broadcast = 1
ipv6_hosting = 0
api_warnings = 1
no_penalties = 0
x_frame_options = 1
allow_old_ssl_tls = 0
rss_odd_titles = nzbindex.nl/, nzbindex.com/, nzbclub.com/
quick_check_ext_ignore = nfo, sfv, srr
req_completion_rate = 100.2
selftest_host = self-test.sabnzbd.org
movie_rename_limit = 100M
episode_rename_limit = 20M
size_limit = 0
direct_unpack_threads = 3
history_limit = 10
wait_ext_drive = 5
max_foldername_length = 246
nomedia_marker = ""
ipv6_servers = 1
url_base = /sabnzbd
host_whitelist = arr-suite,
local_ranges = ,
max_url_retries = 10
downloader_sleep_time = 10
num_simd_decoders = 2
ssdp_broadcast_interval = 15
ext_rename_ignore = ,
email_server = ""
email_to = <REMOVED>
email_from = ""
email_account = <REMOVED>
email_pwd = <REMOVED>
email_endjob = 0
email_full = 0
email_dir = ""
email_rss = 0
email_cats = *,
[logging]
log_level = 2
max_log_size = 5242880
log_backups = 5
[ncenter]
ncenter_enable = 0
ncenter_cats = *,
ncenter_prio_startup = 1
ncenter_prio_download = 0
ncenter_prio_pause_resume = 0
ncenter_prio_pp = 0
ncenter_prio_complete = 1
ncenter_prio_failed = 1
ncenter_prio_disk_full = 1
ncenter_prio_new_login = 0
ncenter_prio_warning = 0
ncenter_prio_error = 0
ncenter_prio_queue_done = 1
ncenter_prio_other = 1
[acenter]
acenter_enable = 0
acenter_cats = *,
acenter_prio_startup = 0
acenter_prio_download = 0
acenter_prio_pause_resume = 0
acenter_prio_pp = 0
acenter_prio_complete = 1
acenter_prio_failed = 1
acenter_prio_disk_full = 1
acenter_prio_new_login = 0
acenter_prio_warning = 0
acenter_prio_error = 0
acenter_prio_queue_done = 1
acenter_prio_other = 1
[ntfosd]
ntfosd_enable = 1
ntfosd_cats = *,
ntfosd_prio_startup = 1
ntfosd_prio_download = 0
ntfosd_prio_pause_resume = 0
ntfosd_prio_pp = 0
ntfosd_prio_complete = 1
ntfosd_prio_failed = 1
ntfosd_prio_disk_full = 1
ntfosd_prio_new_login = 0
ntfosd_prio_warning = 0
ntfosd_prio_error = 0
ntfosd_prio_queue_done = 1
ntfosd_prio_other = 1
[prowl]
prowl_enable = 0
prowl_cats = *,
prowl_apikey = <REMOVED>
prowl_prio_startup = -3
prowl_prio_download = -3
prowl_prio_pause_resume = -3
prowl_prio_pp = -3
prowl_prio_complete = 0
prowl_prio_failed = 1
prowl_prio_disk_full = 1
prowl_prio_new_login = -3
prowl_prio_warning = -3
prowl_prio_error = -3
prowl_prio_queue_done = 0
prowl_prio_other = 0
[pushover]
pushover_token = <REMOVED>
pushover_userkey = <REMOVED>
pushover_device = ""
pushover_emergency_expire = 3600
pushover_emergency_retry = 60
pushover_enable = 0
pushover_cats = *,
pushover_prio_startup = -3
pushover_prio_download = -2
pushover_prio_pause_resume = -2
pushover_prio_pp = -3
pushover_prio_complete = -1
pushover_prio_failed = -1
pushover_prio_disk_full = 1
pushover_prio_new_login = -3
pushover_prio_warning = 1
pushover_prio_error = 1
pushover_prio_queue_done = -1
pushover_prio_other = -1
[pushbullet]
pushbullet_enable = 0
pushbullet_cats = *,
pushbullet_apikey = <REMOVED>
pushbullet_device = ""
pushbullet_prio_startup = 0
pushbullet_prio_download = 0
pushbullet_prio_pause_resume = 0
pushbullet_prio_pp = 0
pushbullet_prio_complete = 1
pushbullet_prio_failed = 1
pushbullet_prio_disk_full = 1
pushbullet_prio_new_login = 0
pushbullet_prio_warning = 0
pushbullet_prio_error = 0
pushbullet_prio_queue_done = 0
pushbullet_prio_other = 1
[nscript]
nscript_enable = 0
nscript_cats = *,
nscript_script = ""
nscript_parameters = ""
nscript_prio_startup = 1
nscript_prio_download = 0
nscript_prio_pause_resume = 0
nscript_prio_pp = 0
nscript_prio_complete = 1
nscript_prio_failed = 1
nscript_prio_disk_full = 1
nscript_prio_new_login = 0
nscript_prio_warning = 0
nscript_prio_error = 0
nscript_prio_queue_done = 1
nscript_prio_other = 1
[servers]
[[news.newshosting.com]]
name = news.newshosting.com
displayname = news.newshosting.com
host = news.newshosting.com
port = 119
timeout = 60
username=<USER>
password=<PASSWORD>
connections = 8
ssl = 0
ssl_verify = 2
ssl_ciphers = ""
enable = 1
required = 0
optional = 0
retention = 0
expire_date = ""
quota = ""
usage_at_start = 0
send_group = 0
priority = 0
notes = ""
[categories]
[[*]]
name = *
order = 0
pp = 3
script = None
dir = ""
newzbin = ""
priority = 0
[[movies]]
name = movies
order = 0
pp = ""
script = Default
dir = ""
newzbin = ""
priority = -100
[[tv]]
name = tv
order = 0
pp = ""
script = Default
dir = ""
newzbin = ""
priority = -100
[[audio]]
name = audio
order = 0
pp = ""
script = Default
dir = ""
newzbin = ""
priority = -100
[[software]]
name = software
order = 0
pp = ""
script = Default
dir = ""
newzbin = ""
priority = -100


and the Prowlarr log shows:


2023-02-24 11:40:06.3|Warn|ProwlarrErrorPipeline|Invalid request Validation failed:
-- : Unable to connect to indexer, check the log for more details
2023-02-24 11:40:10.1|Warn|Newznab|Unable to connect to indexer

[v1.0.0.2171] System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.Throw(String res)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider.ParseCapabilities(HttpResponse response) in D:\a\1\s\src\NzbDrone.Core\Indexers\Definitions\Newznab\NewznabCapabilitiesProvider.cs:line 91
at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider.FetchCapabilities(NewznabSettings indexerSettings, ProviderDefinition definition) in D:\a\1\s\src\NzbDrone.Core\Indexers\Definitions\Newznab\NewznabCapabilitiesProvider.cs:line 71
at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider.<>c__DisplayClass4_0.<GetCapabilities>b__0() in D:\a\1\s\src\NzbDrone.Core\Indexers\Definitions\Newznab\NewznabCapabilitiesProvider.cs:line 37
at NzbDrone.Common.Cache.Cached`1.Get(String key, Func`1 function, Nullable`1 lifeTime) in D:\a\1\s\src\NzbDrone.Common\Cache\Cached.cs:line 114
at NzbDrone.Core.Indexers.Newznab.NewznabCapabilitiesProvider.GetCapabilities(NewznabSettings indexerSettings, ProviderDefinition definition) in D:\a\1\s\src\NzbDrone.Core\Indexers\Definitions\Newznab\NewznabCapabilitiesProvider.cs:line 37
at NzbDrone.Core.Indexers.Newznab.Newznab.get_PageSize() in D:\a\1\s\src\NzbDrone.Core\Indexers\Definitions\Newznab\Newznab.cs:line 32
at NzbDrone.Core.Indexers.Newznab.Newznab.GetRequestGenerator() in D:\a\1\s\src\NzbDrone.Core\Indexers\Definitions\Newznab\Newznab.cs:line 36
at NzbDrone.Core.Indexers.HttpIndexerBase`1.TestConnection() in D:\a\1\s\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:line 429
RequestUri: http://10.11.12.50:8100/api?t=caps&apikey=(removed) OK;ContentType: text/plain; charset=utf-8;ContentLength: 23;ContentSample: error: not implemented


2023-02-24 11:40:10.2|Error|Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware|An unhandled exception has occurred while executing the request.

[v1.0.0.2171] FluentValidation.ValidationException: Validation failed:
-- : Unable to connect to indexer, check the log for more details
at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in D:\a\1\s\src\Prowlarr.Api.V1\ProviderControllerBase.cs:line 204
at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in D:\a\1\s\src\Prowlarr.Api.V1\ProviderControllerBase.cs:line 195
at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderResource providerResource) in D:\a\1\s\src\Prowlarr.Api.V1\ProviderControllerBase.cs:line 144
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\BufferingMiddleware.cs:line 28
at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\IfModifiedMiddleware.cs:line 41
at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\CacheHeaderMiddleware.cs:line 33
at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\UrlBaseMiddleware.cs:line 27
at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\VersionMiddleware.cs:line 28
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2023-02-24 11:40:10.2|Warn|ProwlarrErrorPipeline|FluentValidation.ValidationException: Validation failed:
-- : Unable to connect to indexer, check the log for more details

[v1.0.0.2171] FluentValidation.ValidationException: Validation failed:
-- : Unable to connect to indexer, check the log for more details
at Prowlarr.Api.V1.ProviderControllerBase`3.VerifyValidationResult(ValidationResult validationResult, Boolean includeWarnings) in D:\a\1\s\src\Prowlarr.Api.V1\ProviderControllerBase.cs:line 204
at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderDefinition definition, Boolean includeWarnings) in D:\a\1\s\src\Prowlarr.Api.V1\ProviderControllerBase.cs:line 195
at Prowlarr.Api.V1.ProviderControllerBase`3.Test(TProviderResource providerResource) in D:\a\1\s\src\Prowlarr.Api.V1\ProviderControllerBase.cs:line 144
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Prowlarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\BufferingMiddleware.cs:line 28
at Prowlarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\IfModifiedMiddleware.cs:line 41
at Prowlarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\CacheHeaderMiddleware.cs:line 33
at Prowlarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\UrlBaseMiddleware.cs:line 27
at Prowlarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\src\Prowlarr.Http\Middleware\VersionMiddleware.cs:line 28
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2023-02-24 11:40:10.3|Warn|ProwlarrErrorPipeline|Invalid request Validation failed:
-- : Unable to connect to indexer, check the log for more details[/code]

I'm looking forward to learning what I am doing wrong!
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

P.S. - Setting up SABnzbd as a download client succeeds. It is only when I attempt to set it up as an indexer does the call fail. Thanks!
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: SAB doesn't allow connection from internal network.

Post by sander »

RoLLER wrote: February 24th, 2023, 4:21 am SAB doesn't let me connect with the hostname sabnzbd from Radarr.

I get the error message:
Refused connection with hostname "sabnzbd" from: ::ffff:172.20.0.2 [Radarr/4.3.2.6857 (alpine 3.17.2)]

Is there a solution to this?

Thanks in advance!
What happens if you google 'Refused connection with hostname "sabnzbd" ' ?
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: SAB doesn't allow connection from internal network.

Post by jcfp »

utahwazoo wrote: February 24th, 2023, 4:28 pmI'm looking forward to learning what I am doing wrong!
utahwazoo wrote: February 24th, 2023, 4:52 pmP.S. - Setting up SABnzbd as a download client succeeds. It is only when I attempt to set it up as an indexer does the call fail. Thanks!
Well... maybe that's because sabnzbd is a download client, and not an indexer?
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

sander wrote: February 25th, 2023, 1:21 am
RoLLER wrote: February 24th, 2023, 4:21 am SAB doesn't let me connect with the hostname sabnzbd from Radarr.

I get the error message:
Refused connection with hostname "sabnzbd" from: ::ffff:172.20.0.2 [Radarr/4.3.2.6857 (alpine 3.17.2)]

Is there a solution to this?

Thanks in advance!
What happens if you google 'Refused connection with hostname "sabnzbd" ' ?
Hi.

I tried your " google" suggestion. As is usually the case with Google, I got many, many pages of results. That's about it.

I assume that you are unfamiliar with my network schema. I have all devices that serve the infrastructure set to a fixed IP address that doesn't change. For example:

x.x.x.1 - Cable modem
x.x.x.2 - LAN bridge
x.x.x.3 - Wireless AP
x.x.x.4 - Pi-Hole

x.x.x.1x - Servers

x.x.x.3x - Home automation devices
x.x.x.30 - T520 Thin Client (Full Debian install)
x.x.x.32 - Headless Debian install

x.x.x.4x - Workstations
x.x.x.40 - My host
x.x.x.41 - My old computer I use for Handbrake and other stuff that ties up the CPU

x.x.x.5x - TrueNAS jails
x.x.x.50 - jail running Sonarr/Radarr/Bazarr etc.

I never use DHCP for anything that I need to access over the LAN. In my testing of SAB I use x.x.x.30 (full debian install) for the version on my T520 Thin Client, 127.0.0.1 for the address of the localhost on the T520, and 127.0.14.6 for the address of the container inside the internal Docker instance. I have also experiment with the SAB app installed on my computer, With Docker on my computer running SAB and the *arr apps, etc. I have tried Docker on my x.x.x.32 headless T520 client. I get the same errors every time.

This all used to work as apps on my host until recent updates tightened security. I was getting "indexer" errors after an update, the Google searching that problem lead to the idea that running the suite in Docker would solve the problem.

At least now I can say that I Googled 'Refused connection with hostname "sabnzbd. In short, I do not use hostnames.
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

jcfp wrote: February 25th, 2023, 4:50 am Well... maybe that's because sabnzbd is a download client, and not an indexer?
Ok. I am somewhat new to SABnzbd. When I first installed it as an app on my host months ago, I started out by configuring it to point to all of my media directories. When I deleted it to start over I discovered that it had taken my 30+ year music collection and moved it into it's personal directory structure. I was not expecting to lose all of my music by partially configuring an app and setting it aside. It may come down to the fact that multiple sections have individual "save" buttons, but each save button saves everything on that page and some setting I had abandoned was in fact saved.

Back to the topic at hand: in Prowlarr there is only one public indexer for news feeds. None of the private ones appear to directly expose an API for a usenet server. The usenet provider I use (recommended by SABnzbd - News.newshosting.com ) does provide an app, but I have not found a means of using it as an indexer. My understanding is that SAB acts as a front-end for newshosting.com for managing download requests. Thus SAB has the purpose of acting like an indexer.

At least it used to work that way.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: SAB doesn't allow connection from internal network.

Post by sander »

@utahwazoo you're mixing things up, including advice written towards @ROLLER
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

@utahwazoo you're mixing things up, including advice written towards @ROLLER
Ok, I figured out what you are saying. @ROLLER's issue was specific to the DHCP issue, while mine is a more specific problem involving use of the IP address. Sorry about that.

How do I proceed?
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: SAB doesn't allow connection from internal network.

Post by sander »

utahwazoo wrote: February 25th, 2023, 3:48 pm

How do I proceed?
I would go to square 1 and learn about the basics of newsgroups. https://www.reddit.com/r/usenet/wiki/faq/ is a good start.
utahwazoo
Newbie
Newbie
Posts: 10
Joined: February 23rd, 2023, 11:31 pm

Re: SAB doesn't allow connection from internal network.

Post by utahwazoo »

I would go to square 1 and learn about the basics of newsgroups. https://www.reddit.com/r/usenet/wiki/faq/ is a good start.
I'm sure you mean well, but this doesn't address my original question about why SABnzbd is failing to authenticate with Prowlarr with an IP address. The OP apparently had a problem with trying to use DHCP.

Perhaps you could explain why Prowlarr offers up SABnzbd as an indexer if SABnzbd doesn't function as an indexer.
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: SAB doesn't allow connection from internal network.

Post by sander »

utahwazoo wrote: February 26th, 2023, 1:31 pm

Perhaps you could explain why Prowlarr offers up SABnzbd as an indexer if SABnzbd doesn't function as an indexer.
I can't. I've never seen or used Prowlarr. This is the SABnzbd forum, not Prowlarr.
Post Reply