Azure Devops release failing with error

Alpesh Rabari 20 Reputation points
2023-05-12T07:11:35.49+00:00

I have web app service as a deployment from azure devops release pipeline.
Using microsoft hosted agent, project has been published and deployed successfully to backend web app service but azure release pipeline is talking long time to run and then failed, it throws an error:

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 

I have applied some of steps to resolve this issue:
1: Upgraded app service plan then deploy again : Not resolved.
2: Deployed project with new web app service and app service plan, also clone the release: Not resolved.
3: Release pipeline with new release: Not resolved.
4: Verified network connection all seems ok.

Notably, release shows successful on app service, but still the pipeline keeps running and over the time it failed.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,988 questions
{count} votes

Accepted answer
  1. SnehaAgrawal-MSFT 18,286 Reputation points
    2023-05-15T16:55:25.5033333+00:00

    @Alpesh Rabari It seems like the issue is related to the Azure DevOps release pipeline and the hosted agent, As suggested in Official document:

    If your pipeline gets an agent but fails to complete, check the following common issues. If your issue doesn't seem to match one of these, see Get logs to diagnose problems.

    Also, you may want to know that Azure DevOps is not supported on Microsoft Q&A. Please check this supported products list here.

    The Azure DevOps team and community are active and answering questions on https://developercommunity.visualstudio.com/spaces/21/index.html suggest you post your question there and experts will guide you.

    You can also ask for help here: https://stackoverflow.com/questions/tagged/azure-devops

    Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful