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!

    I am getting 405 when trying to push from nuget

    Scheduled Pinned Locked Moved Support
    proget
    6 Posts 1 Posters 28 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

      As in title - when I try to do nuget push, I am getting error 405 (methid not allowed) - any idea how to quickly solve it?

      Product: ProGet
      Version: 4.7.6

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

        405 is method not allowed. ProGet does not issue these, so it's likely that your proxy server is blocking it, or you have configured IIS in such a manner that it is rejecting the request (such as using WebDAV).

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

          That's a very general answer. Could you extend it a bit? There is nothing in the setup how to configure IIS.
          I have got WebDAV enabled on the side.

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

            ProGet is not returning the 405 message, it's something on your network or server that you've configured to interfere/intercept web requests before they are sent to ProGet software.

            Obviously I can't specifically tell you how to "un-configure" your server or network... but not enabling WebDAV would be a good start. It intercepts requests in this manner, as I mentioned in my earlier answer. If that doesn't do it, you'll need to keep investigating what is intercepting these requests.

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

              I had this issue when pushing via PowerShell, and have resolved it by added the following in to the Web.config for ProGet Located C:\Program Files\ProGet\WebApp\Web.config

                <!--Add the following to the beginning of <system.webServer><modules>:-->
                <remove name="WebDAVModule" />
                <!--Add the following to the beginning of <system.webServer><handlers>:-->
                <remove name="WebDAV" />
              

              Save the file and retry

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

                We have added these exclusions to the Web.config that we include with ProGet.

                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