Hi OD,
Octopus Deploy Windows Service stopped and it recorded only limited error in logs file. Could you please let me know what could be the reason. I checked Event Viewer and it does not show any unusual activity.
Following is the error log from Event Viewer and Octopus Logs folder.
Windows Event Viewer Error
The OctopusDeploy service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.
Octopus Deploy Logs error.
2018-05-07 13:59:12.8240 31 ERROR Unhandled exception from web server: The network connection was aborted by the local system
System.Net.HttpListenerException (0x80004005): The network connection was aborted by the local system
at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.Compression.DeflateStream.PurgeBuffers(Boolean disposing)
at System.IO.Compression.DeflateStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.IO.Compression.GZipStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at Octopus.Server.Web.Infrastructure.NancyCompression.<>c__DisplayClass3_0.b__0(Stream responseStream) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\Infrastructure\NancyCompression.cs:line 100
at Octopus.Server.Web.OctopusNancyHost.OutputWithDefaultTransferEncoding(Response nancyResponse, HttpListenerResponse response) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 355
at Octopus.Server.Web.OctopusNancyHost.ConvertNancyResponseToResponse(NancyContext nancyRequest, Response nancyResponse, HttpListenerResponse response) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 340
at Nancy.NancyEngineExtensions.HandleRequest(INancyEngine nancyEngine, Request request, Func2 preRequest, Action
1 onComplete, Action1 onError, CancellationToken cancellationToken) at Octopus.Server.Web.OctopusNancyHost.Process(HttpListenerContext ctx) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 0 2018-05-07 13:59:12.8240 297 INFO Request took 5328ms: GET https://OctopusServerName/api/dashboard 2018-05-07 13:59:12.8369 216 INFO Request took 6845ms: GET https://OctopusServerName/api/dashboard 2018-05-07 13:59:13.4927 297 ERROR Unhandled exception from web server: The network connection was aborted by the local system System.Net.HttpListenerException (0x80004005): The network connection was aborted by the local system at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.IO.Compression.DeflateStream.PurgeBuffers(Boolean disposing) at System.IO.Compression.DeflateStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at System.IO.Compression.GZipStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at Octopus.Server.Web.Infrastructure.NancyCompression.<>c__DisplayClass3_0.<CompressResponse>b__0(Stream responseStream) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\Infrastructure\NancyCompression.cs:line 100 at Octopus.Server.Web.OctopusNancyHost.OutputWithDefaultTransferEncoding(Response nancyResponse, HttpListenerResponse response) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 355 at Octopus.Server.Web.OctopusNancyHost.ConvertNancyResponseToResponse(NancyContext nancyRequest, Response nancyResponse, HttpListenerResponse response) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 340 at Nancy.NancyEngineExtensions.HandleRequest(INancyEngine nancyEngine, Request request, Func
2 preRequest, Action1 onComplete, Action
1 onError, CancellationToken cancellationToken)
at Octopus.Server.Web.OctopusNancyHost.Process(HttpListenerContext ctx) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 0
2018-05-07 13:59:13.6823 216 ERROR Unhandled exception from web server: The network connection was aborted by the local system
System.Net.HttpListenerException (0x80004005): The network connection was aborted by the local system
at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.Compression.DeflateStream.WriteDeflaterOutput(Boolean isAsync)
at System.IO.Compression.DeflateStream.Write(Byte[] array, Int32 offset, Int32 count)
at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Write(String value)
at Newtonsoft.Json.JsonTextWriter.WritePropertyName(String name, Boolean escape)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeList(JsonWriter writer, IEnumerable values, JsonArrayContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject(JsonWriter writer, Object value, JsonObjectContract contract, JsonProperty member, JsonContainerContract collectionContract, JsonProperty containerProperty)
at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
at Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
at Nancy.Serialization.JsonNet.JsonNetSerializer.Serialize[TModel](String contentType, TModel model, Stream outputStream)
at Octopus.Server.Web.Infrastructure.NancyCompression.<>c__DisplayClass3_0.b__0(Stream responseStream) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\Infrastructure\NancyCompression.cs:line 99
at Octopus.Server.Web.OctopusNancyHost.OutputWithDefaultTransferEncoding(Response nancyResponse, HttpListenerResponse response) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 355
at Octopus.Server.Web.OctopusNancyHost.ConvertNancyResponseToResponse(NancyContext nancyRequest, Response nancyResponse, HttpListenerResponse response) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 340
at Nancy.NancyEngineExtensions.HandleRequest(INancyEngine nancyEngine, Request request, Func2 preRequest, Action
1 onComplete, Action`1 onError, CancellationToken cancellationToken)
at Octopus.Server.Web.OctopusNancyHost.Process(HttpListenerContext ctx) in Z:\BuildAgent\work\HidingEncryptedValue\source\Octopus.Server\Web\OctopusNancyHost.cs:line 0