We’ve started to see this occasionally across multiple recent releases. TeamCity will build, package, and publish a nuget package just fine to Octopus, it will resolve all the details in order to create the release, and then timeout. You can see this in the attached screenshot. The exception after the 10 minute timeout is below. We have 1839 packages within the Octopus library currently and the default retention policy is to keep packages for 30 days. We keep packages used in releases in prod forever and the previous 5 packages used in lower environments. Are we running into an performance issue here? Should we maybe not keep 30 days of packages in the library? Any other info or logs that might be helpfup? I checked C:\Octopus\Logs and there doesnt appear to be anything around the time of the timeout.
Footnote: it appears to be stuck again on another build while I’m typing this. Going to restart the Octopus service.
System.TimeoutException: Timeout getting response, client timeout is set to 00:10:00.
[10:19:42][Octopus Deploy] at Octopus.Client.OctopusAsyncClient.<DispatchRequest>d__47`1.MoveNext()
[10:19:42][Octopus Deploy] --- End of stack trace from previous location where exception was thrown ---
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[10:19:42][Octopus Deploy] at Octopus.Client.OctopusAsyncClient.<Create>d__35`1.MoveNext()
[10:19:42][Octopus Deploy] --- End of stack trace from previous location where exception was thrown ---
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
[10:19:42][Octopus Deploy] at Octopus.Cli.Commands.CreateReleaseCommand.<Execute>d__31.MoveNext()
[10:19:42][Octopus Deploy] --- End of stack trace from previous location where exception was thrown ---
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
[10:19:42][Octopus Deploy] at Octopus.Cli.Commands.ApiCommand.<Execute>d__31.MoveNext()
[10:19:42][Octopus Deploy] --- End of stack trace from previous location where exception was thrown ---
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[10:19:42][Octopus Deploy] at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[10:19:42][Octopus Deploy] at Octopus.Cli.Program.Run(String[] args)
[10:19:42][Octopus Deploy] Exit code: -3
[10:19:42][Octopus Deploy] Octo.exe exit code: -3