Closed rpatilarch closed 8 months ago
@rpatilarch Hey Ravindra, apologies that you're running into this issue -- when you have a chance, would you mind answering the following questions:
Azure/functions-action
, Azure/functions-container-action
, a custom script, etc.I have this same issue, when deploying an F# Azure (static web app) function via Azure/static-web-apps-deploy@v1. The code is essentially unchanged from last week when it deployed fine, but now it times out on the "Finished Upload. Polling on deployment." step. The same issue happened for a week or so around November of last year.
Example log: https://github.com/MaxWilson/POCDungeonDraw/actions/runs/4094911431/jobs/7061465470
I am not sure whether my static web app's Azure Function can be deployed via azure cli or portal, but that sounds like a worthwhile workaround. I will try. Edit: it looks like I cannot deploy separately because I am using Managed Functions, not Bring Your Own Functions, per documentation at https://learn.microsoft.com/en-us/azure/static-web-apps/apis-functions.
As a workaround I upgraded to a standard plan and switched to Bring Your Own Functions. It took some work to get all the authentication/authorization configuration switched over but at least now deployment is reliably succeeding.
@rpatilarch Hey Ravindra, apologies that you're running into this issue -- when you have a chance, would you mind answering the following questions:
What step in your GitHub Actions workflow is this error coming from?
- e.g., is this coming from
Azure/functions-action
,Azure/functions-container-action
, a custom script, etc.What type of Python application are you attempting to build and deploy?
- e.g., Conda, Django, Flask, etc.
Are you able to successfully build and deploy your application outside of GitHub Actions?
- i.e., deploy your Azure Functions app via Azure CLI, Azure Portal, etc. @cormacpayne, thanks for the question. My answers are as follows:
- This is coming in step - Run Azure/functions-action@v1
- We build and deploy Azure Functions - we follow the instructions here https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-github-actions?tabs=python
- We have seen the same error sometimes when deploying in VS Code.
It is intermittent, and after re-trying a few times, we can deploy it.
I have just had this start happening across a number of function apps that I deploy to using GitHub actions. These have been working no problems for months and I have had loads of problems in the last 24 hours. Has there been a change that might have impacted: Azure/functions-action@v1?
My issue is resolved, after using the template given here. https://github.com/Azure/actions-workflow-samples/blob/master/FunctionApp/linux-python-functionapp-on-azure.yml
We're closing this issue due to its age. If this is still impacting you please open a new issue and simply link back to this one.
Bug Report
At what date and time did you most recently experience the problem? 1/27/2023
Where did you experience the problem? Azure Functions
If your repo is publicly available please share its URL: No
What happened? Failed to deploy Azure function.
What did you expect or want to happen? Succesful deployment
How can we reproduce it? I am not sure, this is intermittent, and if I try after some time, I may not see this issue.
Do you have log output? Please include between the backticks: