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!

    Npm on linux/Docker ProGet won't login

    Scheduled Pinned Locked Moved Support
    npmlinuxproget
    3 Posts 2 Posters 16 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

      I'm having trouble getting npm to login to a Docker-hosted ProGet (4.7.8 on c1858e8f1d8bdb46ed493a937e61bf951d7c730549abb54cd579e09332169510)

      npm client is on macOS, I'm using npm adduser --verbose

      login to Docker-hosted ProGet 4.7.8:

      npm info it worked if it ends with ok
      npm verb cli [ '/usr/local/Cellar/node/6.7.0/bin/node',
      npm verb cli   '/usr/local/bin/npm',
      npm verb cli   'adduser',
      npm verb cli   '--verbose' ]
      npm info using npm@3.10.7
      npm info using node@v6.7.0
      npm verb config Skipping project config: /Users/msmiley/.npmrc. (matches userconfig)
      Username: mike.smiley
      Password: 
      Email: (this IS public) mike.smiley@a2ius.com
      npm verb adduser before first PUT { _id: 'org.couchdb.user:mike.smiley',
      npm verb adduser   name: 'mike.smiley',
      npm verb adduser   password: 'XXXXX',
      npm verb adduser   email: 'mike.smiley@a2ius.com',
      npm verb adduser   type: 'user',
      npm verb adduser   roles: [],
      npm verb adduser   date: '2017-03-28T18:07:06.431Z' }
      npm verb request uri http://ambrose.a2ius.com/npm/npm/-/user/org.couchdb.user:mike.smiley
      npm verb request new user, so can't send auth
      npm info attempt registry request try #1 at 2:07:06 PM
      npm verb request id a8741d4396644053
      npm http request PUT http://ambrose.a2ius.com/npm/npm/-/user/org.couchdb.user:mike.smiley
      

      same login to 4.7.8 on Windows yields the following (as expected):

      npm info it worked if it ends with ok
      npm verb cli [ '/usr/local/Cellar/node/6.7.0/bin/node',
      npm verb cli   '/usr/local/bin/npm',
      npm verb cli   'adduser',
      npm verb cli   '--verbose' ]
      npm info using npm@3.10.7
      npm info using node@v6.7.0
      npm verb config Skipping project config: /Users/msmiley/.npmrc. (matches userconfig)
      Username: (mike.smiley) 
      Password: (or leave unchanged) 
      Email: (this IS public) (mike.smiley@a2ius.com) 
      npm verb adduser before first PUT { _id: 'org.couchdb.user:mike.smiley',
      npm verb adduser   name: 'mike.smiley',
      npm verb adduser   password: 'XXXXX',
      npm verb adduser   email: 'mike.smiley@a2ius.com',
      npm verb adduser   type: 'user',
      npm verb adduser   roles: [],
      npm verb adduser   date: '2017-03-28T18:02:20.183Z' }
      npm verb request uri http://ignatius/npm/npm/-/user/org.couchdb.user:mike.smiley
      npm verb request new user, so can't send auth
      npm info attempt registry request try #1 at 2:02:20 PM
      npm verb request id 662c0fb6d51a661f
      npm http request PUT http://ignatius/npm/npm/-/user/org.couchdb.user:mike.smiley
      npm http 201 http://ignatius/npm/npm/-/user/org.couchdb.user:mike.smiley
      npm verb headers { 'cache-control': 'private',
      npm verb headers   'content-length': '13',
      npm verb headers   'content-type': 'application/json; charset=utf-8',
      npm verb headers   server: 'Microsoft-HTTPAPI/2.0',
      npm verb headers   'x-aspnet-version': '4.0.30319',
      npm verb headers   'x-ua-compatible': 'IE=edge',
      npm verb headers   'x-proget-version': '4.7.8.4',
      npm verb headers   date: 'Tue, 28 Mar 2017 18:02:22 GMT' }
      npm verb request invalidating /Users/msmiley/.npm/ignatius/npm/npm/-/user/org.couchdb.user_3Amike.smiley on PUT
      npm info adduser Authorized user mike.smiley
      Logged in as mike.smiley on http://ignatius/npm/npm/.
      npm verb exit [ 0, true ]
      npm info ok 
      

      I've tried different npm feed names as well as different user names. HTTP PUT reply never arrives, but connection remains open.

      Product: ProGet
      Version: 4.7.8

      1 Reply Last reply Reply Quote 0
      • benB Offline
        ben inedo-engineer
        last edited by

        I haven't been able to figure out the solution or what part of the code is choking, but the problem is that there's a colon in the URL.

        For example, going to http://proget/%3A also hangs forever for the Linux version of ProGet.

        I've logged this as PG-769.

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

          This seems to be fixed as of the Docker image containing ProGet Version 4.7.14. The Docker image hash is: b7a3d6595c21d34997b4cbe6da9187801f410f17bff8e84228711bf29396a6ab pulled on 9/6/2017

          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