No internet for plugins

Kracazol

Dabbler
Joined
Oct 17, 2018
Messages
12
Hello all

I have been running a freenas / truenas setup for about 3 years now, running Plexpass as a plugin and Sonarr, Radarr and Sabnzb in a jail following the setup guide here: https://www.truenas.com/community/t...gure-sonarr-radarr-and-sabnzbd-11-1-u5.68483/

After the lastest Truenas update Radarr has stopped working correctly and becomes uncommunicative after about 30 seconds from restart, besides that everything still works. Due to this and not being able to find anyone else suffering from this or any kind of solution except possibly updating Mono (which sounded very complicated to a noob like me) I decided to try and install Radarr as a plugin and if successful follow suit with Sonarr and Sabnzb.

I have now spent many many hours trying to get Radarr working as a plugin and no matter what i do or how i set it up I cannot seem to get internet connectivity from within the plugin. The jails connection seems fine and i can ping google.co.uk and 8.8.8.8 no problem but Radarr cannot reach indexers, download clients or TMDB.

I have tried using DHCP and Radarr shows up in my routers DHCP table and i have tried just using NAT both with the same result. I have tried installing Sonarr with the same result, I have tried copying the setting from my Plexpass plugin (which works fine) with the same result.

I am sure i am missing something very embarrassingly obvious here, but i have tried very hard to search for a solution with no success. I am nearly at the point of running all the programs in a windows VM purely because its familiar territory, but this would not be an ideal solution due to hardware limitations.

Any help would be much appreciated and if any logs or traces are needed please let me know but note that my shell skills are very limited.

Thanks.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Do you have a default gateway configured in the host?
 

Kracazol

Dabbler
Joined
Oct 17, 2018
Messages
12
Thank for your response.

Yes I have specified the IPv4 default router to my routers IP in the jails basic settings and I have also tried setting the default gateway in Truenas's network settings under global config.

The jail always has internet access but the addon does not as far as i can tell
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Is VNET enabled? I don't think multicast plugins will work without VNET.
 

Kracazol

Dabbler
Joined
Oct 17, 2018
Messages
12
Yes VNET is enabled, here is what the basic setup looks like.

1638433373725.png
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
What's in the "resolver" field down in the "Network" section of the jail config?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
That looks good. At the moment I fail to understand what you mean by "the jail has got Internet access but the addon has not" - what's the addon here? If the jail has Internet access all that is within TrueNAS' responsibility works as it should, doesn't it?
 

Kracazol

Dabbler
Joined
Oct 17, 2018
Messages
12
The addon in question is Radarr

If i go into shell on the jail i can ping external sites like google.co.uk and 8.8.8.8 but when manage the addon it behaves as if it has no internet connectivity. For example it cannot communicate with TVDB (FYI: I can ping thetvdb.com in shell)

Do you mean that if the problem is within Radarr then it is outside the scope of these forums? Sorry I hadnt really thought about it like that.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
If a shell inside the jail can reach hosts on the Internet and has got proper name resolution, then the problem must be application specific. There are quite some regulars here who just happen to know not only TrueNAS but also e.g. OpenVPN or Nextcloud, but then there also might be better addresses to ask. I personally have never heard of Radarr - sorry.
 

Paidlogic

Cadet
Joined
Dec 2, 2021
Messages
3
I'm having the same issue with any plugin I try to install ( I've tried radarr, jackett, sonarr, deluge, emby and plex)
Like kracazol I can ping from a shell in the jail and reach Google fine but once I access their web gui there's no internet access and they cannot communicate with each other either.
I've installed them using all default settings. Changed network settings for the plugins to ensure their correct. Reinstalled the plugins. Reset truenas and reinstalled truenas. I have no idea at this point.
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Can you provide the output of ifconfig -a inside and outside one jail? I wonder if jumbo frames is enabled inside the jail for some reason.
 

Kracazol

Dabbler
Joined
Oct 17, 2018
Messages
12
Hi Samuel

Sorry for the delay, I had to figure out how to use ssh in order to copy the output.

Inside Jail
Code:
root@Radarr:/ # ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=0<> metric 0 mtu 33160
        groups: pflog
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:ff:60:f9:39:8f
        hwaddr 02:79:a1:bd:c9:0b
        inet 192.168.0.23 netmask 0xffffff00 broadcast 192.168.0.255
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=1<PERFORMNUD>

Outside Jail
Code:
root@Hercules[~]# ifconfig -a
igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 15                                                                                                  00
        options=a500b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN                                                                                                  _HWFILTER,VLAN_HWTSO,RXCSUM_IPV6>
        ether 0c:c4:7a:db:54:3a
        inet 192.168.0.11 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=9<PERFORMNUD,IFDISABLED>
