npm shrinkwrap results in ECONNRESET errors with 3rd Party Registry (Follow-up) #11125
Comments
Is there a way to see what specific request an ECONNRESET pertains to? I don't see it in silly logging. Looking into this further on the IIS / ProGet side, I see 200s returned for all requests. I realize this is drifting away from npm a little, but any additional information pertaining to what requests fail would be appreciated. |
We have the same issue using proget and shrinkwrap. |
That implies to me that the npm will retry on
Unfortunately, given the way HTTP request errors bubble through the system (and given the way Node creates those error messages), it's a lot harder than you'd think to get that information on there. It's undeniably useful, so at some point the CLI team would like to put some work into making those error messages more useful, but it's not something we're going to have time to get to soon.
This is on the roadmap for this year, although realistically it's probably going to be 2016Q2 at the earliest before the team has the cycles available to do the necessary work. That said, give Because I don't think there's anything specific here to how npm interacts with ProGet, and because the bugs that you've encountered are being tracked elsewhere, I'm going to close this issue. Let us know if you need further help getting the CLI working with your network + registry setup. Thanks for the followup! |
This is a follow-up to issue 11117.
@iarna, I was able to reproduce the ECONNRESET errors against our ProGet instance and captured everything with silly logging turned on. The attached log file has been scrubbed for our ProGet URL (the organization has been replaced with "contoso") and the username ("foouser"), but everything else should be original.
I was not able to reproduce the 404s, but if I encounter that behavior again, I will either attach or create a new issue.
We make more than 1,000 resource requests for modules as part of the package we are installing. Not to put the cart before the horse, but if this indeed turns out to be a throttling issue, I don't suppose there's much we can do with ProGet at this time, and the two options we may have would be to a) wait until a throttling feature is added to the npm client, or b) use npm private modules or a different registry, correct?
Thanks very much again for checking into this!
npm-silly-scrubbed.txt
The text was updated successfully, but these errors were encountered: