I have an issue with deploying a (rather large) tar.gz package to a linux machine. It seems like the package gets transferred to the target machine but I guess it takes too long and then before executing the post-deployment script it gets a timeout or something. Unfortunately transferring the package takes very long (in that case about 2 hours) -> I cannot reduce that time.
I tried a few settings on the (target)server-side (to not disconnect the client) - but it did not help. Do you have any ideas - or is there something clientside keepalive setting that I can enable?
Heres the Ocotpus log:
Task ID: ServerTasks-18779
Task status: Failed
Task queued: Monday, July 18, 2016 1:38 PM
Task started: Monday, July 18, 2016 1:38 PM
Task duration: 2 hours
Server version: 3.3.18+Branch.master.Sha.35d5fa30e1297f96d082e900e1d7a50edff2d789
| == Failed: Deploy Model release 2016.0712.1012 to Prod ==
13:38:31 Verbose | Guided failure is not enabled for this task
15:31:44 Fatal | The deployment failed because one or more steps failed. Please see the deployment log for details.
|
| == Failed: Acquire packages ==
13:38:31 Info | Acquiring packages
13:38:31 Info | Making a list of packages to download
13:38:31 Info | Looking up the package location from the built-in package repository...
13:38:31 Verbose | SHA1 hash of package [Packagename] is: 3b057efdea0d95c73c4e51ebeede4a518b918e2a
15:31:44 Fatal | The step failed: One or more child activities failed.
15:31:44 Verbose | Acquire Packages completed
|
| Failed: [Targetmachine]
15:31:43 Verbose | Disposing SFTP connection...
15:31:44 Fatal | A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
|
| Running: Upload package [Packagename] version 2016.0712.1012
13:38:31 Info | Uploading package [Packagename]
13:38:31 Verbose | Requesting upload...
13:38:31 Verbose | Establishing SSH connection...
13:38:32 Verbose | SSH connection established
13:38:32 Verbose | Beginning streaming transfer of [Packagename].2016.0712.1012.tar.gz-46f295f1-0612-47f4-9db2-0a189540a072 to $HOME\.octopus\OctopusServer\Files
13:38:32 Verbose | Establishing SFTP connection...
13:38:33 Verbose | SSFTP connection established
15:31:24 Verbose | Stream transfer complete
|
| Canceled: Step 1: Deploy Model Package
15:31:44 Verbose | Step "Deploy Model Package" runs only when all previous steps succeeded; skipping
Thanks and best regards,
Daniel