1
23.7 Legacy Series / Re: opnsense mirrors: "Connection refused" when checking for updates
« on: January 19, 2024, 12:43:06 pm »
I finally found the problem: there was an orphaned proxy setting in /usr/local/etc/pkg.conf
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pick a different mirror?
(...) and I tried different mirrors (...)
configctl firmware check
OK
opnsense-update -M
https://mirror-opnsense.serverbase.ch/FreeBSD:13:amd64/23.7
pkg update -f
Updating OPNsense repository catalogue...
pkg: https://mirror-opnsense.serverbase.ch/FreeBSD:13:amd64/23.7/latest/meta.txz: Connection refused
repository OPNsense has no meta file, using default settings
pkg: https://mirror-opnsense.serverbase.ch/FreeBSD:13:amd64/23.7/latest/packagesite.pkg: Connection refused
pkg: https://mirror-opnsense.serverbase.ch/FreeBSD:13:amd64/23.7/latest/packagesite.txz: Connection refused
Unable to update repository OPNsense
Error updating repositories!
curl "https://mirror-opnsense.serverbase.ch/FreeBSD:13:amd64/23.7/latest/packagesite.pkg"
configd.py 93027 - [meta sequenceId="393"] [bb7ec313-3623-4a36-85bb-9fce6a4d4600] Script action failed with Command '/usr/local/opnsense/scripts/firmware/query.sh remote ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/script_output.py", line 44, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.9/subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/opnsense/scripts/firmware/query.sh remote ' returned non-zero exit status 1.