YangChowmun-0538 avatar image
0 Votes"
YangChowmun-0538 asked MughundhanRaveendran-MSFT commented

Strange behaviour of Azure function

On and off, I notice that once I redeploy the azure function it will show some errors even it is running fine in the previous version.
There are not code error but the error will be something like missing module like 'pytz', which I believe I did not remove it from the requirement.txt.

The current problem I am facing is I am reading a yaml file from blobstroage, the code was running fine before redeploy and showing error after redeploy. I am not able to find the root cause and I could only restore the code to the earlier time using backup features. But after restore, I am not able to do changes to the code because I am not sure what causes the error.

Any suggestion on how should I deal with this situation?

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@YangChowmun-0538 ,

Could you please provide the details of the error message, may be the full error stack or the screenshot of the error message?
Also please let me know whether the error is seen after the deployment or during the deployment.

0 Votes 0 ·
YangChowmun-0538 avatar image YangChowmun-0538 MughundhanRaveendran-MSFT ·

Hi @MughundhanRaveendran-MSFT , thanks for the reply.

I managed to solve it using some additional command when reading from the yaml files.
I am just feel very weird, the issue does not happened before and out of sudden it appears.

0 Votes 0 ·

@YangChowmun-0538 ,

Thanks for the update. Feel free to reach out here when you see the issue again.

0 Votes 0 ·

0 Answers