Prowlarr and sonarr can't find each other

crashmat104

Cadet
Joined
Mar 6, 2023
Messages
7
There are a couple older posts of this but none of them have an actual solution. Basically they give the error
Code:
2023-03-06 10:25:58.6|Fatal|ProwlarrErrorPipeline|Request Failed. POST /api/v1/applications/test

[v1.2.2.2699] System.Net.Http.HttpRequestException: Connection refused (192.168.0.80:7878)
 ---> System.Net.Sockets.SocketException (61): Connection refused

when you try to connect them even though everything is inputted correctly.
no errors appear on the add apps screen itself other than the red stop sign thing when I clicked test.
I thought this was particularly strange considering radarr connected to qBittorrent perfectly fine.
I haven't changed too much, just have a couple other plugins installed: sonarr, jellyfin, and nextcloud.
sonarr's webgui also won't show up although it's supposedly running but i suppose that should be in a separate thread.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
Seems like a network issue. Are both services up? I suspect you run them on different jails.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
are you sure your network address is correct: 192.168.0.80 ?
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
can you ping each other? I would use a tcpdump to see what cuts the traffic.
do a: netstat -rn on both jails and check default gateway
 

crashmat104

Cadet
Joined
Mar 6, 2023
Messages
7
can you ping each other? I would use a tcpdump to see what cuts the traffic.
do a: netstat -rn on both jails and check default gateway
it says 'connection refused' when I try to ping them from each other (telnet) whereas with qbittorrent it just connects.
default gateway for prowlarr is 172.16.0.1
radarr is 172.16.0.5
tcpdump says 'there are no BPF devices' and people on the internet seem to indicate its a permissions issue but permissions confuse me and I already failed at giving qbittorrent permissions to move stuff around within its downloads directory on a default install so I don't really know how to fix that
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
I am confused but the default gateway. How can you have 2 different gateways for the same network?
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
That's your LEED. Find what happens. Add the default route manually and see if works after
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
NAT jails are a headache to work with IMO. The internal DHCP system used by iocage is complicated to work out and using a DNS inside iocage to help is not well documented.

Just use VNET jails and they will work as you expect (able to connect to each other on their own IP addresses).
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
Let me tst the setup you have. I can tell i never used nat jails.
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
so i just installed 2 fails. both behind a NAT.
test1 ip: 172.16.0.2/30 -> default gw 172.16.0.1
test2 ip: 172.16.0.6/30 -> default gw 172.16.0.5

everything works between the 2.
just did a quick Iperf works on any port.

this is my conf on both jails:
1678813781269.png
 

crashmat104

Cadet
Joined
Mar 6, 2023
Messages
7
NAT jails are a headache to work with IMO. The internal DHCP system used by iocage is complicated to work out and using a DNS inside iocage to help is not well documented.

Just use VNET jails and they will work as you expect (able to connect to each other on their own IP addresses).
in the jail 'edit' settings it says VNET is on
 

nikkon

Contributor
Joined
Dec 16, 2012
Messages
171
have you stopped the jail? you need to stop it if you want to make any modifcation
 

d1ddle

Cadet
Joined
Jun 8, 2023
Messages
4
Did you ever fix this issue? I'm having this problem but my jails were installed using Plugins. I figured that they can both communicate using default jail IPv4 addresses set on plugin install, but this brakes after a restart because the IPs are reassigned. I've tried disabling VNET and using shown settings, but now cannot get to either web UI.
 
Top