Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Unable to Download Basic NPM Package



  • When my scheduled task kicks off I get the error below or something similar about loosing connection. I am attempting to use the NPM feed to get the generic npm packages from https://www.npmjs.com/

    I suspect I do am missing something in the setup process any assistance you can provide would be greatly appreciated.

    ERROR: Error processing JSON: System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)

    Product: ProGet
    Version: 3.8.6



  • Unfortunately, that's not uncommon.

    Keep in mind the remote registry is a gigantic JSON file that ProGet downloads and then processes. What's happening is that npmjs.org is just inexplicitly terminating the connection during the download. You could be downloading it too slowly, too fast, or who knows? You can try it again, and maybe it will work.

    Some users have reported that downloading the file from a different network, and then hosting that file on a local server works fine.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation