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!
Error 500 on package upload using common package API
-
Hi. There's non obvious behavior on uploading files using common package API with full logging enabled
If API key has full logging enabled (Everything (Request Body + Response body)) request will be responded with 500 status code but package uploaded successfully
HTTP/1.1 500 Internal Server Error Cache-Control: private Content-Length: 62 Content-Type: text/plain Server: Microsoft-IIS/10.0 X-ProGet-Version: 23.0.18.15 X-Powered-By: ASP.NET Date: Mon, 16 Oct 2023 12:17:03 GMT Operation is not valid due to the current state of the object.
System.InvalidOperationException: Operation is not valid due to the current state of the object. at Inedo.Web.AhHttpRequest.GetBufferedInputStream() at Inedo.Web.Handlers.Api.ApiKeySecuredHandler.LogApiAccess(AhHttpRequest request, Byte[] responseBody, WrappedApiKey apiKey, Int32 responseCode) at Inedo.Web.Handlers.Api.ApiKeySecuredHandler.ProcessRequestInternalAsync(AhHttpContext context) at Inedo.Web.Handlers.Api.StandardApiHandler.ProcessRequestAsync(AhHttpContext context)
-