Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    proget
    2 Posts 1 Posters 5 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation