Package your application into a NuPkg or Zip file


I am getting below error when I try to package application from TFS build:
2019-06-14T15:44:43.4270316Z ##[section]Starting: BusinessAPI_Package
2019-06-14T15:44:43.4270316Z ==============================================================================
2019-06-14T15:44:43.4270316Z Task : Package Application
2019-06-14T15:44:43.4270316Z Description : Package your application into a NuPkg or Zip file.
2019-06-14T15:44:43.4270316Z Version : 3.0.222
2019-06-14T15:44:43.4280317Z Author : Octopus Deploy
2019-06-14T15:44:43.4280317Z Help : Version: 3.0.222. More Information
2019-06-14T15:44:43.4280317Z ==============================================================================
2019-06-14T15:44:44.3621251Z Attempting to contact to find latest CLI tools
2019-06-14T15:45:05.4112298Z ##[error]Error: connect ETIMEDOUT
2019-06-14T15:45:05.4112298Z ##[error]Failed to execute octo pack command. connect ETIMEDOUT
2019-06-14T15:45:05.4182305Z ##[section]Finishing: BusinessAPI_Package
Please help me to figure out this.
Thanks in Advance

Hi Vasantha,

Thanks for getting in touch! I’m sorry to hear you’re hitting this issue. I suspect you’re hitting this timeout due to some sort of network connectivity issue, like firewall rules. Is it possible something like that is causing this issue?

If that’s the cause and it’s something that isn’t easily remedied, you could potentially work around this by adding another step to install another TFS version and use the embedded one to avoid having to download it.

I hope this helps! Let me know if I’ve misunderstood the issue you’re hitting or if you have any further questions moving forward. :slight_smile:

Best regards,


Hi Kenny,

Thank you for your response.

I am using TFS version 2018 for build the package. Can you elaborate more how to use the embedded one please?

I have few questions.

  1. Why is trying to connect this IP:, it’s outside our network.

  2. Do I need to install Octo pack in TFS server? I didn’t install it.

I am following this link so far.

And following below steps to build and release package in TFS 2018

  1. MSBuild - Success

  2. Copy files - Success

  3. Publish Build Artifacts - Success

  4. Package Application - Failed

  5. Push Package(s) to Octopus

  6. Create Octopus Release



Hi Kenny, Any updates on this?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.