-
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
[bug] socket hang up #668
Comments
OK, it seems that it's not
|
I am getting the From my package.json:
One thing I do know is that our corporate firewall is currently blocking yarnpkg.com and should hopefully be cleared up tomorrow some time. Not sure if this is an issue. |
This is also happening to me. But like for @jimpoulakos , |
Windows 10, 512kbps... I can't finish any install. Lots of (random) socket hang ups. NPM works properly most of the time Example: yarn add v0.15.1 |
I'm reopening this issue, since other people seem to be affected by it. |
Not sure if this issue has been fixed but I'm also getting the same issue when doing But
|
same problem here "socket hang up" |
Same problem about "socket hang up" |
I am getting the socket hang up issue too |
it's happening to me |
Same problem here. |
Same problem. The error appears randomly at different packages. Here is a sample:
It doesn't matter if a node_modules directory exist or not. |
Same here. |
@masihyeganeh I think you are right. I just came home where I have regular internet connection and |
Same problem here. |
I think this is one of the major issues as I couldn't start working on a existing project using |
Same problem here. |
I can confirm this. At home I only have 2Mbit/s and it does not work there. At work I have a decently fast Internet connection and I don't get any errors. |
I agree, bandwidth is the problem. After 5 attempts I moved closer to the router and it is working |
@masihyeganeh |
Same problem here. |
It seems to be fixed in 0.16.0. Can anyone confirm this? |
That's hard to say of course @michel-kraemer. I don't think anyone has consistently reproduced it. |
I reproduced the ETIMEDOUT 3 times, then the fourth time it worked. The error in yarn-error.log is: Trace: Fast.com shows 20 Mbps internet. |
With v0.16.0 now I get: [2/4] Fetching packages... and yarn-error.log contains: Trace: |
That's exactly what I just described @jromero2k. |
What I was trying to say in the comment right above yours @george3447 is please use github's reactions feature. Maintainers of this repo will likely be drowning in messages to go through as is 😉 . Also we won't all get notified of your +1's or duplicate messages. |
yarn v0.16.0
however, npm works fine. |
Yarn connects to wholly different servers though so npm working where Yarn doesn't that might just be a bad connection to the Yarn proxy repo. Still that shouldn't cause exceptions. |
[1/4] Resolving packages...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
warning There appears to be trouble with your network connection. Retrying...
error An unexpected error occured, please open a bug report with the information provided in "/home/kelvin/workspace/nodejs/Mean-Blog/server/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
|
@bsed Why not use githubs' reactions feature? |
Yep. Same problem here. But when i checkouted another network, It become ok |
@bestander for what I understand we can close this in favor of more specific issues. |
I was able to solve this problem by disabling my antivirus (Malwarebytes in my case). |
Like @shleycarter, I also solved by disabling Malwarebytes |
Indeed Malwarebytes was the culprit in my case as well. For future reference, I was trying to install JHipster when it happened (yarn global add generator-jhipster). |
Any news on this ??? |
Running on ubuntu app in Windows 10, trying to compile angular. Yarn version: Node version: Platform: Trace: |
Any working solution? |
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When running
yarn
with existing (and correct)package.json
and emptynode_modules
I getsocket hang up
error on a X package. Next time I runyarn
I get the same error, but for Y package.Example output:
If the current behavior is a bug, please provide the steps to reproduce.
Hard to think of steps to reproduce the issue. Below are my dependencies:
What is the expected behavior?
Yarn should install all packages, npm works just fine with my current setup.
Please mention your node.js, yarn and operating system version.
yarn: 0.15.1
OS: Linux 4.7.6-1
node: v6.6.0
I suppose this may be the problem with servers being overloaded but I'm posting this issue in case there's something else and this is in fact some bug.
The text was updated successfully, but these errors were encountered: