Handling WorkerErrorEvent for runtime:dotnet-isolated, workerId:dotnet-isolated. Failed with: System.TimeoutException: The operation has timed out

I have a Function App targeting .NET 6.0 that logs this error every 10-20 minutes:

22:29:45Z [Verbose] Handling WorkerErrorEvent for runtime:dotnet-isolated,
workerId:dotnet-isolated. Failed with: System.TimeoutException: The
operation has timed out. at
Microsoft.Azure.WebJobs.Script.Grpc.GrpcWorkerChannel.PendingItem.OnTimeout()
in /_/src/WebJobs.Script.Grpc/Channel/GrpcWorkerChannel.cs:line 1767

22:29:45Z [Verbose] Attempting to dispose webhost or jobhost channel for workerId: ‘########-####-####-#################’, runtime: ‘dotnet-isolated’

22:29:45Z [Verbose] Disposing language worker channel with id:########-####-####-#################

22:29:45Z [Verbose] Disposed language worker channel with id:########-####-####-#################

22:29:45Z [Verbose] No initialized worker channels for runtime ‘dotnet-isolated’. Delaying future invocations

22:29:45Z [Verbose] Restarting worker channel for runtime: ‘dotnet-isolated’

22:29:45Z [Verbose] Adding jobhost language worker channel for runtime: dotnet-isolated. workerId:########-####-####-#################

22:29:45Z [Information] Worker process started and initialized.

Instead of the Restarting worker channel for runtime: 'dotnet-isolated' step, this error is occasionally logged instead:

[Error] Exceeded language worker restart retry count for runtime:dotnet-isolated. Shutting down and proactively recycling the Functions Host to recover

[Verbose] Hosting stopping

[Verbose] Stopping file watchers.

[Verbose] Waiting for RpcFunctionInvocationDispatcher to shutdown

[Verbose] Draining invocations from language worker channel completed. Shutting down ‘RpcFunctionInvocationDispatcher’

[Information] Stopping JobHost

[Verbose] Stopping ScriptHost instance ‘########-####-####-#################’.

[Information] Stopping the listener ‘Microsoft.Azure.WebJobs.Extensions.Http.HttpTriggerAttributeBindingProvider+HttpTriggerBinding+NullListener’ for function ‘######’

[Information] Stopped the listener ‘Microsoft.Azure.WebJobs.Extensions.Http.HttpTriggerAttributeBindingProvider+HttpTriggerBinding+NullListener’ for function ‘######’

[Information] Job host stopped

[Verbose] Stopped ScriptHost instance ‘########-####-####-#################’.

[Verbose] Hosting stopped

[Verbose] Disposing ScriptHost.

[Verbose] Initiating background SyncTriggers operation

From the Azure Portal > Diagnose and solve problems > Availability and Performance > Functions that are not triggering > Last 24 hours:

Exception Type Total Occurrences Exception Message
System.TimeoutException 123 Loading function failed. The operation has timed out.
Exceeded language worker restart retry count for runtime:dotnet- 41 Exceeded language worker restart retry count for runtime:dotnet-isolated. Shutting down and proactively recycling the Functions Host to recover
System.Net.Sockets.SocketException 19 Exception encountered while listening to EventStream. An existing connection was forcibly closed by the remote host.

The first request after the Function App idles for 20 minutes or more takes around 5 – 10 seconds longer to process, even with the Function App set to Always On. Any requests directly after that is processed within a second.

Environment Variables:

FUNCTIONS_WORKER_RUNTIME: dotnet-isolated

FUNCTIONS_EXTENSION_VERSION: ~4

The errors stopped and the initial requests are no longer delayed after changing Settings > Environment variables > FUNCTIONS_WORKER_RUNTIME from dotnet-isolated to dotnet in all Function Apps in the App Service Environment.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật