Running Octopus Server 3.3.6
We have a project that we have been deploying for about a year now via a mix of some environments using listening and some polling tentacles. We are adding a new, very large package to deploy (about 350MB). The deployment seems to work fine for internal servers using listening or polling tentacles, but on external servers (we use only polling tentacles for external servers), the deployment will hang for about 12 minutes attempting to acquire the large package, then it will finally fail on that attempt. It will attempt 5 retries, all of which will fail in about 2 minutes each. Also, the tentacle is now unreachable at this point. The only way I have found to get it back up and running is to remote to the machine and manually restart the tentacle service. I have created a new project that does nothing but deploy the large package, and it always fails in the same way. 12 minutes of trying to deploy the package, followed by several quicker retry failures, then the tentacle is unusable until it is restarted.
I do know that our Octopus server is not very quick at serving up the packages. It may take about 25 minutes for a package of that size to download, but I expected that Octopus would be able to handle that.
I am really not sure what we are running up against here. Is this some sort of timeout issue, or is there some sort of package size limitation? I am having a tough time narrowing down what the problem could be here.
Here is a copy of the Acquiring Packages step in the failure case:
Uploading package xxx
Beginning streaming transfer of xxx.1.11.8621.nupkg-c750c99f-6fbc-4130-adae-d0f52a546477
No response was received from the endpoint within the allowed time.
Halibut.HalibutClientException: No response was received from the endpoint within the allowed time.
Server stack trace:
at Halibut.ServiceModel.HalibutProxy.EnsureNotError(ResponseMessage responseMessage) in y:\work\7ab39c94136bc5c6\source\Halibut\ServiceModel\HalibutProxy.cs:line 86
at Halibut.ServiceModel.HalibutProxy.Invoke(IMessage msg) in y:\work\7ab39c94136bc5c6\source\Halibut\ServiceModel\HalibutProxy.cs:line 37
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Octopus.Shared.Contracts.IFileTransferService.UploadFile(String remotePath, DataStream upload)
at Octopus.Worker.Tentacles.TentacleRemoteEndpointFacade.UploadFile(String fileName, DataStream package) in Y:\work\refs\tags\3.3.6\source\Octopus.Worker\Tentacles\TentacleRemoteEndpointFacade.cs:line 78
Octopus.Server version 3.3.6 (3.3.6+Branch.master.Sha.ef711d651c56c0d0097bfecf797bb02a0abb1d00)
File upload failed. Retry attempt 1 of 5...
Beginning streaming transfer of xxx.1.11.8621.nupkg-c750c99f-6fbc-4130-adae-d0f52a546477
A request was sent to a polling endpoint, but the polling endpoint did not collect the request within the allowed time (00:02:00), so the request timed out.
Server exception:
System.TimeoutException: A request was sent to a polling endpoint, but the polling endpoint did not collect the request within the allowed time (00:02:00), so the request timed out.
Halibut.HalibutClientException: A request was sent to a polling endpoint, but the polling endpoint did not collect the request within the allowed time (00:02:00), so the request timed out.
Server exception:
System.TimeoutException: A request was sent to a polling endpoint, but the polling endpoint did not collect the request within the allowed time (00:02:00), so the request timed out.
Server stack trace:
at Halibut.ServiceModel.HalibutProxy.EnsureNotError(ResponseMessage responseMessage) in y:\work\7ab39c94136bc5c6\source\Halibut\ServiceModel\HalibutProxy.cs:line 86
at Halibut.ServiceModel.HalibutProxy.Invoke(IMessage msg) in y:\work\7ab39c94136bc5c6\source\Halibut\ServiceModel\HalibutProxy.cs:line 37
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Octopus.Shared.Contracts.IFileTransferService.UploadFile(String remotePath, DataStream upload)
at Octopus.Worker.Tentacles.TentacleRemoteEndpointFacade.UploadFile(String fileName, DataStream package) in Y:\work\refs\tags\3.3.6\source\Octopus.Worker\Tentacles\TentacleRemoteEndpointFacade.cs:line 78
Octopus.Server version 3.3.6 (3.3.6+Branch.master.Sha.ef711d651c56c0d0097bfecf797bb02a0abb1d00)
Any assistance would be appreciated.
Eben