我使用 Bamboo 作为构建服务器并使用 Octopus 部署进行部署。我正在使用他们的命令行工具 Octo.exe 创建 nuget 包并将其推送到服务器。它工作正常。但是我们开始遇到错误,这些错误起初是断断续续的,然后变得非常普遍。现在它几乎每次都失败,但偶尔会成功。我已经在同一台机器上安装了服务器和触手。
这是我得到的错误
Handshaking with Octopus server: http://Server/
17-May-2016 19:51:11 Handshake successful. Octopus version: 3.3.12; API version: 3.0.0
17-May-2016 19:51:11 Authenticated as: ajaybhasy <>
17-May-2016 19:51:11 Pushing package: C:\build\WOR-WA-JOB1\client\dist\WorldSmartAngular.1.0.337.nupkg...
17-May-2016 19:53:39 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
17-May-2016 19:53:39 at System.Net.Sockets.Socket.MultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags)
17-May-2016 19:53:39 at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers)
17-May-2016 19:53:39 --- End of inner exception stack trace ---
根据他们支持的帖子,我尝试将触手更改为轮询模式,但这对我也不起作用。