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 authenticate to Proget

    Scheduled Pinned Locked Moved Support
    proget
    6 Posts 3 Posters 37 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.
    • J Offline
      jstarbird_7831
      last edited by

      I am experimenting with executing a romp package in Docker but when I do the Install I cannot get it to authenticate with Proget. I've tried username/password combo and API key but it just keeps giving me a 401 unauthorized.
      I've even setup Docker service to run as a specific user in case that mattered in hopes it would just use that user.

      We do have our Proget server setup for Window authentication since it goes thru our AD server. So the question is, is this possible?
      I've also tried setting up some powershell in docker to download the package using invoke-webrequest but I hit the exact same issue there as well.

      Product: Romp
      Version: 2.0.2

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

        I wanted to add, I did enable Basic Auth as well as the Windows auth and but it still just will not accept a credential or API key.
        If I use an API key nothing gets logged either, fail or otherwise.

        1 Reply Last reply Reply Quote 0
        • atrippA Offline
          atripp inedo-engineer
          last edited by

          That definitely sounds Windows Authentication related... do you have a site in IIS setup that doesn't have Windows Auth enabled? That might be the way to go.

          Unfortunately containers (even windows one) don't seem to work well with Kerberors/Windows Auth...

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

            I just got it working. All this time I've been passing the creds with the domain name as part of the username. Once I removed that it would work when I do it from Powershell with an invoke-webrequest to download the package.
            this will work but it would be nice to just use an API key rather than some Windows creds and of course it would also be nice to use Romp directly instead of downloading and then running Romp against it.

            1 Reply Last reply Reply Quote 0
            • atrippA Offline
              atripp inedo-engineer
              last edited by

              Ah, I'm glad to hear it :)

              Romp should be able to download packages directly, then install them? Just have Romp point to a feed source instead of a local file on disk

              Anyways this usecase sounds really awesome, I would love to learn more about it once you get it closer to working.

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

                I did try that and it works outside Docker where it just uses the user that is running it. Within Docker though I can't get it to work. I tried giving it creds or api key and it just won't validate.
                On proget it never shows an attempt when it's the api key either.

                Anyway, this work around is working so now i'm progressing.

                I'll pass on the details once I have it working.

                Thanks.

                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