arr: fix prowlarrUrl for cross-netns reachability
All checks were successful
Build and Deploy / deploy (push) Successful in 1m47s
All checks were successful
Build and Deploy / deploy (push) Successful in 1m47s
Prowlarr runs in the wg VPN namespace; Sonarr/Radarr run in the host namespace. Configuring the Prowlarr sync with prowlarrUrl=localhost:9696 made Sonarr/Radarr try to connect to their own localhost, where Prowlarr does not exist — the host netns. Every indexer sync emitted 'Prowlarr URL is invalid' with Connection refused (localhost:9696). Use vpnNamespaces.wg.namespaceAddress (192.168.15.1) so host-netns clients hit the wg-side veth where Prowlarr is listening. Also re-enables healthChecks on prowlarr-init: the /applications/testall endpoint now validates clean (manually verified via API).
This commit is contained in:
@@ -17,15 +17,17 @@
|
|||||||
BindAddress = "*";
|
BindAddress = "*";
|
||||||
EnableSsl = false;
|
EnableSsl = false;
|
||||||
};
|
};
|
||||||
# Synced-app health checks require Sonarr/Radarr to reverse-connect to
|
# Prowlarr runs in the wg netns; Sonarr/Radarr in the host netns.
|
||||||
# prowlarrUrl, which is unreachable across the wg namespace boundary.
|
# From host netns, Prowlarr is reachable at the wg namespace address,
|
||||||
healthChecks = false;
|
# not at localhost (which resolves to the host's own netns).
|
||||||
|
# Health checks can now run — the reverse-connect is reachable.
|
||||||
|
healthChecks = true;
|
||||||
syncedApps = [
|
syncedApps = [
|
||||||
{
|
{
|
||||||
name = "Sonarr";
|
name = "Sonarr";
|
||||||
implementation = "Sonarr";
|
implementation = "Sonarr";
|
||||||
configContract = "SonarrSettings";
|
configContract = "SonarrSettings";
|
||||||
prowlarrUrl = "http://localhost:${builtins.toString service_configs.ports.private.prowlarr.port}";
|
prowlarrUrl = "http://${config.vpnNamespaces.wg.namespaceAddress}:${builtins.toString service_configs.ports.private.prowlarr.port}";
|
||||||
baseUrl = "http://${config.vpnNamespaces.wg.bridgeAddress}:${builtins.toString service_configs.ports.private.sonarr.port}";
|
baseUrl = "http://${config.vpnNamespaces.wg.bridgeAddress}:${builtins.toString service_configs.ports.private.sonarr.port}";
|
||||||
apiKeyFrom = "${service_configs.sonarr.dataDir}/config.xml";
|
apiKeyFrom = "${service_configs.sonarr.dataDir}/config.xml";
|
||||||
serviceName = "sonarr";
|
serviceName = "sonarr";
|
||||||
@@ -34,7 +36,7 @@
|
|||||||
name = "Radarr";
|
name = "Radarr";
|
||||||
implementation = "Radarr";
|
implementation = "Radarr";
|
||||||
configContract = "RadarrSettings";
|
configContract = "RadarrSettings";
|
||||||
prowlarrUrl = "http://localhost:${builtins.toString service_configs.ports.private.prowlarr.port}";
|
prowlarrUrl = "http://${config.vpnNamespaces.wg.namespaceAddress}:${builtins.toString service_configs.ports.private.prowlarr.port}";
|
||||||
baseUrl = "http://${config.vpnNamespaces.wg.bridgeAddress}:${builtins.toString service_configs.ports.private.radarr.port}";
|
baseUrl = "http://${config.vpnNamespaces.wg.bridgeAddress}:${builtins.toString service_configs.ports.private.radarr.port}";
|
||||||
apiKeyFrom = "${service_configs.radarr.dataDir}/config.xml";
|
apiKeyFrom = "${service_configs.radarr.dataDir}/config.xml";
|
||||||
serviceName = "radarr";
|
serviceName = "radarr";
|
||||||
|
|||||||
Reference in New Issue
Block a user