I stopped at where I chose which version to install

I stopped at where I chose which version to install.

It looks like it just lost its connection to the internet. You probably just need to try again. If it keeps happening, you might need to find a better internet connection.

1 Like

Thank you for your reply! I’ve been experiencing this issue whether I’m using a VPN or not. I saw on Reddit that someone else was experiencing this issue as well, and, he didn’t seem to be experiencing it at first.

I was forced to try the Ubuntu Asahi install script and found that I didn’t have this problem. At first, I thought it was a problem with my network configuration, but now it seems, not quite.

Is this an issue? If so, how would you guys handle it? Much appreciated!

Ubuntu Asahi is served from a different server. It sounds like you have trouble connecting to some servers.

Try to access https://asahilinux-fedora.b-cdn.net/. If that doesn’t work, that’s your issue. You could try curl -v https://asahilinux-fedora.b-cdn.net/ and see what it returns. It could be a DNS issue, or it could be something weird with the bunny.net CDN from your location.

Given that it happens with and without a VPN, my bet is it’s a DNS issue (and your DNS is either leaking outside the VPN, or you have a local firewall or adblock type thing that is erroneously blocking us).

If the curl works but the installer does not, please paste the output. That might help us figure out if there is some deeper issue.

1 Like

Tank you for your reply! This problem makes me very desperate. Following your prompts, I deleted my original custom DNS and used the default one.

Without using a proxy, running curl -v https://asahilinux-fedora.b-cdn.net/, I got the following results:

* Trying 143.244.50.88:443...
* Connected to asahilinux-fedora.b-cdn.net (143.244.50.88) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* Recv failure: Connection reset by peer
* LibreSSL/3.3.6: error:02FFF036:system library:func(4095):Connection reset by peer
* Closing connection
curl: (35) Recv failure: Connection reset by peer
kuiyuanmin@kuiyuandeMacBook-Pro ~ % curl -v https://asahilinux-fedora.b-cdn.net/
* Trying 143.244.50.88:443...
* Connected to asahilinux-fedora.b-cdn.net (143.244.50.88) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* Recv failure: Connection reset by peer
* LibreSSL/3.3.6: error:02FFF036:system library:func(4095):Connection reset by peer
* Closing connection
curl: (35) Recv failure: Connection reset by peer

I then made the terminal use the proxy and ran curl ipinfo.io first to determine this and I got:


   "ip": "212.102.38.112",
   "hostname": "680536040.prg.cdn77.com",
   "city": "Prague",
   "region": "Prague",
   "country": "CZ",
   "loc": "50.0880,14.4208",
   "org": "AS60068 Datacamp Limited",
   "postal": "110 00",
   "timezone": "Europe/Prague",
   "readme": "https://ipinfo.io/missingauth"
}%

Then, I ran curl -v https://asahilinux-fedora.b-cdn.net/ and got the following results:

