We are migrating from an existing ASE and created a new ASE and app service, created new service prinicipal, configured new azure account but when we are trying to deploy code to the new app service it fails with the below error.
Microsoft.Web.Deployment.DeploymentAgentUnavailableException: Could not complete the request to remote agent URL ‘https://$Appservicename:email@example.com/msdeploy.axd?site=appservicename’. —> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. —> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. —> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
Any additional configuration needs to be done ? or am i missing anything?