Error deploying code using Azure Devops

shyam kumar minda shankar 0 Reputation points
2023-08-01T19:28:53.9+00:00
       We are having issue when deploying code usig Azure Devops. Below are Error Details and Screen Shots. The service is up and running I checked Azure Portal.

Error: Error Code: ERROR_COULD_NOT_CONNECT_TO_REMOTESVC More Information: Could not connect to the remote computer ("########.scm.azurewebsites.net") using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer. Learn more at: https://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC. Error: The remote server returned an error: (500) Internal Server Error. Error count: 1.


Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,934 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    2023-08-02T10:42:19.53+00:00

    @shyam kumar minda shankar ,

    Just to clarify, does this issue occur for local deployments via DevOps or only to Azure App Service?

    Users with a similar issue were able to resolve by:

    • In Azure DevOps, the agent pool has the right IPs for deployment.
    • Upgrade App Service Plan, lack of space in App Service may cause this issue.
      [Reference: discussion thread on SO ]

     

    Please try setting the following app setting for your WebApp.
    WEBSITE_WEBDEPLOY_USE_SCM = false

     

    Also, ensure that the configuration settings in Azure DevOps are correct, review the deployment pipeline.

    To fetch more info, you may check the deployment logs in Azure DevOps and App Service logs to see if there are any additional error messages or details that can help identify the root cause of the issue.
     

    Looks like the screenshots were missing, please share the screenshots after concealing any private details.

    Kindly let us know, I’ll follow-up with you further.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.