-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
ETIMEOUT 104.16.59.173:443 #944
Comments
Hi @MystK! Could you please try |
Hello, with the latest yarn, I will get the same error. Below is the yarn-error.log
|
I set up Bash on Windows and am able to successfully install packages. I think we can point to the operating system as the culprit. I am currently on Windows 10. |
Running into this error on OSX 10.12.0. |
I'm on OSX 10.11.6 and I'm seeing the same error |
I'm not sure what the problem is, but with the latest yarn, if I run "yarn" multiple times, it will finish. CORRECTION: If there is already a yarn.lock file, then I am able to run yarn multiple times for it to work. |
It has something to do with my network card. I tried hotspotting from my iPhone through USB and was successful. Everything else was similar. |
I had exactly the same problem. Doing OS: Windows 10 @MystK I wonder what you're network card is |
I have a "Intel(R) 82579V Gigabit Network Connection" It is a wired connection. I also have a ASUS RT-AC68U Router flashed with Merlin. Not sure if that matters. |
I am having the same problem:
OS: Windows 10 |
For my case, I highly doubt it's a flaky/packet loss issue. I have a very stable solution, although, a fix for #756, I think, might be a good workaround for this issue if the root cause cannot be determined. |
macOS Sierra.
Even retrying this command over and over doesn't solve the issue for me, I can't currently upgrade any of my packages. |
I'm just seeing this issue for the first time, but it's definitely just general connectivity in my case, as I see Cloudflare is having a minor service outage right now, according to their status website. In case it isn't clear from prior reports, some of those IP addresses previously reported are Cloudflare IP addresses. Cloudflare's service is utilized by Facebook Yarn for mitigating attacks agains the Yarn package repository, so it seems possible a Cloudflare outage might explain some of the timeouts people are reporting here, especially if the problem clears up when their status website reports "okay." Less importantly, but possibly helpful to note that my DNS lookup to the Yarn repo also resulted in the previously reported IP address reported, 104.16.62.173, and I am also seeing minor packet loss (3%) pinging to that same IP address. |
I've found a solution thanks to #2129 EX: |
|
|
Are we still going with "it's Cloudflare's fault" ? |
Upgrading to the latest version for debian 8 doesn't seem to help:
|
|
Nevermind, that was a fluke. |
I tried switching to node v6.10.0 and Even on node v7.6.0, Same error, otherwise -- yarn-error.log attached for version 6.10.0 after installing nodemon |
adding the Other things like |
anyone can tell me why? |
It's an issue with our network adapter I believe. It can't handle all the connections yarn is making.
…________________________________
From: 2suyun <[email protected]>
Sent: Friday, July 7, 2017 1:57 AM
To: yarnpkg/yarn
Cc: Antoine Pham; Mention
Subject: Re: [yarnpkg/yarn] ETIMEOUT 104.16.59.173:443 (#944)
anyone can tell me why?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#944 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHDm5CH4yN0N1fFV-rDYFxV9FjQgMAJbks5sLfMDgaJpZM4KVUDY>.
|
I'm curious whether everyone that uses yarn just always uses I have tried now and again over the past year and the problem still exists---is it fixable as far as can be determined? Sorry if it sounds like I'm just complaining... ultimately I really want to use yarn, as the few times it has worked for me, it did so incredibly fast! |
@rosshadden This can be mostly eliminated by using a global Also, we see this issue as well and we use Sinopia. Might be related. |
I'm having the same issue but my cause is much simpler. My network firewall and network packet scanners are designed to block applications from making connections to raw IP addresses. Even if i connect it to the proxy server, again, the proxy is designed to block raw ip connections. if its not on a verifiable dns name, i can't connect. Now, with that said, i am in the process of building out an Artifactory server to act as a file cache to manage and serve files inside the enterprise. How do i get this thing to try to pull the file from our artifactory server instead? |
I was only having this issue on my company site where and were assuming it was due to network connection issues. We had some unrelated network problems in the past and was reasonable to assume that it was the case for a lot of Recently I stumbled upon this github issue and out of curiosity started using a VPN connection whenever I need to Before the VPN attempt I also tried Is it possible that this problem to be related to networks with poor network link load balancing configurations and how yarn (or Cloudflare?) handles networks changes for consecutive connections? |
I was experiencing the same error, in my case it it was only when trying to to yarn add from a Docker container. Restarting Docker fixed my problem. |
We have been using Yarn in multiple places and companies without this setting so I think it is just some people having the issue.
This definitely doesn't sound like complaining but a genuine question and is very much appreciated :) I have a few proposals:
What do you think? (/cc @arcanis)
I honestly don't think this is related to Cloudflare. It sounds like poor network config or poor firewall config. |
Connecting with a VPN or |
|
This should be resolved with the latest version with #4447. If not please file a new issue since this one got a bit crowded and it is not clear what needs to be done. |
I have the exact same issue and I've been struggling for few weeks now. This only happens inside a Docker container, on my home network, and I'm running windows. I get ECONNREFUSED after a whole bunch of packages have been downloaded and those errors can happen at any point in time. The interesting thing is that it only happens on my home network, not at work ( similar to @ chadfurman last post ). I tried disabling my modem's firewall, AV, windows firewall, playing around with network settings, trying every single trick I found on the web related to Docker, npm, DNS or yarn, and yet none of the solutions worked for me. I haven't tried |
Looks like Also, I have a pretty good connection, and once again, it works outside of docker. Somehow Docker+ my home network = --edit--
|
@Xerios this should be fixed with newer versions of Yarn since it comes with a built-in DNS cache. If you are already using the latest version, would you mind opening a new issue with more details? |
Created new issue #5299, I'll check it out with the latest yarn build (1.4.x) this evening to see if the issue still persists. |
|
Error: Solução: Não faço ideia do motivo do erro. |
Still getting ETIMEDOUT sometimes on yarn |
add this is terminal "yarn add -D webpack --network-concurrency 1" |
In my case the reason was the local firewall (MacOS: Little Snitch) |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
cannot to a
yarn
If the current behavior is a bug, please provide the steps to reproduce.
Please mention your node.js, yarn and operating system version.
Node 6.7.0 64Bit
Windows 10
The text was updated successfully, but these errors were encountered: