OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
« previous next »
  • Print
Pages: [1]

Author Topic: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror  (Read 9804 times)

mossi2000

  • Newbie
  • *
  • Posts: 28
  • Karma: 4
    • View Profile
OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
« 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
Logged

The_Sage

  • Newbie
  • *
  • Posts: 48
  • Karma: 6
    • View Profile
Re: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
« Reply #1 on: January 01, 2019, 10:28:48 pm »
Go to Firmware settings and choose a different mirror. Then retry Check for Updates.
Logged

mossi2000

  • Newbie
  • *
  • Posts: 28
  • Karma: 4
    • View Profile
Re: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
« Reply #2 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.
Logged

mojojojotroi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
« Reply #3 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
Logged

mojojojotroi

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
« Reply #4 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...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • OPNSense System|Firmware|Update fails: Timeout connecting to selected mirror
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2