OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: kbhsn4 on July 06, 2023, 01:47:36 PM

Title: Unable to download from opnsense repository
Post by: kbhsn4 on July 06, 2023, 01:47:36 PM
Hi,

I have a Proxmox virtualized OPNsense 23.1.11, and I'm unable to update it. It simply hangs (or are extremely slow to download) when I check for updates.

When I go to the shell, I'm able to download stuff at full speed - like an Ubuntu install iso (just a random example):

root@gw2:~ # fetch https://releases.ubuntu.com/22.04.2/ubuntu-22.04.2-desktop-amd64.iso
ubuntu-22.04.2-desktop-amd64.iso                2% of 4699 MB 7968 kBps 10m25s^C
fetch: transfer interrupted

(I interrupted it myself - I don't need Ubuntu on my firewall) ;)

But as soon as I try to download anything from an OPNsense repo, the download stops or stalls immediately:

root@gw2:~ # fetch https://pkg.opnsense.org/FreeBSD:13:amd64/23.1/latest/packagesite.pkg
packagesite.pkg                                 0% of  234 kB    0  Bps


How do I get updating to work?
Title: Re: Unable to download from opnsense repository
Post by: kbhsn4 on July 06, 2023, 02:32:09 PM
Extra info:

If I connect a VM to the OPNsense LAN, that client is able to download from the OPNsense repos without problems.

And if I connect the test VM to the same router (in parallel with OPNsense) it works fine as well.

The problem seems to be only on the OPNsense VM itself.
Title: Re: Unable to download from opnsense repository
Post by: CJ on July 06, 2023, 04:56:23 PM
Can you paste the OPNSense update log?  Did you test downloading from that site or just Ubuntu and FreeBSD?

What does your OPNSense VM config look like in Proxmox?

I just did a clean install of PVE and OPNSense 23.1 and updated it to 23.1.11 just fine over the weekend for a blog post I'm working on.