-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading node is super slow #562
Comments
I've tried to reinstall node and now I can't work because if this :( |
It usually completes in the end, but not fast enough for CI |
I'll have a look and see if something is up with cloudflare/digitalocean. |
@jbergstroem https://www.cloudflarestatus.com/ they have problem. |
Either this or nodejs/nodejs.org#1061 should probably be closed, to keep it in one place 😄 |
I did get some TLS errors initially, before it just plain timed out |
I wonder if there is any chance that we can build/provide mirror service in case we have some familiar problem again? |
Traffic is within 5% of what we can expect around this time of day. I didn't see any out of the ordinary errors in our nginx error log and our ssl certs are valid. |
Issue still exists.
|
(I'm not saying we're not experiencing issues, just taking notes from what I can measure) |
Same problem when downloading from Finland -- all larger (few MB or more) downloads fail with Partial Content. |
I'm getting pretty awful packet loss to the origin host; investigating. |
I can confirm that even just trying to load benchmarking.nodejs.org is taking a really long time from Ottawa/Canada |
Definitely something going on at our host. I've gotten in touch with support but will try to debug as much as possible (which as you know is a great experience over ssh with packet loss). Update:
We have rsync jobs almost two hours old (backup, benchmarking, rsync dist) which would point to network degradation at least at that point. Bandwidth history seems to be pretty consistent though.. |
I saw that Travis is downloading Node.js versions via Here is what is preinstalled (Build system information): Here is the log entry from I don't know why it's doing that (downloading Node.js v6.9.1 again) because we have set an explicit version (which should be pre-installed) in our language: node_js
node_js:
- 6.9.1 Build Log: |
@bennyn I think |
@jbergstroem is there any chance to provide an alternative or mirror site so that we can tolerance the problem until it's fixed? Thanks. |
@PeterDaveHello you can try using http://unencrypted.nodejs.org. It is a mirror but shouldn't be treated as such when nodejs.org is unavailable (read: this is not the official mirror, just an unencrypted version for old http clients) |
Update: The issue is identified, I'm working with DO support to resolve it. |
There's a second issue I think should be addressed. If a EDIT: whoops, look like that's a new issue for that now. Awesome! |
@matthewp that's an issue with travis, or maybe nvm. Not nodejs.org |
Correct! Sorry for the noise. |
@PeterDaveHello ouch. I'm updating it now -- give it a few minutes. |
@jbergstroem is it possible to provide an official method to mirror it? |
@PeterDaveHello unencrypted.nodejs.org is in preparations of being both a http and rsync mirror. We will officially announce it when done. |
@jbergstroem that's awesome, thanks for the info! Maybe you can consider still enable https on it but just not force https on it, so one more choice, and safer. |
@jbergstroem CircleCI SRE/Ops person here ... after you have recovered from the event please do reach out to me (us) if we can be of any assistance with mirrors |
Progress update: we will have to move the origin host to finally resolve the network issues. Should not take more than 20 minutes. |
@bear it'll be good to have a local mirror inside Circle CI 👍 |
@bear: thanks for reaching out. For those of you that are interested in mirroring; |
20 minutes has passed, so another update: Host is back up; we're still working with support to resolve networking issues - but hopefully this'll come to an end very shortly. |
Update: we're back and catching up. I will keep a close look at performance and will finally close issues once everything is back. Expect a followup blog post / issue once we've collected all information. |
I wonder if there are some Cloudflare settings we can use to make the caching more aggressive and not run into this in the future. For our downloads, all of the content is "append only" right? We never replace resources that we put up there so we could make the caching super aggressive. /cc @terinjokes |
@jbergstroem You should check out Mosh, https://mosh.org/. At least that way your ssh session will feel responsive instead of utter tripe when on an unreliable connection. |
@mikeal: there's a few things we can do to improve a situation where our origin runs into availability issues:
@mikeal you're correct -- each node.js artifact is treated as read-only once generated (we have checksums for all of them), which means that cf could fully front us once 1. above is accomplished. |
Going to close this issue now, since we've resolved all outstanding issues. Please let us know if you find anything not working. Thanks for having patience with us! |
Which account type would we need? I thought we had a comp'd enterprise account? |
@mikeal: it used to be enterprise, now is business. |
@mikeal I'm happy to chat with you offline and see what we can do.
…On Dec 9, 2016 10:57 AM, "Johan Bergström" ***@***.***> wrote:
@mikeal <https://github.com/mikeal>: it used to be enterprise, now is
business.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#562 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAQsZQ0pOaZsSg4Ih8qmui6P1dc_FrH7ks5rGaSEgaJpZM4LI6ur>
.
|
Thank you for your hard work! It was a pretty minor inconvenience for me, my Travis builds were not working during the downtime. I assuming that most others were experiencing simular pain. Moving forward, I added this to my .travis.yml file to cache my node version to avoid the build dependency:
|
I spoke with Terin about this. With our current account there are more aggressive caching rules we can set. @terinjokes can give use the exact syntax. |
@terinjokes perhaps drop by our irc channel and have a chat? I'm jbergstroem@freenode, channel is #node-build. |
@mikeal see my comment above as why we don't cache "everything". |
@jbergstroem Hi! do you still plan to provide official mirror mechanism? Looks like http://unencrypted.nodejs.org/dist/ is down now? Since nodejs.org was down again few days ago and I don't know if there is any ETA on it, I can only use other stupid method to mirror it right now, to prevent the next server down and provide better performance 😉 To those who needs a mirror, you can try: http://ftp.yzu.edu.tw/nodejs.org-dist, export NVM_NODEJS_ORG_MIRROR="http://ftp.yzu.edu.tw/nodejs.org-dist" |
@PeterDaveHello it's not gone; its mirrored at http://unencrypted.nodejs.org/download/. The landing page I created to say it was unencrypted was temporarily 404'ing (not sure we should even keep it). |
the same here |
X-post: nodejs/nodejs.org#1061
Our builds are currently failing because of this. Sorry if it's the wrong repo
The text was updated successfully, but these errors were encountered: