Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23160

Where to find Azure Functionapp deploy errors for python 3.11 in the Azure Portal

$
0
0

I want to move my local python 3.11 project to an Azure Functionapp. Somewhere in the deployment process, an error happens, such as an ModuleNotFoundError. I assume it's because a package that can be installed locally just fine, fails to install on the Azure Functionapp. I can't find the errors in the Azure Portal, so I don't know what is wrong.

I created a basic example app which demonstrates my problem

enter image description here

I looked in Application Insights -> Logs -> traces. It shows that my only HTTP endpoint was found, but not loaded. It does not say why.

enter image description here

The Log stream shows no errors.

enter image description here

I managed to find my errors deep inside the portal, at Diagnose and solve problems -> Availability and Performance -> Functions that are not triggering. Here it shows ModuleNotFoundError: No module named 'somenonexistingmodule'. However, these logs seem to be delayed by at least 15 minutes, so I have to wait 15 minutes after every deploy to figure out what is going wrong.

Is it possible to get any deploy errors straight away? Why doesn't the deploy process throw an error when a function doesn't want to load due to an error?


Viewing all articles
Browse latest Browse all 23160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>