setup-apkrepos: wget: error getting response: Connection reset by peer
Please see below output on a Raspberry Pi 3 freshly installed with aarch64:
Different destinations on the internet can be pinged, however.
alpine-headless:~# setup-apkrepos
6030439C7F000000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1889:
ssl_client: SSL_connect
wget: error getting response: Connection reset by peer
608042AD7F000000:error:0A000086:SSL routines:tls_post_process_server_certificate:certificate verify failed:ssl/statem/statem_clnt.c:1889:
ssl_client: SSL_connect
wget: error getting response: Connection reset by peer
r) Add random from the above list
f) Detect and add fastest mirror from above list
e) Edit /etc/apk/repositories with text editor
Enter mirror number (1-0) or URL to add (or r/f/e/done) [1]
alpine-headless:~# uname -a
Linux alpine-headless 6.1.43-0-rpi #1-Alpine SMP PREEMPT Mon Aug 7 12:41:27 UTC 2023 aarch64 Linux
I haven't adjusted / moved the files into the proper partitions yet as described here: https://wiki.alpinelinux.org/wiki/Classic_install_or_sys_mode_on_Raspberry_Pi#Installation
However it should work nevertheless IMHO.