Closed ryanfollmer closed 2 years ago
Hi @ryanfollmer, I'm looking into this issue and have few questions to start. Is this an on-going issue or one-time occurrence? What was the time period between the 2 deployments? Did you try to redeploy?
@patelchandni This is an on-going issue unfortunately.
The time period between the 1st and 2nd deployments was approx 2 hours. We did try to deploy again a few hours after the 2nd deploy and it still failed with the same 500 error.
We're able to deploy using Azure extensions in VS Code. But we're unable to do that with our CD process in GitHub Actions.
@ryanfollmer I noticed you said it's a Windows on consumption plan, but in the template it declares "runs-on: ubuntu-latest" i.e. Linux. Please clarify whether the function app is on Windows or Linux?
@patelchandni Yes, the function app is running on Windows in Azure.
@ryanfollmer please update your template accordingly. Here are examples for Function app on Windows: https://docs.microsoft.com/en-us/azure/azure-functions/functions-how-to-github-actions?tabs=javascript#deploy-the-function-app
This issue is idle because it has been open for 14 days with no activity.
Created a new Azure Function App today on Windows using a consumption plan and am using Azure/functions-action@v1 in our GH action to deploy a nodejs app (12.x). The first deploy worked just fine. We were able to test the deployed function and it was working. We are using WEBSITE_RUN_FROM_PACKAGE = 1 in our application settings.
However, any subsequent deployment attempt fails.
Deployment Center Logs produce a single entry "failed" that doesn't provide any other detail about why this fails.
GH Action Yaml (pretty much a straight up copy of the example):
Function App Id: 32a72a36-92de-42aa-971f-c01e91608d8d Operation System: Windows Runtime Version: 3.3.1.0