Cheers,
I am using Octo.exe through TeamCity to deploy a package, but about half of the times the handshaking step times out.
Everything is on the same machine, including the NuGet server. The machine is not CPU/RAM bottle-necked.
Octopus Server version: 1.6.1.1718
Here’s the log:
@@@
[18:02:02][Octopus Deploy] Running command: octo.exe create-release --server=“http://(server).com/” --apikey=SECRET --project=“PublicAPI” --enableservicemessages --version=“0.266-tst” --deployto=“Test” --waitfordeployment --packageversion=0.266-tst --force
[18:02:02][Octopus Deploy] Creating Octopus Deploy release
[18:02:02][Octopus Deploy] Octopus Command Line Tool, version 1.1.17.62
[18:02:02][Octopus Deploy]
[18:02:02][Octopus Deploy] Finding project: PublicAPI
[18:02:02][Octopus Deploy] Handshaking with Octopus server: http://(server).com/api
[18:03:45][Octopus Deploy] The operation has timed out
[18:03:45][Octopus Deploy] System.Net.WebException: The operation has timed out
[18:03:45][Octopus Deploy] at System.Net.HttpWebRequest.GetResponse()
[18:03:45][Octopus Deploy] at OctopusTools.Client.OctopusSession.Get[TResource](String path, QueryString queryString)
[18:03:45][Octopus Deploy] at OctopusTools.Client.OctopusSession.EstablishSession()
[18:03:45][Octopus Deploy] at System.Lazy1.CreateValue() [18:03:45][Octopus Deploy] at System.Lazy
1.LazyInitValue()
[18:03:45][Octopus Deploy] at System.Lazy`1.get_Value()
[18:03:45][Octopus Deploy] at OctopusTools.Client.OctopusSession.get_RootDocument()
[18:03:45][Octopus Deploy] at ProjectExtensions.GetProject(IOctopusSession session, String projectName)
[18:03:45][Octopus Deploy] at OctopusTools.Commands.CreateReleaseCommand.Execute()
[18:03:45][Octopus Deploy] at OctopusTools.Infrastructure.CommandProcessor.Process(String[] args)
[18:03:45][Octopus Deploy] Octo.exe exit code: 2
[18:03:45][Step 3/8] Unable to create or deploy release. Please check the build log for details on the error.
@@@
Thanks!