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!

    The remote server returned an error: (413) Request Entity Too Large..

    Scheduled Pinned Locked Moved Support
    proget
    5 Posts 2 Posters 99 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

      Hi,

      I'm trying to push packages using nuget.exe. I've copied the command from the UI, it looks like this : NuGet.exe push "C:\PackageName.1.6.17.nupkg" myapikeyhere -Source https://thenugetserver.com/nuget/nuget

      I always get the error:

      Failed to process request. 'Request Entity Too Large'. The remote server returned an error: (413) Request Entity Too Large..

      So I have an APIKey set on the nuget feed. I gave the rights to anonymous to all the Feeds permissions. I have pretty much all the upload limit variables set up to maximum in the webconfig (httpRuntime maxRequestLength, requestLimits maxAllowedContentLength and even for bindings).

      Not sure if the error is relevant or if it's misleading and there is something else wrong ? I can list packages... but I can't push them.

      Thanks.

      Product: ProGet
      Version: 4.0.10

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

        Found the solution to my problem:

        appcmd.exe set config "ProGet" -section:system.webServer/serverRuntime /uploadReadAheadSize:"2147483647"  /commit:apphost
        
        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          I ran into this issue when deploying to kubernetes and found that the solution was to add an annotation to my Ingress that told nginx to allow the 'proxy-body-size' to be bigger.

          Ex:

          apiVersion: extensions/v1beta1
          kind: Ingress
          metadata:
            name: proget-ingress
            namespace: proget
            annotations:
              nginx.ingress.kubernetes.io/proxy-body-size: "100m" #This part
          spec:
            rules:
            - host: hostname.my.host.com
              http:
                paths:
                - backend:
                    serviceName: proget
                    servicePort: 80
          
          J 1 Reply Last reply Reply Quote 1
          • ? This user is from outside of this forum
            Guest
            last edited by

            @Matthew -- how did you set this up ProGet in Kubernetes? Did you use a helm package?

            Could you share your repository or kubernetes files? Or Helm package?

            1 Reply Last reply Reply Quote 0
            • J Offline
              joe.spann_7401 @Guest
              last edited by

              Yep, you are awesome. I know this is an old post, but it was my issue as well. Using a nginx proxy for the server.
              Thank you.

              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