I am using VSTS pipeline to deploy asp.net core 2.2 MVC to azure web app. The last step which is deploy to azure fails - please see the error below:
##[error]Failed to deploy web package to App Service. 2019-01-08T21:39:47.3810424Z ##[error]Error Code: ERROR_DESTINATION_NOT_REACHABLE More Information: Could not connect to the remote computer ("our website url"). On the remote computer, make sure that Web Deploy is installed and that the required process ("Web Management Service") is started. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_DESTINATION_NOT_REACHABLE. Error: Unable to connect to the remote server Error: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond ????:443
I even tried to Take App Offline but no luck:
However, it works fine if I publish the web app through Visual studio.