No servers found in AWS image

When trying to the latest 14.3 patch, I receive the following error in an AWS EC2 server (amd64):
Code:
root@freebsd:~ # freebsd-update fetch
src component not installed, skipped
Looking up aws.update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature for 14.3-RELEASE from dualstack.aws.update.freebsd.org... failed.
No mirrors remaining, giving up.

This may be because upgrading from this platform (amd64)
or release (14.3-RELEASE) is unsupported by freebsd-update. Only
platforms with Tier 1 support can be upgraded by freebsd-update.
See https://www.freebsd.org/platforms/ for more info.

If unsupported, FreeBSD must be upgraded by source.
root@freebsd:~ #
I could fix that by issuing freebsd-update -s update.freebsd.org fetch, but anyhow it seems that something is wrong with the AWS images or the dedicated update server.
 
Can you debug this a little more?

Because freebsd-update is a shell script, you can see what commands it invokes and then run them manually with flags appended to enable debug output (or more verbose output). Find out what server is being contacted, what's its IP address, whether it's IPv4 or IPv6, what HTTP error code is returned, if any. The problem might also be in DNS. Or it might be a misconfiguration of your EC2 instance or VPC.
 
What I can already say:
Everything seems to be fine with dualstack.aws.update.freebsd.org.
From my local machine I can reach it:
Code:
root@elfreebsdo1 ~# freebsd-update -s dualstack.aws.update.freebsd.org fetch
Looking up dualstack.aws.update.freebsd.org mirrors... none found.
Fetching metadata signature for 14.3-RELEASE from dualstack.aws.update.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 14.3-RELEASE-p2.
root@elfreebsdo1 ~#
So I need to investigate more on my server.
 
Seems like a DNS issue to me:
Code:
root@freebsd:~ # grep Server /etc/freebsd-update.conf
# Server or server pool from which to fetch updates.  You can change
ServerName aws.update.FreeBSD.org
root@freebsd:~ # ping aws.update.FreeBSD.org
ping: cannot resolve aws.update.FreeBSD.org: Address family for hostname not supported
root@freebsd:~ #
 
Back
Top