- I created a function app on Azure Portal with below configuration.
- And I created a simple HTTP trigger Function App on VS 2019 version of 16.7.6. The function is working successfuly on local machine. When I want to publish it to Azure, it returns below error;
Publish has encountered an error. The Publish URL https://waws-prod-am2-xxx.publish.azurewebsites.windows.net/ is unreachable. The application may be stopped, restarting or unavailable. Try again once the publish target is available.
- The publishing summary is;
When I check the publish profile on VS (.pubxml file), I see the line
<PublishUrl>https://waws-prod-am2-311.publish.azurewebsites.windows.net/</PublishUrl>
But it should be
<PublishUrl>http://myfuncappdss.scm.azurewebsites.net</PublishUrl>
I change it manually and there is any other error that is not detected
Publish has encountered an error. Publish has encountered an error. We were unable to determine the cause of the error.
It hasn't published for 2 days. Before, I published successfully. I search it on google but I couldn't find any clue.
Btw, I can reach the FTP file of the function successfully. And the function running successfully on https://myfuncappdss.azurewebsites.net/ site. I tried it with az command also but it wasn't work, too. All my teammates can't publish also. So, the problem is not just about my computer. Why is the PublishUrl set with wrong URL?


