Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
333 stars 103 forks source link

Python v2 worker not indexing http triggers #1247

Closed mathieuisabel closed 1 year ago

mathieuisabel commented 1 year ago

Runtime version: 4.19.2.2 Python: 3.10

When running locally, all the functions are discovered correctly. When deploying in Azure, the following is show while deploying:

10:31:10 AM : Deployment successful. deployer = ms-azuretools-vscode deploymentPath = Functions App ZipDeploy. Extract zip. Remote build. 10:31:24 AM : Syncing triggers... 10:31:36 AM : Querying triggers... 10:31:38 AM : No HTTP triggers found.

No functions can be found in the Azure portal as well.

The following app setting is present::

"AzureWebJobsFeatureFlags": "EnableWorkerIndexing"

Calling any of the http methods yields a 404.

I deleted and recreated the function app and still no change.

The function app was working fine in Azure before this morning's deployment.

mathieuisabel commented 1 year ago

This is related to #1165 . In my particular case, the app was silently failing as a package was missing in the requirements.txt file.

bhagyshricompany commented 1 year ago

Thanks for reporting issue. we are investing this issue and update this asap.

bhagyshricompany commented 1 year ago

we have this feature in azure portal you can check in monitor tab if we missing pkgs file from req.txt we got error module not found. But as you mention for console locally https://github.com/Azure/azure-functions-python-worker/issues/1165 we are working will update once done in future.

bhagyshricompany commented 1 year ago

In v1 programming model tested got error:

image
mathieuisabel commented 1 year ago

we have this feature in azure portal you can check in monitor tab if we missing pkgs file from req.txt we got error module not found. But as you mention for console locally #1165 we are working will update once done in future.

Are you referring to the monitor tab for a particular function? I can't seem to find what you are referring to. I also checked under Diagnose and solve problems.

bhagyshricompany commented 1 year ago

1165 issue as u tag that will be update in future.

gavin-aguiar commented 1 year ago

@mathieuisabel could you create a support request through the azure portal so we can take a look at the logs for your function app.

ghost commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.