Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Answered

Release pipeline failed to deploy package - We stopped hearing from agent Hosted Agent

Posted on by 754

Hello community,

we are running devOps release pipelines to upload and deploy code packages through LCS into our sandbox environments. Lately we get the following error for one of the sandboxes:

We stopped hearing from agent Hosted Agent. Verify the agent machine is running and has a healthy network connection. Anything that terminates an agent process, starves it for CPU, or blocks its network access can cause this error. For more information, see: https://go.microsoft.com/fwlink/?linkid=846610

This message says the deployment failed even though LCS has deployed the code package to that environment. Has anyone an idea what can cause this issue?

  • Suggested answer
    ThomasWilke Profile Picture
    ThomasWilke 754 on at
    RE: Release pipeline failed to deploy package - We stopped hearing from agent Hosted Agent

    Thank you for the hint. It was based on free pipelines - I guess this explains why. I changed it to paid pipelines. Now it is working fine.

    it would be really great if there would be a message to inform the user to switch to payed pipelines.

  • Verified answer
    nunomaia Profile Picture
    nunomaia 10,684 Super User 2024 Season 1 on at
    RE: Release pipeline failed to deploy package - We stopped hearing from agent Hosted Agent

    If I'm not on mistake, the free tier of pipelines have a 60 minutes timeout. It's not possible to control it 

  • ThomasWilke Profile Picture
    ThomasWilke 754 on at
    RE: Release pipeline failed to deploy package - We stopped hearing from agent Hosted Agent

    Just as an additional information:

    what I noticed now is that deployment to UAT is always taking less than 60 minutes. TEST is taking more time to deploy. Maybe there is a timeout somewhere.

    The timeout settings in that release pipeline are all set to 0 (unlimited). 

  • ThomasWilke Profile Picture
    ThomasWilke 754 on at
    RE: Release pipeline failed to deploy package - We stopped hearing from agent Hosted Agent

    The stage for our TEST is running for 1 hour and 15 minutes and fails with that message. LCS says deployment complete after an hour, so it should be done before DevOps tells me that it failed.

    We deploy the same package to another SAT environment and this is always good. See screenshot below: 

    pastedimage1673637833492v1.png

  • Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    RE: Release pipeline failed to deploy package - We stopped hearing from agent Hosted Agent

    The message doesn't say that the deployment failed, just that the agent stopped communicating at some point.

  • nunomaia Profile Picture
    nunomaia 10,684 Super User 2024 Season 1 on at
    RE: Release pipeline failed to deploy package - We stopped hearing from agent Hosted Agent

    Pipelines have a maximum execution time. DveOps considers that lost contact with Hosted Agent after some time. Check if execution times have increased a lot. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans