OPNsense Forum

Archive => 23.7 Legacy Series => Topic started by: heypppoe on October 26, 2023, 07:13:41 AM

Title: Fetching base-23.7.7-amd64.txz took forever....
Post by: heypppoe on October 26, 2023, 07:13:41 AM
Fetching base-23.7.7-amd64.txz: .............................................
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: mimugmail on October 26, 2023, 07:35:19 AM
Lack of space, or restart Unbound for DNS or some IPv6 issues. Can you check them first please?
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: heypppoe on October 26, 2023, 07:53:33 AM
Quote from: mimugmail on October 26, 2023, 07:35:19 AM
Lack of space, or restart Unbound for DNS or some IPv6 issues. Can you check them first please?

256G ssd, 1% usage, ipv6 disabled, unbound dns can resolve the address.
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: franco on October 26, 2023, 10:06:23 AM
Ok, so the download is slow?


Cheers,
Franco
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: heypppoe on October 26, 2023, 10:25:01 AM
Quote from: franco on October 26, 2023, 10:06:23 AM
Ok, so the download is slow?


Cheers,
Franco

Not sure, where is the server located? 140 MB size, and ended with signature invalid...
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: franco on October 26, 2023, 10:29:06 AM
It could have ran into a timeout. The main server is in Amsterdam, but the question is which one you picked and where you are located. But this could also be ISP related.


Cheers,
Franco
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: heypppoe on October 26, 2023, 10:37:04 AM
Quote from: franco on October 26, 2023, 10:29:06 AM
It could have ran into a timeout. The main server is in Amsterdam, but the question is which one you picked and where you are located. But this could also be ISP related.


Cheers,
Franco

I am using: https://opnsense.aivian.org
tried few other location, still the same, I am located at China
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: franco on October 26, 2023, 10:59:15 AM
Try the dns-root one, it is a Cloudflare geo thing.


Cheers,
Franco
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: heypppoe on October 26, 2023, 11:17:03 AM
Quote from: franco on October 26, 2023, 10:59:15 AM
Try the dns-root one, it is a Cloudflare geo thing.


Cheers,
Franco

Okay, thank you!
I suggest lower the timeout for update, or let user manually set, this is really frustrating.... Has to wait the very long timeout.
Or give user a button to cancel current download.
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: franco on October 26, 2023, 11:42:21 AM
The timeout is 30 seconds. The problem is the download appears active so the timeout is never reached.


Cheers,
Franco
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: heypppoe on October 26, 2023, 12:06:36 PM
Quote from: franco on October 26, 2023, 11:42:21 AM
The timeout is 30 seconds. The problem is the download appears active so the timeout is never reached.


Cheer,
Franco

okay, seems found the problem, after select the alternative mirror, the system still trying to get update from pkg.opnsense.org
and connection from China to this site is supper slow...
And the "status" tab in firmware update page is keep loading, never stop, even restart the system.
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: franco on October 26, 2023, 12:10:33 PM
Yes, my bad then. You can manually add the following patch:

https://github.com/opnsense/update/commit/bd59f2dff5

# opnsense-patch -c update bd59f2dff5
# /usr/local/etc/rc.configure_firmware


Cheers,
Franco
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: heypppoe on October 26, 2023, 05:38:08 PM
Quote from: franco on October 26, 2023, 12:10:33 PM
Yes, my bad then. You can manually add the following patch:

https://github.com/opnsense/update/commit/bd59f2dff5

# opnsense-patch -c update bd59f2dff5
# /usr/local/etc/rc.configure_firmware


Cheers,
Franco

Okay, after manually add the patch and run the command, and update from ssh session, it works, but on the webUI, ui/core/firmware#status still loading, and nothing in that tab, also the plugin tab and package tab are empty.

here is the full log:
Quote
***GOT REQUEST TO CHECK FOR UPDATES***
Currently running OPNsense 23.7.7 at Thu Oct 26 23:39:59 CST 2023
Fetching changelog information, please wait... fetch: transfer timed out
fetch: /usr/local/opnsense/changelog/changelog.txz appears to be truncated: 0/117288 bytes
Updating OPNsense repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: .......... done
Processing entries: .......... done
OPNsense repository update completed. 851 packages processed.
Updating mimugmail repository catalogue...
Fetching meta.conf: . done
Fetching packagesite.pkg: ........ done
Processing entries: .......... done
mimugmail repository update completed. 190 packages processed.
All repositories are up to date.
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking for upgrades (3 candidates): ... done
Processing candidates (3 candidates): .
pkg: libevent has a missing dependency: openssl
Processing candidates (3 candidates)... done
Checking integrity... done (0 conflicting)
Your packages are up to date.
***DONE***
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: franco on October 26, 2023, 09:21:06 PM
> Updating mimugmail repository catalogue...

Third party repo will update soon. openssl vs. openssl111 issue.
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: heypppoe on October 27, 2023, 04:05:01 AM
Quote from: franco on October 26, 2023, 09:21:06 PM
> Updating mimugmail repository catalogue...

Third party repo will update soon. openssl vs. openssl111 issue.

After remove mimugmail repository, everything back to normal, thank you!
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: mimugmail on October 27, 2023, 09:30:12 AM
Hopefully this weekend, my latest build missed some Java pkg's .. relabel pkg's what a mess ..
Title: Re: Fetching base-23.7.7-amd64.txz took forever....
Post by: franco on October 27, 2023, 09:47:53 AM
Welcome to my world :>