Closed sloppycoder closed 2 weeks ago
I'm running this on a M1 Macbook Air with Rancher Desktop 1.13.1.
Seems like a networking issue for me, that maybe has nothing to do with rye?
I built a devcontainer with rye inside myself using the rye feature. Maybe that helps you. See https://containers.dev/features and search for rye. And add the follwing to your devcontainer json:
"features": {
"ghcr.io/schlich/devcontainer-features/rye:1": {
"version": "1.2.2"
}
}
I started with this feature, which gave me the same problem, which led me to the steps to reproduce.
I launched fresh VMs with x64 and arm64 CPUs on Google Cloud, installed docker.io and then re-run the steps. both turned out to be ok!
Seems like it's a Rancher Desktop problem. I'll file a bug there, but I appreciate some insight how to debug and troubleshoot. And maybe the rye code can use a bit more retry to handle this sort of flaky network?
i implemented a temporary workaround that adds host needed to /etc/hosts. I'll take it up with Rancher Desktop and LIMA app project on this.
closing since it's the issue is elsewhere.
Steps to Reproduce
But manually run wget to download works fine.
Expected Result
the installer script should be able to bootstrap itself.
Actual Result
the script fails with
[6] Couldn't resolve host name (Could not resolve host: github.com)
. Sometimes the host name isobjects.githubusercontent.com
. Manually downloaduv
with wget always works, as show above.Version Info
0.34.0. also tried 0.33.0, 0.32.0, same result. also tried bullseye version of the microsoft devcontainer image, same result
Stacktrace
No response