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!

    Connector to Azure DevOps NPM package feed not working

    Scheduled Pinned Locked Moved Support
    15 Posts 4 Posters 70 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.
    • N Offline
      nicolas.morissette_6285 @stevedennis
      last edited by

      @stevedennis
      I created a dummy collection with a dummy project and a dummy feed on Azure DevOps that contains 1 NPM package.
      I sent the information (feed address and PAT) in an email with "[QA-529] issue with ADO NPM feed connector" as subject.

      Thanks,
      Nicolas

      1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer
        last edited by

        Thanks @nicolas-morissette_6285 -- we've received it, and I've attached to our internal dashboard. I can also see which domain/company you're with, based on the Email -- and it looks like your company purchased a license, thanks!

        I'll escalate the priority internally, and from here we'll just try to reproduce/research this (might take a day or two)... but we'll update as soon as we learn more!

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          nicolas.morissette_6285 @dean-houston
          last edited by

          @dean-houston Hey Dean,
          Thanks a lot!
          Yes we do have a license and use it to full potential. Microsoft is giving us/you a hard time with their DevOps feed.

          Will stay tuned for the update and let me know if you need anymore information.

          1 Reply Last reply Reply Quote 0
          • rhessingerR Offline
            rhessinger inedo-engineer
            last edited by

            Hi @nicolas-morissette_6285,

            I took a look into this and what I have found is that Azure DevOps does not support the NPM search API which is why this errors. I created a connector to the Azure DevOps npm feed and then used a username of token, set the password to the PAT (not Base64Encoded), and then selected Basic authentication. The list of all packages will not work, but if you navigate directly to the package or pull through npm, it will access the package. In my case, I was able to navigate to http://PROGET_SERVER/feeds/NPM_FEED_NAME/PACKAGE_NAME/versions and it would load the package's page.

            I'm currently working with the products team on a solution. I'll let you know when I have more information for you.

            Thanks,
            Rich

            Products Engineer, Inedo

            N 2 Replies Last reply Reply Quote 0
            • N Offline
              nicolas.morissette_6285 @rhessinger
              last edited by

              Hey @rhessinger,
              Thanks a lot for the feedback it's really appreciated. Hopefully I won't be on your blacklist since I'm always coming in with Microsoft issues haha.

              I'll stay tuned for the solution.

              Best Regards,
              Nicolas

              1 Reply Last reply Reply Quote 0
              • N Offline
                nicolas.morissette_6285 @rhessinger
                last edited by

                @rhessinger said in Connector to Azure DevOps NPM package feed not working:

                http://PROGET_SERVER/feeds/NPM_FEED_NAME/PACKAGE_NAME/versions

                Hey Rich,

                I just figured out that if I add this broken connector to this DevOps NPM feeds in my ProGet NPM feed it will break the ProGet NPM packages page.

                As we know with this issue the connector isn't working and it gives us this error:
                d79a4d10-273e-4dbc-8af4-b582c33b502d-image.png

                I did not expect that having this broken connector setup would crash my whole NPM feed page:
                4b62a670-4399-4ccd-b104-0cf20119ca7f-image.png

                We would be fine if the connector would be skipped regarding listing the packages on the feed webpage but would still let us download the package directly with the NPM command as you mentioned (I tried it and was able to reach specific version pages on ProGet)

                If it can make your life easier by just fixing the NPM page we would be fine with it.

                1 Reply Last reply Reply Quote 0
                • rhessingerR Offline
                  rhessinger inedo-engineer
                  last edited by

                  Hi @nicolas-morissette_6285,

                  I'm still waiting for feedback from the products team, but my idea is to basically add a setting that allows you to disable listing/searching the packages on that connector and only allow exact name matches in the UI. We do a similar thing for Docker connectors because not all registries support listing or searching. The product change ticket tracking this fix is PG-1916. I will reply as soon as we have confirmed the fix and scheduled it for release. I'm hoping we can get it in for ProGet 5.3.26.

                  Thanks,
                  Rich

                  Products Engineer, Inedo

                  1 Reply Last reply Reply Quote 1
                  • rhessingerR Offline
                    rhessinger inedo-engineer
                    last edited by

                    Hi @nicolas-morissette_6285,

                    We have released this change in ProGet 5.3.26. I apologize for not replying sooner. If you upgrade your ProGet instance, then you can update your NPM connecter and select the Exact Match Only option on the connector configuration. That will then allow you to see all your local packages and still allow you to search by the exact name of your NPM packages on Azure DevOps Connector.

                    Thanks,
                    Rich

                    Products Engineer, Inedo

                    N 1 Reply Last reply Reply Quote 0
                    • N Offline
                      nicolas.morissette_6285 @rhessinger
                      last edited by

                      @rhessinger Hey Rich,
                      No worry I followed up closely and I knew the release including the fix was coming!

                      I updated ProGet yesterday morning, updated my connector and our NPM feed page is back alive. Off course the connector can't tell me how much packages there's upstream but that's no big deal.

                      I asked our team using this NPM feed connector to let me know if they encounter any issue.

                      Thanks again for the amazing support it's highly appreciated.

                      1 Reply Last reply Reply Quote 0
                      • rhessingerR Offline
                        rhessinger inedo-engineer
                        last edited by

                        Hi @nicolas-morissette_6285,

                        Always glad to help! Thanks for giving us an update and letting us know that this fixed your issue. Unfortunately, the package count is a side effect of ADO not implementing the search API. It does not give us the ability to get a package count.

                        Thanks,
                        Rich

                        Products Engineer, Inedo

                        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