Hello,
We’re having problems trying to push a Nuget package to Octopus via VSTS.
The error message in VSTS is:
Pushing ACME 1.1.19 to ‘/octopus/nuget/packages’…
The request was aborted: The request was canceled.
Failed to push packages. Make sure the feed URL is correct, and the packages have unique version numbers.
Unexpected exit code 1 returned from tool NuGet.exe
After investigating this error, we reviewed the Octopus Diagnostics Server Logs. There, we are seeing the following error:
Unhandled exception from web server: Incorrect function
System.Net.HttpListenerException (0x80004005): Incorrect function
at System.Net.HttpRequestStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)
at Nancy.IO.RequestStream.MoveStreamContentsToFileStream()
at Nancy.IO.RequestStream.MoveStreamOutOfMemoryIfExpectedLengthExceedSwitchLength(Int64 expectedLength)
at Nancy.IO.RequestStream…ctor(Stream stream, Int64 expectedLength, Int64 thresholdLength, Boolean disableStreamSwitching)
at Octopus.Server.Web.OctopusNancyHost.ConvertRequestToNancyRequest(HttpListenerRequest request) in y:\work\refs\heads\release\source\Octopus.Server\Web\OctopusNancyHost.cs:line 291
at Octopus.Server.Web.OctopusNancyHost.Process(HttpListenerContext ctx) in y:\work\refs\heads\release\source\Octopus.Server\Web\OctopusNancyHost.cs:line 426
We are using Octopus version 2.6.0.778
We were hoping that someone may be able to provide assistance with this issue.
Thanks!