blip.strongloop.com is dead - what is this?
Looks like you guys are (abusing) optionalDependencies to send a callback to your servers when someone downloads a package.
When it goes down, it has the nice side effect of making npm install take ages.
All SL projects are throwing something similar to:
npm http fetch GET http://blip.strongloop.com/[email protected]
npm ERR! fetch failed http://blip.strongloop.com/[email protected]
Oh, is that what blip.strongloop.com is? This is severely affecting us too.
:-1:
-1
:-1:
Just so you guys know, this affects us even when blip.strongloop.com is up because we are behind a firewall that does not allow connections to blip.strongloop.com.
:-1:

:-1:
:-1:
blip problem still annoying
https://github.com/strongloop/loopback/issues/1389
Is blip still annoying and affecting the installation 'experience' of loopback?
I got time to test my self this evening: still an "issue"
ob_000@OB-X1-CARBON ~/tmp
$ npm install loopback
npm ERR! fetch failed http://blip.strongloop.com/[email protected]
npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED
etc etc long time etc etc
The basic workaround is to:``
npm install loopback --no-optional
# and then the installation is sooo quick
I wonder why optional is not an option: why are optional components installed as default? npm problem Why are the optional components needed in the package.json at all: they should be optional like so many other things, npm install theOptionalStuff
Optional doesn't mean that it won't install by default, just that it won't abort the install if it fails. On May 21, 2015 2:47 PM, "Owen Brotherwood" [email protected] wrote:
I got time to test my self this evening: still an "issue"
ob_000@OB-X1-CARBON ~/tmp $ npm install loopback npm ERR! fetch failed http://blip.strongloop.com/[email protected] npm WARN retry will retry, error on last attempt: Error: connect ECONNREFUSED etc etc long time etc etc
The basic workaround is to:``
npm install loopback --no-optional
and then the installation is sooo quick
I wonder why optional is not an option: why are optional components installed as default? npm problem Why are the optional components needed in the package.json at all: they should be optional like so many other things, npm install theOptionalStuff
— Reply to this email directly or view it on GitHub https://github.com/strongloop/loopback/issues/1079#issuecomment-104400925 .
Yep: but it is loopback that has defined that the module should be in package.json.
npm does it's job (even though a bit illogical with optional being non-optional by default)
There are so many other modules that one has to install by purpose (ie optional to the working of loopback) but not "the blip"
@STRML possible edit Issue title to something about "the blip" should be installed by purpose as an extension of loopback ...
Edit: I wrote "npm problem" in my previous comment, I really meant that it was the way npm was being used/abused (opionionated)
I agree, I think they are abusing optionalDependencies here in order to track users; it is user-hostile.
@STRML I would probably say "not thoughtfull". I do not know what the functionality is (yet).
End User Experience
There is a considerable time overhead with the current situation of "the blip" and installation of loopback where it is not possible to contact "the blip"
This feature is affecting the installation experience of any user that has to deal with enterprise politics for what is connectable and is related to firewall's
Solution but with a but
It may be that all the methods used to install loopback allow for a --no-optional flag, and that there are no conflicts.
Possible workaround
In the meantime ... ... adding a host entry for 127.6.6.6 for blip.strongloop.com will shorten the installation time as the initial network connect will not require an external dns lookup, and a network connect will fail quicker.
Note: if you use blip.strongloop.com for anything else, then this is not the solution for you
@crandmck : the workaround or description of the time out is a possible addition to the firewall area of the doc @crandmck : are you able to give this issue a tag and/or a callout
https://github.com/strongloop/strong-build/issues/29 https://github.com/strongloop/loopback/issues/1389
Edit: @sam-github : Thanks
Simply not installing optional dependencies will have side effects you probably don't want, such as not having a loopback explorer: https://github.com/strongloop/loopback-example-app/blob/master/package.json#L22
We'll look to see what options we have for making npm install fail faster on unreachable optional dependencies.
For now I'm just setting blip.strongloop.com to 127.0.0.1 in /etc/hosts.
Rather than thinking about a patch to npm, would somebody please explain what blip.strongloop.com is for and why this optional dependency exists?
The choice of 127.6.6.6 was chosen with care: 127.0.0.1 is sometimes used for listening on and could also be a port that is being used for collecting the tarball by npm (defined in package.json).
In the case of firewall installations, the protocol used for git is often http(s), and the chances of a process listening on 127.0.0.0 increase in a developer environment. Unknown side effects for development environment
The chances of 127.6.6.6 being used is minimual: better safe than sorry...
Edit: https://github.com/strongloop/strong-pm/blob/master/README.md?#troubleshooting : shows use of 127.0.0.0 with a port === better safe than sorry when such suprises are in store