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!

    Proget: error Response Content-Length mismatch: too few bytes written

    Scheduled Pinned Locked Moved Support
    2 Posts 2 Posters 10 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.
    • D Offline
      dm.sidelnikov_5266
      last edited by dm.sidelnikov_5266

      Hello,
      Sometimes (often actually) in "Diagnostic Center" -> "Log Messages" tab I see the following errors:

      Message:
      An error occurred in the web application: Response Content-Length mismatch: too few bytes written (0 of 23315).
       Details: URL: http://my-proget-url/nuget/sc/v3/flatcontainer/microsoft.net.sdk.maccatalyst.manifest-6.0.100/15.0.101-preview.11.551/microsoft.net.sdk.maccatalyst.manifest-6.0.100.15.0.101-preview.11.551.nupkg
      Referrer: (not set)
      User: (unknown)
      User Agent: NuGet Client V3/6.0.0
      Details:
      Stack trace: at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ThrowException(Exception exception)
      at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.CompleteAsync(Exception exception)
      at System.Web.HttpResponse.CompleteAsync()
      at Inedo.Web.AhWebMiddleware.InvokeAsync(HttpContext context)
      

      Can you help me to understand is it something significant or I can ignore those kind of errors?

      1 Reply Last reply Reply Quote 0
      • dean-houstonD Offline
        dean-houston inedo-engineer
        last edited by

        You can ignore this error; for whatever reason, the NuGet client unexpectedly terminated the connection, and the result was that ProGEt stopped writing bytes. Not really anything to worry about.

        The diagnostic center isn't for proactive-monitoring, more for diagnostic purposes. So ulnless users are reporting a problem, you don't need to check it.

        1 Reply Last reply Reply Quote 1

        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