Hi
We are experiencing a weird behavior with Octopus, without making any changes we’re aware of, one of the tentacles started failing. The configuration is as follows: server version 2.4.5.46, a tentacle hosted on the same machine as the server, with version 2.3.3.1369, fails, other tentacles with this 2.3.3.1369 version hosted on different machines, work fine. This tentacle appears to just hang, and I have the error log versions below. It looks like the port 10933 is becoming blocked, however I can browse to https://localhost:10933 (on the server/failing tentacle machine).
Here is the server log:
2014-05-21 08:57:54.1042 FATAL Upload of file C:\Octopus2\PackageCache\feeds-1\TravelRepublic.Users.SavedSearchesService.1.0.1057_09B2BF5D631C7B4DA3C9F7D21FFBDA56.nupkg with hash c8204cc5aa424812de37cb46cf183b19e4b3943f to SQ-POWELL-599D5B0A failed
Pipefish.Errors.PipefishCommunicationException: The actor FileReceiver-Pg-7NIBSIrD@SQ-POWELL-599D5B0A cannot handle failure Octopus.Shared.FileTransfer.SendNextChunkRequest
System.InvalidOperationException: The actor FileReceiver-Pg-7NIBSIrD@SQ-POWELL-599D5B0A cannot handle failure Octopus.Shared.FileTransfer.SendNextChunkRequest
at Pipefish.Actor.OnHandleFailedTyped[TBody](Message deliveryFailure, Message failedMessage, Error error) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish\Actor.cs:line 169
2014-05-21 08:57:54.1276 FATAL One or more items in the current operation failed.
2014-05-21 08:57:54.3416 FATAL Operation: Upload package to https://powell:10933/ failed with error: One or more items in the current operation failed.
2014-05-21 08:57:54.3553 FATAL One or more items in the current operation failed.
2014-05-21 08:57:54.6806 FATAL Upload of file C:\Octopus2\PackageCache\feeds-1\TravelRepublic.Bookings.1.0.1057_C798CEBCD93F9545A12C17CA71EE9A82.nupkg with hash c31c25ce2f584d6dee37792bff56b80b53850dcf to SQ-POWELL-599D5B0A failed
Pipefish.Errors.PipefishCommunicationException: The actor FileReceiver-RQ-7NIBlEgX@SQ-POWELL-599D5B0A cannot handle failure Octopus.Shared.FileTransfer.SendNextChunkRequest
System.InvalidOperationException: The actor FileReceiver-RQ-7NIBlEgX@SQ-POWELL-599D5B0A cannot handle failure Octopus.Shared.FileTransfer.SendNextChunkRequest
at Pipefish.Actor.OnHandleFailedTyped[TBody](Message deliveryFailure, Message failedMessage, Error error) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish\Actor.cs:line 169
2014-05-21 08:57:54.6806 FATAL One or more items in the current operation failed.
2014-05-21 08:57:54.7773 FATAL Operation: Upload package to https://powell:10933/ failed with error: One or more items in the current operation failed.
2014-05-21 09:03:49.0203 INFO Cancellation requested…
2014-05-21 09:05:19.2697 ERROR Cancellation of the task timed out
2014-05-21 09:15:46.1259 ERROR Error checking pending timeouts
System.PlatformNotSupportedException: The specified cryptographic algorithm is not supported on this platform.
at System.Security.Cryptography.AesCryptoServiceProvider…ctor()
at Octopus.Shared.Security.MasterKey.MasterKeyEncryption.WriteCiphertextTo(Byte[] masterKey, Stream stream)
at Pipefish.Persistence.Filesystem.ActorStateFile.Save(ActorStateDictionary state)
at Pipefish.PersistentActor`1.Save()
at Pipefish.WellKnown.Timing.Clock.Save()
at Pipefish.WellKnown.Timing.Clock.Check()
Here is the error in the tentacle:
2014-05-21 16:05:42.5572 ERROR Unhandled error when processing request from client
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at Pipefish.Transport.SecureTcp.Server.SecureTcpServer.ExecuteRequest(TcpClient client) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\Server\SecureTcpServer.cs:line 111
2014-05-21 16:05:42.5572 ERROR Unhandled error when processing request from client
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at Pipefish.Transport.SecureTcp.Server.SecureTcpServer.ExecuteRequest(TcpClient client) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\Server\SecureTcpServer.cs:line 111
2014-05-21 16:05:42.5865 ERROR Unhandled error when processing request from client
System.IO.IOException: Authentication failed because the remote party has closed the transport stream.
at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
at Pipefish.Transport.SecureTcp.Server.SecureTcpServer.ExecuteRequest(TcpClient client) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\Server\SecureTcpServer.cs:line 111
2014-05-21 16:05:43.5017 ERROR Invalid request
System.Net.ProtocolViolationException: Request syntax was invalid
at Pipefish.Transport.SecureTcp.ProtocolParser.ReadPrelude(Stream clientStream) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\ProtocolParser.cs:line 112
at Pipefish.Transport.SecureTcp.ProtocolParser.ParseRequest(Stream clientStream, Method& method, Uri& uri, RequestHeaders& headers, String& protocol) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\ProtocolParser.cs:line 53
at Pipefish.Transport.SecureTcp.Server.SecureTcpServer.ApplyProtocol(AuthorizationResult authorizationResult, EndPoint clientEndPoint, String clientThumbprint, Stream clientStream) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\Server\SecureTcpServer.cs:line 140
2014-05-21 16:05:43.6160 ERROR Unhandled error when processing request from client
System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. —> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
— End of inner exception stack trace —
at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Security._SslStream.StartWriting(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security.SslStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at Pipefish.Transport.SecureTcp.Server.SecureTcpServer.ApplyProtocol(AuthorizationResult authorizationResult, EndPoint clientEndPoint, String clientThumbprint, Stream clientStream) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\Server\SecureTcpServer.cs:line 199
at Pipefish.Transport.SecureTcp.Server.SecureTcpServer.ExecuteRequest(TcpClient client) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\Server\SecureTcpServer.cs:line 111
2014-05-21 16:05:45.9366 ERROR Invalid request
System.Net.ProtocolViolationException: Request syntax was invalid
at Pipefish.Transport.SecureTcp.ProtocolParser.ReadPrelude(Stream clientStream) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\ProtocolParser.cs:line 112
at Pipefish.Transport.SecureTcp.ProtocolParser.ParseRequest(Stream clientStream, Method& method, Uri& uri, RequestHeaders& headers, String& protocol) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\ProtocolParser.cs:line 53
at Pipefish.Transport.SecureTcp.Server.SecureTcpServer.ApplyProtocol(AuthorizationResult authorizationResult, EndPoint clientEndPoint, String clientThumbprint, Stream clientStream) in c:\TeamCity\buildAgent\work\cf0b1f41263b24b9\source\Pipefish.Transport.SecureTcp\Server\SecureTcpServer.cs:line 140
Any help will be greatly appreciated!