OPNsense Forum

Archive => 18.7 Legacy Series => Topic started by: mossi2000 on January 01, 2019, 06:14:41 pm

Title: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
Post by: mossi2000 on January 01, 2019, 06:14:41 pm
Hi,
yesterday I tried to update OPNsense 18.7.5 via Check for Updates. Timeout....
I searched around, checked various things DNS... and so, tried pkg update -f:

Updating OPNsense repository catalogue...
pkg: Repository OPNsense load error: access repo file(/var/db/pkg/repo-OPNsense.sqlite) failed: No such file or directory
pkg: http://mirror.dataroute.de/opnsense/FreeBSD:11:amd64/18.7/latest/meta.txz: No address record

Internet access works fine, I have Unbound DNS with the DNS over TLS activated.

Today I had the ides to check if I can get the file/the mirror site directly:
Pasted the http:// URL from the error message into the browser: And - yep I get the index page for amd64/18.7/latest.

So what's wrong there? Why can't I get possible updates, when access basically is working.

Axel
Title: Re: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
Post by: The_Sage on January 01, 2019, 10:28:48 pm
Go to Firmware settings and choose a different mirror. Then retry Check for Updates.
Title: Re: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
Post by: mossi2000 on January 02, 2019, 11:25:19 am
This was one of the first things I tried. Tried 3 different mirrors. Same result.
The strange thing is, that I can reach the page for download from the browser, but pkg update cannot.
Title: Re: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
Post by: mojojojotroi on April 09, 2019, 04:15:58 pm
Hi,

If you're stuck, this workaround works for me : https://forum.opnsense.org/index.php?topic=11341.0
212.32.245.132 stands for the repo pkg.opnsense.org
Title: Re: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
Post by: mojojojotroi on April 11, 2019, 03:06:14 pm
Hi,

Since I added in the web GUI a static route 0.0.0.0/0 to my ISP WAN gateway, all web GUI wizards/tools who connect to internet seems to work well.
It seems that some web GUI tools don't use the existing system routes table...