I am trying to update my OPNsense installation, but always get this type of error when running the connectivity check:
Updating OPNsense repository catalogue...
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/meta.txz: Non-recoverable resolver failure
repository OPNsense has no meta file, using default settings
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/packagesite.pkg: Non-recoverable resolver failure
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/packagesite.txz: Non-recoverable resolver failure
Unable to update repository OPNsense
Error updating repositories!
***DONE***
What have I tried so far?
- Different mirrors, result is still the same
- Not a DNS issue, pings are successful from OPNSense shell
- IPv6 was one part of the problem, hence disabled it everywhere (interfaces, firewalls etc).
- From shell, executed a curl command to download the meta.txz file, file is downloaded without any problems
I have been googling the issue for more than hour now, with no resolution. Not sure what the problem is.
So I ran thais on my machine as well and when running the Connectivity test I got the exact same errors as you.
However it did not impact the functionality of my firewall or my ability to update. The issue seems to be isolated to just the checker.
Not sure I understand your question. Partial connectivity? IPv6 is disabled on mine.
I have no connectivity issues at all.
Quote from: franco on August 29, 2022, 11:32:52 AM
Partial connectivity check? Are we supposed to guess? :)
Likely: IPv6 defunct, disable it, done.
Yea, I only shared the part where errors showed up. Anyways I am posting full output for your reference. Also, I already disabled IPv6 everywhere, still no resolution. The I tried with IPv6, but there's some problem with IPv6 routing, the IPv6 DNS is getting resolved, but nothing gets pinged sharing the output from both:
Connectivity test with IPv6 enabled:***GOT REQUEST TO AUDIT CONNECTIVITY***
Currently running OPNsense 22.7.2 (amd64/OpenSSL) at Tue Aug 30 01:21:41 IST 2022
Checking connectivity for host: pkg.opnsense.org -> 89.149.211.205
PING 89.149.211.205 (89.149.211.205): 1500 data bytes
1508 bytes from 89.149.211.205: icmp_seq=0 ttl=54 time=151.274 ms
1508 bytes from 89.149.211.205: icmp_seq=1 ttl=54 time=152.029 ms
1508 bytes from 89.149.211.205: icmp_seq=2 ttl=54 time=153.996 ms
1508 bytes from 89.149.211.205: icmp_seq=3 ttl=54 time=150.960 ms
--- 89.149.211.205 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 150.960/152.065/153.996/1.181 ms
Checking connectivity for repository (IPv4): https://pkg.opnsense.org/FreeBSD:13:amd64/22.7
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 798 packages processed.
All repositories are up to date.
Checking connectivity for host: pkg.opnsense.org -> 2001:1af8:4f00:a005:5::
ping: UDP connect: No route to host
Checking connectivity for repository (IPv6): https://pkg.opnsense.org/FreeBSD:13:amd64/22.7
Updating OPNsense repository catalogue...
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/meta.txz: No route to host
repository OPNsense has no meta file, using default settings
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/packagesite.pkg: No route to host
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/packagesite.txz: No route to host
Unable to update repository OPNsense
Error updating repositories!
***DONE***
Connectivity test with IPv6 disabled:***GOT REQUEST TO AUDIT CONNECTIVITY***
Currently running OPNsense 22.7.2 (amd64/OpenSSL) at Tue Aug 30 01:45:12 IST 2022
Checking connectivity for host: pkg.opnsense.org -> 89.149.211.205
PING 89.149.211.205 (89.149.211.205): 1500 data bytes
1508 bytes from 89.149.211.205: icmp_seq=0 ttl=54 time=151.574 ms
1508 bytes from 89.149.211.205: icmp_seq=1 ttl=54 time=153.414 ms
1508 bytes from 89.149.211.205: icmp_seq=2 ttl=54 time=153.896 ms
1508 bytes from 89.149.211.205: icmp_seq=3 ttl=54 time=151.185 ms
--- 89.149.211.205 ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 151.185/152.517/153.896/1.158 ms
Checking connectivity for repository (IPv4): https://pkg.opnsense.org/FreeBSD:13:amd64/22.7
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 798 packages processed.
All repositories are up to date.
Checking connectivity for host: pkg.opnsense.org -> 2001:1af8:4f00:a005:5::
ping: UDP connect: No route to host
Checking connectivity for repository (IPv6): https://pkg.opnsense.org/FreeBSD:13:amd64/22.7
Updating OPNsense repository catalogue...
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/meta.txz: Non-recoverable resolver failure
repository OPNsense has no meta file, using default settings
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/packagesite.pkg: Non-recoverable resolver failure
pkg: https://pkg.opnsense.org/FreeBSD:13:amd64/22.7/latest/packagesite.txz: Non-recoverable resolver failure
Unable to update repository OPNsense
Error updating repositories!
***DONE***