igb1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=e507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCS                                                                                                  UM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 0c:c4:7a:db:54:3b
        inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=9<PERFORMNUD,IFDISABLED>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=0<> metric 0 mtu 33160
        groups: pflog
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:dd:32:6c:6d:00
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: vnet0.10 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 8 priority 128 path cost 2000
        member: vnet0.8 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 7 priority 128 path cost 2000
        member: vnet0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 6 priority 128 path cost 2000000
        member: igb0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000
        groups: bridge
        nd6 options=1<PERFORMNUD>
vnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1                                                                                                  500
        options=80000<LINKSTATE>
        ether fe:a0:98:45:99:26
        hwaddr 58:9c:fc:10:ff:9b
        groups: tap
        media: Ethernet autoselect
        status: active
        nd6 options=1<PERFORMNUD>
        Opened by PID 2976
vnet0.8: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu                                                                                                   1500
        description: associated with jail: Plexpass as nic: epair0b
        options=8<VLAN_MTU>
        ether 02:ff:60:b7:36:b5
        hwaddr 02:f8:f4:23:65:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=1<PERFORMNUD>
vnet0.10: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mt                                                                                                  u 1500
        description: associated with jail: newmedia_jail as nic: epair0b
        options=8<VLAN_MTU>
        ether 02:ff:60:cc:1e:25
        hwaddr 02:8c:eb:80:6d:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=1<PERFORMNUD>
 

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Part of your problem is you've got igb0 and igb1 on the same subnet. Try turning off igb1 and removing all its IP config, as it's responding to the return traffic meant for bridge0, where igb0 lives, and where all the jails are attached, but doesn't know about what's going on with igb0, so it's dropping all the return packets.
 

Kracazol

Dabbler
Joined
Oct 17, 2018
Messages
12
Hi Samuel

I have deleted the network interface igb1 and as far as i can tell its no longer being used but i cant seem to remove it entirely. I have run the same ipconfig's to see if they look ok now.

The original jail with radarr, sonarr and sabnzb in it seems to be working now and for that im am eternally grateful :tongue:. The new jail with the radarr pugin still suffers from the same problems though.

Inside Jail
Code:
root@Radarr:/ # ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=0<> metric 0 mtu 33160
        groups: pflog
epair0b: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 02:ff:60:f9:39:8f
        hwaddr 02:f8:f4:23:65:0b
        inet 192.168.0.23 netmask 0xffffff00 broadcast 192.168.0.255
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=1<PERFORMNUD>


Outside Jail
Code:
root@Hercules[~]# ifconfig -a
igb0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=a500b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6>
        ether 0c:c4:7a:db:54:3a
        inet 192.168.0.11 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=9<PERFORMNUD,IFDISABLED>
igb1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=e507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 0c:c4:7a:db:54:3b
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
        nd6 options=1<PERFORMNUD>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=0<> metric 0 mtu 33160
        groups: pflog
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:dd:32:6c:6d:00
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto stp-rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: vnet0.3 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 9 priority 128 path cost 2000
        member: vnet0.2 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 8 priority 128 path cost 2000
        member: vnet0.1 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 7 priority 128 path cost 2000
        member: vnet0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 6 priority 128 path cost 2000000
        member: igb0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000
        groups: bridge
        nd6 options=1<PERFORMNUD>
vnet0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80000<LINKSTATE>
        ether fe:a0:98:45:99:26
        hwaddr 58:9c:fc:10:ff:9b
        groups: tap
        media: Ethernet autoselect
        status: active
        nd6 options=1<PERFORMNUD>
        Opened by PID 2946
vnet0.1: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Plexpass as nic: epair0b
        options=8<VLAN_MTU>
        ether 02:ff:60:b7:36:b5
        hwaddr 02:02:46:cc:c2:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=1<PERFORMNUD>
vnet0.2: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: newmedia_jail as nic: epair0b
        options=8<VLAN_MTU>
        ether 02:ff:60:cc:1e:25
        hwaddr 02:31:4b:6d:c8:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=1<PERFORMNUD>
vnet0.3: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
        description: associated with jail: Radarr as nic: epair0b
        options=8<VLAN_MTU>
        ether 02:ff:60:f9:39:8e
        hwaddr 02:f8:f4:23:65:0a
        groups: epair
        media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
        status: active
        nd6 options=1<PERFORMNUD>
 
Last edited by a moderator:

Samuel Tai

Never underestimate your own stupidity
Moderator
Joined
Apr 24, 2020
Messages
5,399
Try turning off hardware offload on igb0. Offload is known to mess with jails and VMs.
 

Kracazol

Dabbler
Joined
Oct 17, 2018
Messages
12
Thanks for your continued help on this. I have turned off hardware offload but it doesn't seem to have affected anything.
 
Top