“Function app Log stream”中不断出现的消息,它来自何处?

huangapple go评论47阅读模式
英文:

Recurring message in the Function app Log stream, where does it come from?

问题

My .NET 7 function app is running fine, but a message frequently occurs in the Log stream, and I don't understand where it is coming from. None of my code is using "Azure.Storage.Blobs". Any ideas?

This is the message:

Headers: Transfer-Encoding: chunked Server: Microsoft-HTTPAPI/2.0 x-ms-request-id: 81b71c3a-c01e-0003-2cc1-859e40000000 x-ms-error-code: OutOfRangeInput Date: Sat, 13 May 2023 17:39:01 GMT .

2023-05-13T17:39:06Z [Verbose] Host instance '....' failed to acquire host lock lease: Azure.Storage.Blobs: Service request failed. Status: 400 (One of the request inputs is out of range.) ErrorCode: OutOfRangeInput

英文:

My .net 7 function app is running fine, but a message frequently occur in the Log stream, and I don't understand where it is coming from. None of my code is using "Azure.Strorage.Blogs". Any ideas?

This is the message:

> Headers: Transfer-Encoding: chunked Server: Microsoft-HTTPAPI/2.0
> x-ms-request-id: 81b71c3a-c01e-0003-2cc1-859e40000000 x-ms-error-code:
> OutOfRangeInput Date: Sat, 13 May 2023 17:39:01 GMT .
>
> 2023-05-13T17:39:06Z [Verbose] Host instance '....' failed to acquire
> host lock lease: Azure.Storage.Blobs: Service request failed. Status:
> 400 (One of the request inputs is out of range.) ErrorCode:
> OutOfRangeInput

答案1

得分: 1

这个日志来自运行时函数的内部实现。除非您看到您的函数受到影响,否则您可以忽略这个。

一些触发器,比如定时器触发器,使用这种类型的 Blob 存储租赁作为分布式锁,以确保只有一个函数应用实例正在执行。

英文:

This log is from an internal implementation of the functions runtime. Unless you see your functions being affected, you can ignore this.

Some triggers like the Timer trigger for example uses this kind of blob storage lease as a distributed lock to ensure only one function app instance is being executed.

huangapple
  • 本文由 发表于 2023年5月14日 01:47:45
  • 转载请务必保留本文链接:https://go.coder-hub.com/76244149.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定