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!

    Authentication not working (always forbidden)

    Scheduled Pinned Locked Moved Support
    proget
    6 Posts 1 Posters 3 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 trying to push a package using Nuget 3.4.3 and I'm getting Forbidden error whenever I try to push a package. I've tried username:password as the API key, and also entering it when prompted by Nuget. Nothing seems to work. Any ideas? I'm using Proget 4.0.13.

      Product: ProGet
      Version: 4.0.13

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

        All of the things you described should work, and are used by a lot of other users. So, I would try to make sure you have the appropriate privileges on the feed, etc. Also make sure there's no intermediate proxies, etc.

        Fiddler may help debug/diagnose.

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

          Ok, I checked things with Fiddler, and the error that comes back is HTTP/1.1 403 There was an error processing the request: You are not authorized to add a package to this feed because the user builder does not have the Feeds_AddPackage privilege.

          However, the user builder is a member of the Publishers group, which is associated with the Publish Packages task, globally scoped. If I'm not mistaken, this should be enough for the user to publish (and I don't see any other security settings anyway).

          Any idea how to resolve this?

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

            Hard to say exactly. The set-up you describe is very typical, and generally works fine...

            I would make sure the credentials are being passed; you can test different combinations of things, such as giving anonymous user access, different privleges, etc.

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

              I fixed it by uninstalling proget and nuking everything. I hope this isn't typical; I installed the latest version a year ago but never got to using it really, only created a few feeds and set permissions, and then recently updated to 4.0.13.

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

                It was most certainly permissions related. From the 4.0 Upgrade Notes...

                If you modified any of the default roles but did not rename then, then they will renamed to the new task names. In addition, the role's individually-securable actions (formerly, "tasks") will be reset to the new, default definitions

                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