* Uses proxy env variable all_proxy == 'socks5://127.0.0.1:9909'
* Trying 127.0.0.1:9909...
* Connected to 127.0.0.1 (127.0.0.1) port 9909
* SOCKS5 connect to 143.244.50.88:443 (locally resolved)
* SOCKS5 request granted.
* Connected to 127.0.0.1 (127.0.0.1) port 9909
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/cert.pem
* CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-AES256-GCM-SHA384
* ALPN: server accepted h2
* Server certificate:
* subject: CN=*.b-cdn.net
* start date: Nov 5 00:00:00 2023 GMT
* expire date: Nov 11 23:59:59 2024 GMT
* subjectAltName: host "asahilinux-fedora.b-cdn.net" matched cert's "*.b-cdn.net"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=Sectigo Limited; CN=Sectigo RSA Domain Validation Secure Server CA
* SSL certificate verify ok.
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://asahilinux-fedora.b-cdn.net/
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: asahilinux-fedora.b-cdn.net]
* [HTTP/2] [1] [:path: /]
* [HTTP/2] [1] [user-agent: curl/8.4.0]
* [HTTP/2] [1] [accept: */*]
>GET/HTTP/2
> Host: asahilinux-fedora.b-cdn.net
> User-Agent: curl/8.4.0
> Accept: */*
>
< HTTP/2 200
< date: Thu, 18 Apr 2024 13:13:57 GMT
< content-type: text/html
< content-length: 1314
< vary: Accept-Encoding
< server: BunnyCDN-LA1-994
< cdn-pullzone: 1588772
< cdn-uid: b9074aff-9450-4b98-aa5d-d8de424b9ec8
< cdn-requestcountrycode: CZ
< cache-control: public, max-age=604800
< last-modified: Tue, 19 Dec 2023 15:06:54 GMT
< via: 1.1 0374a8bfb91fe309192ac0599e725a5c.cloudfront.net (CloudFront)
< x-amz-server-side-encryption: AES256
< x-cache: RefreshHit from cloudfront
< x-amz-cf-pop: LAX50-P1
< x-amz-cf-id: MEn-O7oxPeLG02mA3VpYwOWKj-sCd7KQGF-ib_3LUhH_Ns0BVwPBWw==
<cdn-proxyver: 1.04
< cdn-requestpullsuccess: True
<cdn-requestpullcode: 206
<cdn-cachedat: 04/18/2024 13:13:57
< cdn-edgestorageid: 994
< cdn-status: 200
< cdn-requestid: b7bdec8533a8108a1d6d9bfbaf8f016d
< cdn-cache: MISS
< accept-ranges: bytes
<
<html>
<head>
   <title>Fedora Asahi Remix</title>
   <style>
a:link {
   text-decoration: none;
}

a:visited {
   text-decoration: none;
}

a:hover {
   text-decoration: none;
}

a:active {
   text-decoration: none;
}
</style>
</head>
<body>
   <div style="text-align: center; font-family: 'Open Sans', sans-serif;">
     <h1 style="font-family: 'Montserrat', sans-serif">Fedora Asahi Remix</h1>
     <img src="laptop.svg" width="400px" alt="Mac laptop with the Asahi logo on screen"/>
     <p><pre style="font-size: 20px">curl https://fedora-asahi-remix.org/install | sh</pre></p>
     <p>Fedora Asahi Remix is now released! Read the <a href="https://asahilinux.org/fedora">announcement</a>.</p>
     <p>
       <a href="https://docs.fedoraproject.org/en-US/fedora-asahi-remix/">Docs</a>&nbsp;|&nbsp;<a href="https://discussion.fedoraproject. org/c/neighbors/asahi/92">Discussion</a>&nbsp;|&nbsp;<a href="builds.html">Builds</a><br>
       <a href="https://matrix.to/#/#asahi:fedoraproject.org">#asahi:fedoraproject.org</a><br>
       <a href="https://fedoraproject.org/wiki/SIGs/Asahi">Fedora Asahi SIG</a><br>
       <a href="https://asahilinux.org/">Asahi Linux</a><br>
       <a href="https://getfedora.org/">Fedora</a>
     </p>
     <img src="fedora_remix.png" width="100px" alt="Fedora Remix Logo"/>
   </div>
</body>
</html>

It seems that the network is connected. So I tried to run the magic command curl https://alx.sh | sh and completed the previous steps such as partitioning, but when I chose which version to install, I still encountered the same failure:

Choose an OS to install:
   1: Fedora Asahi Remix 39 with KDE Plasma
   2: Fedora Asahi Remix 39 with GNOME
   3: Fedora Asahi Remix 39 Server
   4: Fedora Asahi Remix 39 Minimal
   5: UEFI environment only (m1n1 + U-Boot + ESP)
» OS: 2

Downloading OS package info...
root: ERROR Exception caught
Traceback (most recent call last):
   File "/private/tmp/asahi-install/main.py", line 1058, in <module>
     InstallerMain(installer_version).main()
   File "/private/tmp/asahi-install/main.py", line 866, in main
     while self.main_loop():
   File "/private/tmp/asahi-install/main.py", line 1021, in main_loop
     return self.action_install_into_free(parts_free)
   File "/private/tmp/asahi-install/main.py", line 292, in action_install_into_free
     self.osins.load_package()
   File "/private/tmp/asahi-install/osinstall.py", line 47, in load_package
     self.ucache = urlcache.URLCache(package)
   File "/private/tmp/asahi-install/urlcache.py", line 26, in __init__
     self.size = self.get_size()
   File "/private/tmp/asahi-install/urlcache.py", line 67, in get_size
     con.request("HEAD", self.url.path, headers={"Connection":" keep-alive"})
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1257, in request
     self._send_request(method, url, body, headers, encode_chunked)
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1303, in _send_request
     self.endheaders(body, encode_chunked=encode_chunked)
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1252, in endheaders
     self._send_output(message_body, encode_chunked=encode_chunked)
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1012, in _send_output
     self.send(msg)
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 952, in send
     self.connect()
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 1426, in connect
     self.sock = self._context.wrap_socket(self.sock,
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 500, in wrap_socket
     return self.sslsocket_class._create(
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1040, in _create
     self.do_handshake()
   File "/private/tmp/asahi-install/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1309, in do_handshake
     self._sslobj.do_handshake()
ConnectionResetError: [Errno 54] Connection reset by peer
If you need to file a bug report, please attach the log file:
   /private/tmp/asahi-install/installer.log

Really desperate!

After that failed, I tried running the network test multiple times. Always get the following result:

~ % curl -v https://asahilinux-fedora.b-cdn.net/
* Uses proxy env variable all_proxy == 'socks5://127.0.0.1:9909'
* Trying 127.0.0.1:9909...
* Connected to 127.0.0.1 (127.0.0.1) port 9909
* SOCKS5 connect to [2400:52e0:1a01::999:1]:443 (locally resolved)
* connection to proxy closed
* Closing connection
curl: (97) connection to proxy closed

Although I get the following results at the same time:

~ % curl ipinfo.io
{
   "ip": "212.102.38.112",
   "hostname": "680536040.prg.cdn77.com",
   "city": "Prague",
   "region": "Prague",
   "country": "CZ",
   "loc": "50.0880,14.4208",
   "org": "AS60068 Datacamp Limited",
   "postal": "110 00",
   "timezone": "Europe/Prague",
   "readme": "https://ipinfo.io/missingauth"
}%

What’s going on with the proxy? I’m honestly not sure if we support proxies in the installer (there is no explicit support but maybe Python does it for us?)… if you rely on that for your network connectivity then it might not work. VPN solutions usually use full tunneling, not just a proxy (which as I suspected leaks your DNS and isn’t really a proper VPN mechanism).

Thank you for your patience in answering. This problem is really making me desperate! I’ve never had such an elusive network connectivity problem before. Usually, if I change my proxy, I get normal access to networks that are otherwise inaccessible. However, this doesn’t apply to Asahi, and it looks like it’s happening at the stage where Python is working. I’m not sure what else I can do for the network. Asahi’s servers don’t seem to welcome my network.

Also, as mentioned in an earlier post, I installed Ubuntu Asahi without this problem. However, probably because it’s such an old version, it doesn’t work at all on my Mac, mainly because every time I boot up, it freezes at the Gnome login screen and I can’t see the login session box.

Thanks again! If there are any new developments related to this, I hope you can let me know~

Maybe try doing the install from https://fedora-asahi-remix.org instead? That one uses a different CDN from asahilinux.org, though the Fedora images are the same.

Thank you! I tried installing with curl https://fedora-asahi-remix.org/install | sh and didn’t have that desperate problem anymore. It looks like curl https://alx.sh | sh may be providing a CDN that doesn’t welcome my network configuration.

I am now replying to you on my M1 MacbookPro running Aasahi! The excitement is overwhelming! Thanks again to everyone here who is so enthusiastic!