【问题标题】:Stopping the listener 'Microsoft.Azure.WebJobs.Host.Blobs.Listeners.BlobListener' for function <XXX>为函数 <XXX> 停止侦听器 \'Microsoft.Azure.WebJobs.Host.Blobs.Listeners.BlobListener\'
【发布时间】:2022-10-07 20:21:01
【问题描述】:

我有一个函数应用程序,其中有一个 HttpTrigger 和 3 个 BlobTrigger 函数。在我部署它之后,http 触发器工作正常,但对于其他作为 blob 触发器的函数,它会给出以下错误

“为函数停止侦听器'Microsoft.Azure.WebJobs.Host.Blobs.Listeners.BlobListener'”对于一个功能

为函数停止侦听器“Microsoft.Azure.WebJobs.Host.Listeners.CompositeListener” "对于另外两个

我在其他环境中进行了验证,并且配置值相同/相似,因此不确定为什么我们仅在一个环境中遇到此问题。我正在使用消费模式。

更新:当文件放置在 blob 函数中时,不会触发。

【问题讨论】:

  • 你在哪里运行所有这些功能,在 Azure 门户中还是在本地?
  • 在 Azure 门户中@HariKrishna

标签: azure azure-functions


【解决方案1】:

为函数停止侦听器“Microsoft.Azure.WebJobs.Host.Blobs.Listeners.BlobListener”

在使用 Azure Functions Queue Trigger 时,我观察到了相同的消息:

此消息并不意味着功能错误。由于 Function 活动超时,此消息将出现在App Insights>Traces.

我已经停止在队列中发送消息一段时间了,并且观察到了类似的痕迹Web Job Host Stopped如果您再次运行该函数或该函数中存在任何连续活动,则此消息将不会出现在跟踪中。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-20
    • 1970-01-01
    • 1970-01-01
    • 2017-11-05
    相关资源
    最近更新 更多