Closed YunchuWang closed 9 months ago
For us this issue was detected on 22/06/2022, and problem is there are no logs on Function Apps. The one helpful clue we found for this was when looking at the container logs, it showed "unhealthy, Stopping site"
Temporal solution has worked so far, hopefully Microsoft fixes this soon, and let the community know, it took us a LOT of hours to be able to fix this issue.
Thanks for posting this, it is indeed a terrible error since it only started showing up for me when switching to a Premium function and looking at the logs in the advanced tools ... This is an awful awful bug that has caused my company a lot of time and effort, please fix!
@gerardsimons we have fixed this bug and is currently being rolled out. Runtime version 4.9.1 will have the fix for this.
How do I get a hold of one of these upgraded runtimes with the fix? Redeploying an app today on an EP plan in West Europe gave me this. Multiple app restarts did not help.
How do I get a hold of one of these upgraded runtimes with the fix? Redeploying an app today on an EP plan in West Europe gave me this. Multiple app restarts did not help.
@waltherg Have you tried any of the mitagation options mentioned in the issue description? Setting PYTHON_ISOLATE_WORKER_DEPENDENCIES to 1 in AppSettings worked for me
How do I get a hold of one of these upgraded runtimes with the fix? Redeploying an app today on an EP plan in West Europe gave me this. Multiple app restarts did not help.
@waltherg Have you tried any of the mitagation options mentioned in the issue description? Setting PYTHON_ISOLATE_WORKER_DEPENDENCIES to 1 in AppSettings worked for me
Good call. Yes setting that environment variable did help, thanks. I would've just hoped all runners had been upgraded by now. As others have commented this issue is extremely time consuming to work out because the App Insights exception logs aren't descriptive at all.
Announcement: Azure python function apps pinning protobuf package to v4.x.x directly or indirectly (ex. use another library which requires protobuf v4) malfunction as protobuf v4.x.x introduces breaking changes
Problem: There is breaking change introduced in new protobuf package v4.x.x version, ref at https://github.com/protocolbuffers/protobuf/issues/10064
Azure python function worker currently using protobuf package of v3.x.x version. Since protobuf v4 is released, it is observed many python function apps which pin protobuf to v4.x.x in the requirement.txt are affected. Detailed error logs are as below. Caution, if your function app is affected, please refer to mitigation step section below!!!
Mitigation Two ways to mitigate the issue: