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!

    Uploading (0%)...

    Scheduled Pinned Locked Moved Support
    proget
    10 Posts 1 Posters 33 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 attempting to upload a 1.87GB upack file and the upload progress is stuck at 0%.

      I can successfully upload a smaller upack file.

      I've checked the IIS and PorGet web.config file size restrictions are set to 2GB.

      I've increased the IIS Connection Time-out (seconds) to 10 minutes.

      Any ideas?

      Product: ProGet
      Version: 4.3.1

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

        Are you using the browser? That might be an issue, since browsers don't handle such large uploads so great. We will eventually implement a staged/chunk uploading process for the web UI.

        The upack client (or a HTTP push) should work however.

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

          I'm using Chrome but have also tried IE.

          I've tried the upack client v1.0.0 and I get the following error,

          H:\Downloads\OneSumX>upack push --package=OneSumX_FS_2.0.63353.upack --target=http://tdc2sql026:9797
          Package: :OneSumX_FS
          Version: 2.0.63353
          Unhandled exception: System.Net.WebException: The request was aborted: The request was canceled.
          at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callb
          ack, Object state)
          at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size)
          at System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)
          at ProGet.Client.Program.push(String package, String target, String user)

          The error appears to be "The request was aborted", some Googling around suggests a solution might be "The solution was to disable HTTP Keep Alive for posting the Requests".

          Is this possible with the upack client?

          Any help greatly appreciated.

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

            It might be the server that's disconnecting; you could also just use powershell to push this as well, to see where issue is.

            There is a timeout in v1.0.0 of upack, but you can try 1.0.1 of the upack client that doesn't have the timeout: http://cdn.inedo.com/downloads/proget/upack1.0.1.zip
            .

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

              Thanks for helping, I tried upack v1.0.1, which completed without errors.

              H:\Downloads\OneSumX>upack.exe push --package=OneSumX_FS_2.0.63353.upack --target=http://tdc2sql026:9797/proget-feeds/Wo
              lters.Kluwer.OneSumX
              Package: :OneSumX_FS
              Version: 2.0.63353
              :OneSumX_FS 2.0.63353 published!

              However, I can't find where this has uploaded to.

              It doesn't show in the Web UI or on the file-system on the server?

              Any thoughts?

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

                That's hard to say... it should work, but it's a large package, so it might take a little while to process. If an error occurred during processing, it would be logged in Admin > Errors. youy can also check the internal package disk store (default is %ProGramData%\ProGet) to see if it's there...

                You could also put it in the drop folder to see if it picks up as well, though upload should also work.

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

                  I noticed that I had the URL wrong in my last attempt, so I retried using the URL displayed by ProGet.

                  This time I got "The remote server returned an error: (500) Internal Server Error."

                  H:\Downloads\OneSumX>upack.exe push --package=OneSumX_FS_2.0.63353.upack --target=http://tdc2sql026:9797/upack/Wolters.K
                  luwer.OneSumX --user=Admin:Admin
                  Package: :OneSumX_FS
                  Version: 2.0.63353
                  Unhandled exception: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
                  at System.Net.HttpWebRequest.GetResponse()
                  at ProGet.Client.Program.push(String package, String target, String user)

                  I believe this to be "A generic error message, given when an unexpected condition was encountered and no more specific message is suitable".

                  Which made me wonder if ProGet has any logging that can be turned on, like Log4Net

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

                    Further information about "The remote server returned an error: (500) Internal Server Error"

                    As Admin user looking at the Recent Errors on the Administration Overview page.

                    Image Text

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

                      Look like my image upload failed, so here the text from the Recent Error: Maximum request length exceeded.

                      Logged: 14/11/2016 09:04:57
                      Level: Error
                      Category: N/A
                      Message: Unhandled exception processing /upack/Wolters.Kluwer.OneSumX
                      Details:
                      System.Web.HttpException (0x80004005): Maximum request length exceeded.
                      at System.Web.HttpRequest.GetEntireRawContent()
                      at System.Web.HttpRequest.get_InputStream()
                      at Inedo.ProGet.WebApplication.SimpleHandlers.Universal.UniversalRepositoryHandler.<ProcessUploadRequestAsync>d__14.MoveNext()
                      --- End of stack trace from previous location where exception was thrown ---
                      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
                      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
                      at Inedo.ProGet.WebApplication.SimpleHandlers.ApiHandlerBase.<ProcessRequestAsync>d__0.MoveNext()

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

                        SOLVED

                        See the following Stack Overflow question fro the solution.

                        http://stackoverflow.com/questions/3853767/maximum-request-length-exceeded

                        In summary:

                        in the web.config

                        <configuration>
                            <system.web>
                                <httpRuntime maxRequestLength="2147484" />
                            </system.web>
                        </configuration>
                        

                        and

                         <system.webServer>
                           <security>
                              <requestFiltering>
                                 <requestLimits maxAllowedContentLength="2147483648" />
                              </requestFiltering>
                           </security>
                         </system.webServer>
                        

                        Note: maxAllowedContentLength is measured in bytes while maxRequestLength is measured in kilobytes, which is why the values differ in this config example. (Both are equivalent to 2 GB.)

                        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