-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Network errors when installing hellow world #52
Comments
Huh, interesting... I hadn't seen that particular error for the handful of times I've tested from a fresh environment (although I've only really tested on Ubuntu and my good home internet connection). I remember you mentioned that you were using NixOS, so I might see if I could reproduce through that, but I have a few questions if you feel comfortable answering:
All of the downloads are handled with Reqwest, and the blob fetches specifically don't have a global timeout set (they do have a connect timeout and a read timeout at least). The registry is hosted in Fly.io, but the blobs get redirected and served from Cloudflare R2 |
Actually, now that I think about it, I only have Fly.io instances near Seattle, maybe I just need to expand to more Fly.io regions... |
I am in Lisbon. I can curl the file manually, but it feels very slow for 4 kilobytes (about 10 seconds actually). |
Okay, I've come up with a few possible explanations, and I've also made a few changes to try and address them. Let me try and summarize:
Could you try If it seems like things have improved, then the final test would be trying the hello world installation from scratch again (also with some extra debugging for good measure):
If that still fails, then |
Yup, the first time around it took a minute, the second one was fast. I guess it might make sense to bump default timeouts to something like 120 seconds, rather than just 10? 10 is a reasonable number for the steady state, but with cold boots, network topology changes and what not, I think P100 could go higher than that. |
Oh yeah, it sounds like this was resolved by #54 |
If I try
I get a timeout:
If I manually bump in-code timeouts to 60s from 10s, I then get some error about "temporary DNS failure" (sadly, lost the exact text of error somewhere in the git history)
The text was updated successfully, but these errors were encountered: