Azure Functions: Application freezes - “UnableToLoadExpressionAssembly” in error message

五迷三道 提交于 2019-12-24 01:19:22

问题


I have an Azure Functions application which once in a while "freezes" and stops processing messages and timed events.

When this happens I do not see much in the logs (AppInsight), except for the following error message telling me "UnableToLoadExpressionAssembly":

timestamp [UTC]: 2018-02-13T09:18:19.609Z
message: UnableToLoadExpressionAssembly
severityLevel: 3
customDimensions:
    LogLevel: Error
    prop__{OriginalFormat}: UnableToLoadExpressionAssembly
    Category: Host.Startup
client_Type: PC
client_IP: 0.0.0.0
cloud_RoleName: (...)
cloud_RoleInstance: (...)
appId: (...)
appName: (...)
iKey: (...)
sdkVersion: azurefunctions: 1.0.11510.0
itemId: e5362c17-109e-11e8-93fc-0f54eb87135a
itemType: trace
itemCount: 1

What is going wrong here?


回答1:


The issue is caused by the deployment mechanism used not initiating a trigger synchronization, which prevents the infrastructure from activating the Function App when needed.

Deployments using the CI/CD integration, Visual Studio, MSDeploy or ZIP deploy will trigger that synchronization and ensure your function app is activated when needed.



来源:https://stackoverflow.com/questions/48763889/azure-functions-application-freezes-unabletoloadexpressionassembly-in-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!