-
Notifications
You must be signed in to change notification settings - Fork 461
Description
Version
Environment:
Core Tools Version: 4.3.0+df07acf9d837d635d1efc2c973225f4f1c8a4333 (64-bit)
Function Runtime Version: 4.1042.100.25374
.Net SDK 8.0.414
Mac OS: 26.0.1
Description
I am getting the below error when trying to run a new Function. The Function is created from the HttpTrigger template with no edits. I am running the most recent MacOS (but I hadn't tried this on the previous version).
I am unable to reproduce this error on Windows. I factory reset the Mac and am getting the same behaviour.
Verbose log from cmd: "func start --verbose":
cresswellp@Peters-MBP
aztm11 % func start --verbose
local.settings.json found in root directory (/Users/cresswellp/Documents/git/aztm11).
Resolving worker runtime to 'dotnet-isolated'.
Determining projects to restore...
All projects are up-to-date for restore.
/usr/local/share/dotnet/sdk/9.0.305/Current/SolutionFile/ImportAfter/Microsoft.NET.Sdk.Solution.targets(36,5): warning NETSDK1194: The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. [/Users/cresswellp/Documents/git/aztm11/aztm11.sln]
Determining projects to restore...
All projects are up-to-date for restore.
WorkerExtensions -> /Users/cresswellp/Documents/git/aztm11/obj/Debug/net8.0/WorkerExtensions/bin/Release/net8.0/Microsoft.Azure.Functions.Worker.Extensions.dll
aztm11 -> /Users/cresswellp/Documents/git/aztm11/bin/output/aztm11.dll
Build succeeded.
/usr/local/share/dotnet/sdk/9.0.305/Current/SolutionFile/ImportAfter/Microsoft.NET.Sdk.Solution.targets(36,5): warning NETSDK1194: The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds. [/Users/cresswellp/Documents/git/aztm11/aztm11.sln]
1 Warning(s)
0 Error(s)
Time Elapsed 00:00:02.56
Selected out-of-process host.
%%%%%%
%%%%%%
@ %%%%%% @
@@ %%%%%% @@
@@@ %%%%%%%%%%% @@@
@@ %%%%%%%%%% @@
@@ %%%% @@
@@ %%% @@
@@ %% @@
%%
%
Azure Functions Core Tools
Core Tools Version: 4.3.0+df07acf9d837d635d1efc2c973225f4f1c8a4333 (64-bit)
Function Runtime Version: 4.1042.100.25374
[2025-10-07T21:07:36.517Z] Found /Users/cresswellp/Documents/git/aztm11/aztm11.csproj. Using for user secrets file configuration.
[2025-10-07T21:07:36.731Z] Building host: version spec: , startup suppressed: 'False', configuration suppressed: 'False', startup operation id: 'f1d837c0-688a-4d18-aede-6b7f4eb2c6f8'
[2025-10-07T21:07:36.764Z] Reading host configuration file '/Users/cresswellp/Documents/git/aztm11/bin/output/host.json'
[2025-10-07T21:07:36.765Z] Host configuration file read:
[2025-10-07T21:07:36.765Z] {
[2025-10-07T21:07:36.765Z] "version": "2.0",
[2025-10-07T21:07:36.765Z] "logging": {
[2025-10-07T21:07:36.765Z] "applicationInsights": {
[2025-10-07T21:07:36.765Z] "samplingSettings": {
[2025-10-07T21:07:36.765Z] "isEnabled": true,
[2025-10-07T21:07:36.765Z] "excludedTypes": "Request"
[2025-10-07T21:07:36.765Z] },
[2025-10-07T21:07:36.765Z] "enableLiveMetricsFilters": true
[2025-10-07T21:07:36.765Z] }
[2025-10-07T21:07:36.765Z] }
[2025-10-07T21:07:36.765Z] }
[2025-10-07T21:07:36.777Z] Extension Bundle not loaded. Loading extensions from /Users/cresswellp/Documents/git/aztm11/bin/output. BundleConfigured: False, PrecompiledFunctionApp: False, LegacyBundle: False, DotnetIsolatedApp: True, isLogicApp: False
[2025-10-07T21:07:36.777Z] Script Startup resetting load context with base path: '/Users/cresswellp/Documents/git/aztm11/bin/output/.azurefunctions'.
[2025-10-07T21:07:36.781Z] Loading startup extension 'Startup'
[2025-10-07T21:07:36.803Z] Loaded extension 'Startup' (1.0.0.0)
[2025-10-07T21:07:36.816Z] Reading host configuration file '/Users/cresswellp/Documents/git/aztm11/bin/output/host.json'
[2025-10-07T21:07:36.816Z] Host configuration file read:
[2025-10-07T21:07:36.816Z] {
[2025-10-07T21:07:36.816Z] "version": "2.0",
[2025-10-07T21:07:36.816Z] "logging": {
[2025-10-07T21:07:36.816Z] "applicationInsights": {
[2025-10-07T21:07:36.816Z] "samplingSettings": {
[2025-10-07T21:07:36.816Z] "isEnabled": true,
[2025-10-07T21:07:36.816Z] "excludedTypes": "Request"
[2025-10-07T21:07:36.816Z] },
[2025-10-07T21:07:36.816Z] "enableLiveMetricsFilters": true
[2025-10-07T21:07:36.816Z] }
[2025-10-07T21:07:36.816Z] }
[2025-10-07T21:07:36.816Z] }
[2025-10-07T21:07:36.835Z] Starting host metrics provider.
[2025-10-07T21:07:36.895Z] Initializing Warmup Extension.
[2025-10-07T21:07:36.911Z] Initializing Host. OperationId: 'f1d837c0-688a-4d18-aede-6b7f4eb2c6f8'.
[2025-10-07T21:07:36.914Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=f1d837c0-688a-4d18-aede-6b7f4eb2c6f8
[2025-10-07T21:07:36.927Z] Loading functions metadata
[2025-10-07T21:07:36.927Z] Worker indexing is enabled
[2025-10-07T21:07:36.928Z] Fetching metadata for workerRuntime: dotnet-isolated
[2025-10-07T21:07:36.929Z] Reading functions metadata (Worker)
[2025-10-07T21:07:37.260Z] {
[2025-10-07T21:07:37.260Z] "ProcessId": 1020,
[2025-10-07T21:07:37.260Z] "RuntimeIdentifier": "osx-arm64",
[2025-10-07T21:07:37.260Z] "WorkerVersion": "2.1.0.0",
[2025-10-07T21:07:37.260Z] "ProductVersion": "2.1.0\u002B6ac6e358ba04b76459b87d0c03fa0db8f95a1da5",
[2025-10-07T21:07:37.260Z] "FrameworkDescription": ".NET 8.0.20",
[2025-10-07T21:07:37.260Z] "OSDescription": "Darwin 25.0.0 Darwin Kernel Version 25.0.0: Wed Sep 17 21:41:45 PDT 2025; root:xnu-12377.1.9~141/RELEASE_ARM64_T6000",
[2025-10-07T21:07:37.260Z] "OSArchitecture": "Arm64",
[2025-10-07T21:07:37.260Z] "CommandLine": "/Users/cresswellp/Documents/git/aztm11/bin/output/aztm11.dll --host 127.0.0.1 --port 49239 --workerId 5de4ef9d-6212-4444-8f19-f27524a4f99f --requestId 825716eb-cd8d-483f-8d41-49db3ce24158 --grpcMaxMessageLength 2147483647 --functions-uri http://127.0.0.1:49239/ --functions-worker-id 5de4ef9d-6212-4444-8f19-f27524a4f99f --functions-request-id 825716eb-cd8d-483f-8d41-49db3ce24158 --functions-grpc-max-message-length 2147483647"
[2025-10-07T21:07:37.260Z] }
[2025-10-07T21:07:37.348Z] 1 functions found (Worker)
[2025-10-07T21:07:37.354Z] Reading functions metadata (Custom)
[2025-10-07T21:07:37.357Z] 0 functions found (Custom)
[2025-10-07T21:07:37.360Z] 1 functions loaded
[2025-10-07T21:07:37.362Z] LoggerFilterOptions
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "MinLevel": "None",
[2025-10-07T21:07:37.362Z] "Rules": [
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "ProviderName": null,
[2025-10-07T21:07:37.362Z] "CategoryName": "Microsoft.Hosting.Lifetime",
[2025-10-07T21:07:37.362Z] "LogLevel": "None",
[2025-10-07T21:07:37.362Z] "Filter": null
[2025-10-07T21:07:37.362Z] },
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:37.362Z] "CategoryName": null,
[2025-10-07T21:07:37.362Z] "LogLevel": "None",
[2025-10-07T21:07:37.362Z] "Filter": null
[2025-10-07T21:07:37.362Z] },
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:37.362Z] "CategoryName": null,
[2025-10-07T21:07:37.362Z] "LogLevel": null,
[2025-10-07T21:07:37.362Z] "Filter": "b__0"
[2025-10-07T21:07:37.362Z] },
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "ProviderName": null,
[2025-10-07T21:07:37.362Z] "CategoryName": null,
[2025-10-07T21:07:37.362Z] "LogLevel": null,
[2025-10-07T21:07:37.362Z] "Filter": "b__0"
[2025-10-07T21:07:37.362Z] },
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "ProviderName": null,
[2025-10-07T21:07:37.362Z] "CategoryName": null,
[2025-10-07T21:07:37.362Z] "LogLevel": null,
[2025-10-07T21:07:37.362Z] "Filter": "b__0"
[2025-10-07T21:07:37.362Z] },
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2025-10-07T21:07:37.362Z] "CategoryName": null,
[2025-10-07T21:07:37.362Z] "LogLevel": "None",
[2025-10-07T21:07:37.362Z] "Filter": null
[2025-10-07T21:07:37.362Z] },
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2025-10-07T21:07:37.362Z] "CategoryName": null,
[2025-10-07T21:07:37.362Z] "LogLevel": null,
[2025-10-07T21:07:37.362Z] "Filter": "b__0"
[2025-10-07T21:07:37.362Z] },
[2025-10-07T21:07:37.362Z] {
[2025-10-07T21:07:37.362Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:37.362Z] "CategoryName": null,
[2025-10-07T21:07:37.362Z] "LogLevel": null,
[2025-10-07T21:07:37.362Z] "Filter": "b__0"
[2025-10-07T21:07:37.362Z] }
[2025-10-07T21:07:37.362Z] ]
[2025-10-07T21:07:37.362Z] }
[2025-10-07T21:07:37.363Z] LoggerFilterOptions
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "MinLevel": "None",
[2025-10-07T21:07:37.363Z] "Rules": [
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "ProviderName": null,
[2025-10-07T21:07:37.363Z] "CategoryName": "Microsoft.Hosting.Lifetime",
[2025-10-07T21:07:37.363Z] "LogLevel": "None",
[2025-10-07T21:07:37.363Z] "Filter": null
[2025-10-07T21:07:37.363Z] },
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:37.363Z] "CategoryName": null,
[2025-10-07T21:07:37.363Z] "LogLevel": "None",
[2025-10-07T21:07:37.363Z] "Filter": null
[2025-10-07T21:07:37.363Z] },
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:37.363Z] "CategoryName": null,
[2025-10-07T21:07:37.363Z] "LogLevel": null,
[2025-10-07T21:07:37.363Z] "Filter": "b__0"
[2025-10-07T21:07:37.363Z] },
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "ProviderName": null,
[2025-10-07T21:07:37.363Z] "CategoryName": null,
[2025-10-07T21:07:37.363Z] "LogLevel": null,
[2025-10-07T21:07:37.363Z] "Filter": "b__0"
[2025-10-07T21:07:37.363Z] },
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "ProviderName": null,
[2025-10-07T21:07:37.363Z] "CategoryName": null,
[2025-10-07T21:07:37.363Z] "LogLevel": null,
[2025-10-07T21:07:37.363Z] "Filter": "b__0"
[2025-10-07T21:07:37.363Z] },
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2025-10-07T21:07:37.363Z] "CategoryName": null,
[2025-10-07T21:07:37.363Z] "LogLevel": "None",
[2025-10-07T21:07:37.363Z] "Filter": null
[2025-10-07T21:07:37.363Z] },
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2025-10-07T21:07:37.363Z] "CategoryName": null,
[2025-10-07T21:07:37.363Z] "LogLevel": null,
[2025-10-07T21:07:37.363Z] "Filter": "b__0"
[2025-10-07T21:07:37.363Z] },
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:37.363Z] "CategoryName": null,
[2025-10-07T21:07:37.363Z] "LogLevel": null,
[2025-10-07T21:07:37.363Z] "Filter": "b__0"
[2025-10-07T21:07:37.363Z] }
[2025-10-07T21:07:37.363Z] ]
[2025-10-07T21:07:37.363Z] }
[2025-10-07T21:07:37.363Z] HttpWorkerOptions
[2025-10-07T21:07:37.363Z] {
[2025-10-07T21:07:37.363Z] "Type": 0,
[2025-10-07T21:07:37.363Z] "Description": null,
[2025-10-07T21:07:37.363Z] "Arguments": null,
[2025-10-07T21:07:37.363Z] "Port": 0,
[2025-10-07T21:07:37.363Z] "EnableForwardingHttpRequest": false,
[2025-10-07T21:07:37.363Z] "EnableProxyingHttpRequest": false,
[2025-10-07T21:07:37.363Z] "InitializationTimeout": "00:00:30"
[2025-10-07T21:07:37.363Z] }
[2025-10-07T21:07:37.363Z] FunctionResultAggregatorOptions
[2025-10-07T21:07:37.364Z] {
[2025-10-07T21:07:37.364Z] "BatchSize": 1000,
[2025-10-07T21:07:37.364Z] "FlushTimeout": "00:00:30",
[2025-10-07T21:07:37.364Z] "IsEnabled": true
[2025-10-07T21:07:37.364Z] }
[2025-10-07T21:07:37.364Z] ConcurrencyOptions
[2025-10-07T21:07:37.364Z] {
[2025-10-07T21:07:37.364Z] "DynamicConcurrencyEnabled": false,
[2025-10-07T21:07:37.364Z] "MaximumFunctionConcurrency": 500,
[2025-10-07T21:07:37.364Z] "CPUThreshold": 0.8,
[2025-10-07T21:07:37.364Z] "SnapshotPersistenceEnabled": true
[2025-10-07T21:07:37.364Z] }
[2025-10-07T21:07:37.364Z] SingletonOptions
[2025-10-07T21:07:37.364Z] {
[2025-10-07T21:07:37.364Z] "LockPeriod": "00:00:15",
[2025-10-07T21:07:37.364Z] "ListenerLockPeriod": "00:00:15",
[2025-10-07T21:07:37.364Z] "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[2025-10-07T21:07:37.364Z] "LockAcquisitionPollingInterval": "00:00:05",
[2025-10-07T21:07:37.364Z] "ListenerLockRecoveryPollingInterval": "00:01:00"
[2025-10-07T21:07:37.364Z] }
[2025-10-07T21:07:37.364Z] ScaleOptions
[2025-10-07T21:07:37.364Z] {
[2025-10-07T21:07:37.364Z] "ScaleMetricsMaxAge": "00:02:00",
[2025-10-07T21:07:37.364Z] "ScaleMetricsSampleInterval": "00:00:10",
[2025-10-07T21:07:37.364Z] "MetricsPurgeEnabled": true,
[2025-10-07T21:07:37.364Z] "IsTargetScalingEnabled": true,
[2025-10-07T21:07:37.364Z] "IsRuntimeScalingEnabled": false
[2025-10-07T21:07:37.364Z] }
[2025-10-07T21:07:37.364Z] Starting JobHost
[2025-10-07T21:07:37.366Z] Starting Host (HostId=petersmbp-1658390066, InstanceId=6b23c97c-8826-44a4-a7b4-f406cb1cc1fb, Version=4.1042.100.25374, ProcessId=1008, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))
[2025-10-07T21:07:37.382Z] Generating 1 job function(s)
[2025-10-07T21:07:37.382Z] Worker process started and initialized.
[2025-10-07T21:07:37.398Z] Found the following functions:
[2025-10-07T21:07:37.398Z] Host.Functions.HttpTrigger1
[2025-10-07T21:07:37.398Z]
[2025-10-07T21:07:37.402Z] HttpOptions
[2025-10-07T21:07:37.402Z] {
[2025-10-07T21:07:37.402Z] "DynamicThrottlesEnabled": false,
[2025-10-07T21:07:37.402Z] "EnableChunkedRequestBinding": false,
[2025-10-07T21:07:37.402Z] "MaxConcurrentRequests": -1,
[2025-10-07T21:07:37.402Z] "MaxOutstandingRequests": -1,
[2025-10-07T21:07:37.402Z] "RoutePrefix": "api"
[2025-10-07T21:07:37.402Z] }
[2025-10-07T21:07:37.402Z] Initializing function HTTP routes
[2025-10-07T21:07:37.402Z] Mapped function route 'api/HttpTrigger1' [get,post] to 'HttpTrigger1'
[2025-10-07T21:07:37.402Z]
[2025-10-07T21:07:37.405Z] Host initialized (36ms)
[2025-10-07T21:07:37.406Z] Host started (39ms)
[2025-10-07T21:07:37.406Z] Job host started
Functions:
HttpTrigger1: [GET,POST] http://localhost:7071/api/HttpTrigger1
[2025-10-07T21:07:42.371Z] Host lock lease acquired by instance ID '000000000000000000000000F04F8DEC'.
[2025-10-07T21:07:43.545Z] Restarting host.
[2025-10-07T21:07:43.556Z] Stopping JobHost
[2025-10-07T21:07:43.559Z] Job host stopped
[2025-10-07T21:07:43.570Z] Building host: version spec: , startup suppressed: 'False', configuration suppressed: 'False', startup operation id: 'efb155c7-cd7c-435b-9dd6-7faa08dbb4ff'
[2025-10-07T21:07:43.613Z] Reading host configuration file '/Users/cresswellp/Documents/git/aztm11/bin/output/host.json'
[2025-10-07T21:07:43.613Z] Host configuration file read:
[2025-10-07T21:07:43.613Z] {
[2025-10-07T21:07:43.613Z] "version": "2.0",
[2025-10-07T21:07:43.613Z] "logging": {
[2025-10-07T21:07:43.613Z] "applicationInsights": {
[2025-10-07T21:07:43.613Z] "samplingSettings": {
[2025-10-07T21:07:43.613Z] "isEnabled": true,
[2025-10-07T21:07:43.613Z] "excludedTypes": "Request"
[2025-10-07T21:07:43.613Z] },
[2025-10-07T21:07:43.613Z] "enableLiveMetricsFilters": true
[2025-10-07T21:07:43.613Z] }
[2025-10-07T21:07:43.613Z] }
[2025-10-07T21:07:43.613Z] }
[2025-10-07T21:07:43.614Z] Extension Bundle not loaded. Loading extensions from /Users/cresswellp/Documents/git/aztm11/bin/output. BundleConfigured: False, PrecompiledFunctionApp: False, LegacyBundle: False, DotnetIsolatedApp: True, isLogicApp: False
[2025-10-07T21:07:43.614Z] Script Startup resetting load context with base path: '/Users/cresswellp/Documents/git/aztm11/bin/output/.azurefunctions'.
[2025-10-07T21:07:43.616Z] Loading startup extension 'Startup'
[2025-10-07T21:07:43.623Z] Loaded extension 'Startup' (1.0.0.0)
[2025-10-07T21:07:43.626Z] Reading host configuration file '/Users/cresswellp/Documents/git/aztm11/bin/output/host.json'
[2025-10-07T21:07:43.626Z] Host configuration file read:
[2025-10-07T21:07:43.626Z] {
[2025-10-07T21:07:43.626Z] "version": "2.0",
[2025-10-07T21:07:43.626Z] "logging": {
[2025-10-07T21:07:43.626Z] "applicationInsights": {
[2025-10-07T21:07:43.626Z] "samplingSettings": {
[2025-10-07T21:07:43.626Z] "isEnabled": true,
[2025-10-07T21:07:43.626Z] "excludedTypes": "Request"
[2025-10-07T21:07:43.626Z] },
[2025-10-07T21:07:43.626Z] "enableLiveMetricsFilters": true
[2025-10-07T21:07:43.626Z] }
[2025-10-07T21:07:43.626Z] }
[2025-10-07T21:07:43.626Z] }
[2025-10-07T21:07:43.638Z] Initializing Warmup Extension.
[2025-10-07T21:07:43.641Z] Initializing Host. OperationId: 'efb155c7-cd7c-435b-9dd6-7faa08dbb4ff'.
[2025-10-07T21:07:43.641Z] Host initialization: ConsecutiveErrors=0, StartupCount=2, OperationId=efb155c7-cd7c-435b-9dd6-7faa08dbb4ff
[2025-10-07T21:07:43.644Z] Loading functions metadata
[2025-10-07T21:07:43.644Z] Worker indexing is enabled
[2025-10-07T21:07:43.644Z] Fetching metadata for workerRuntime: dotnet-isolated
[2025-10-07T21:07:43.644Z] Reading functions metadata (Worker)
[2025-10-07T21:07:43.644Z] Reading functions metadata (Custom)
[2025-10-07T21:07:43.644Z] 0 functions found (Custom)
[2025-10-07T21:07:43.645Z] 1 functions loaded
[2025-10-07T21:07:43.645Z] LoggerFilterOptions
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "MinLevel": "None",
[2025-10-07T21:07:43.645Z] "Rules": [
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": null,
[2025-10-07T21:07:43.645Z] "CategoryName": "Microsoft.Hosting.Lifetime",
[2025-10-07T21:07:43.645Z] "LogLevel": "None",
[2025-10-07T21:07:43.645Z] "Filter": null
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": "None",
[2025-10-07T21:07:43.645Z] "Filter": null
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": null,
[2025-10-07T21:07:43.645Z] "Filter": "b__0"
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": null,
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": null,
[2025-10-07T21:07:43.645Z] "Filter": "b__0"
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": null,
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": null,
[2025-10-07T21:07:43.645Z] "Filter": "b__0"
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": "None",
[2025-10-07T21:07:43.645Z] "Filter": null
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": null,
[2025-10-07T21:07:43.645Z] "Filter": "b__0"
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": null,
[2025-10-07T21:07:43.645Z] "Filter": "b__0"
[2025-10-07T21:07:43.645Z] }
[2025-10-07T21:07:43.645Z] ]
[2025-10-07T21:07:43.645Z] }
[2025-10-07T21:07:43.645Z] LoggerFilterOptions
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "MinLevel": "None",
[2025-10-07T21:07:43.645Z] "Rules": [
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": null,
[2025-10-07T21:07:43.645Z] "CategoryName": "Microsoft.Hosting.Lifetime",
[2025-10-07T21:07:43.645Z] "LogLevel": "None",
[2025-10-07T21:07:43.645Z] "Filter": null
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": "None",
[2025-10-07T21:07:43.645Z] "Filter": null
[2025-10-07T21:07:43.645Z] },
[2025-10-07T21:07:43.645Z] {
[2025-10-07T21:07:43.645Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:43.645Z] "CategoryName": null,
[2025-10-07T21:07:43.645Z] "LogLevel": null,
[2025-10-07T21:07:43.645Z] "Filter": "b__0"
[2025-10-07T21:07:43.646Z] },
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "ProviderName": null,
[2025-10-07T21:07:43.646Z] "CategoryName": null,
[2025-10-07T21:07:43.646Z] "LogLevel": null,
[2025-10-07T21:07:43.646Z] "Filter": "b__0"
[2025-10-07T21:07:43.646Z] },
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "ProviderName": null,
[2025-10-07T21:07:43.646Z] "CategoryName": null,
[2025-10-07T21:07:43.646Z] "LogLevel": null,
[2025-10-07T21:07:43.646Z] "Filter": "b__0"
[2025-10-07T21:07:43.646Z] },
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2025-10-07T21:07:43.646Z] "CategoryName": null,
[2025-10-07T21:07:43.646Z] "LogLevel": "None",
[2025-10-07T21:07:43.646Z] "Filter": null
[2025-10-07T21:07:43.646Z] },
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[2025-10-07T21:07:43.646Z] "CategoryName": null,
[2025-10-07T21:07:43.646Z] "LogLevel": null,
[2025-10-07T21:07:43.646Z] "Filter": "b__0"
[2025-10-07T21:07:43.646Z] },
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",
[2025-10-07T21:07:43.646Z] "CategoryName": null,
[2025-10-07T21:07:43.646Z] "LogLevel": null,
[2025-10-07T21:07:43.646Z] "Filter": "b__0"
[2025-10-07T21:07:43.646Z] }
[2025-10-07T21:07:43.646Z] ]
[2025-10-07T21:07:43.646Z] }
[2025-10-07T21:07:43.646Z] HttpWorkerOptions
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "Type": 0,
[2025-10-07T21:07:43.646Z] "Description": null,
[2025-10-07T21:07:43.646Z] "Arguments": null,
[2025-10-07T21:07:43.646Z] "Port": 0,
[2025-10-07T21:07:43.646Z] "EnableForwardingHttpRequest": false,
[2025-10-07T21:07:43.646Z] "EnableProxyingHttpRequest": false,
[2025-10-07T21:07:43.646Z] "InitializationTimeout": "00:00:30"
[2025-10-07T21:07:43.646Z] }
[2025-10-07T21:07:43.646Z] FunctionResultAggregatorOptions
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "BatchSize": 1000,
[2025-10-07T21:07:43.646Z] "FlushTimeout": "00:00:30",
[2025-10-07T21:07:43.646Z] "IsEnabled": true
[2025-10-07T21:07:43.646Z] }
[2025-10-07T21:07:43.646Z] ConcurrencyOptions
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "DynamicConcurrencyEnabled": false,
[2025-10-07T21:07:43.646Z] "MaximumFunctionConcurrency": 500,
[2025-10-07T21:07:43.646Z] "CPUThreshold": 0.8,
[2025-10-07T21:07:43.646Z] "SnapshotPersistenceEnabled": true
[2025-10-07T21:07:43.646Z] }
[2025-10-07T21:07:43.646Z] SingletonOptions
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "LockPeriod": "00:00:15",
[2025-10-07T21:07:43.646Z] "ListenerLockPeriod": "00:00:15",
[2025-10-07T21:07:43.646Z] "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[2025-10-07T21:07:43.646Z] "LockAcquisitionPollingInterval": "00:00:05",
[2025-10-07T21:07:43.646Z] "ListenerLockRecoveryPollingInterval": "00:01:00"
[2025-10-07T21:07:43.646Z] }
[2025-10-07T21:07:43.646Z] ScaleOptions
[2025-10-07T21:07:43.646Z] {
[2025-10-07T21:07:43.646Z] "ScaleMetricsMaxAge": "00:02:00",
[2025-10-07T21:07:43.646Z] "ScaleMetricsSampleInterval": "00:00:10",
[2025-10-07T21:07:43.646Z] "MetricsPurgeEnabled": true,
[2025-10-07T21:07:43.646Z] "IsTargetScalingEnabled": true,
[2025-10-07T21:07:43.646Z] "IsRuntimeScalingEnabled": false
[2025-10-07T21:07:43.646Z] }
[2025-10-07T21:07:43.646Z] Starting JobHost
[2025-10-07T21:07:43.647Z] Starting Host (HostId=petersmbp-1658390066, InstanceId=df85f462-e169-4888-b5a5-ed6ff612a714, Version=4.1042.100.25374, ProcessId=1008, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))
[2025-10-07T21:07:43.647Z] Generating 1 job function(s)
[2025-10-07T21:07:43.647Z] Worker process started and initialized.
[2025-10-07T21:07:43.649Z] Found the following functions:
[2025-10-07T21:07:43.649Z] Host.Functions.HttpTrigger1
[2025-10-07T21:07:43.649Z]
[2025-10-07T21:07:43.649Z] HttpOptions
[2025-10-07T21:07:43.649Z] {
[2025-10-07T21:07:43.649Z] "DynamicThrottlesEnabled": false,
[2025-10-07T21:07:43.649Z] "EnableChunkedRequestBinding": false,
[2025-10-07T21:07:43.649Z] Initializing function HTTP routes
[2025-10-07T21:07:43.649Z] "MaxConcurrentRequests": -1,
[2025-10-07T21:07:43.649Z] "MaxOutstandingRequests": -1,
[2025-10-07T21:07:43.649Z] Mapped function route 'api/HttpTrigger1' [get,post] to 'HttpTrigger1'
[2025-10-07T21:07:43.649Z]
[2025-10-07T21:07:43.649Z] "RoutePrefix": "api"
[2025-10-07T21:07:43.649Z] }
[2025-10-07T21:07:43.649Z] Host initialized (2ms)
[2025-10-07T21:07:43.649Z] Host started (2ms)
[2025-10-07T21:07:43.649Z] Job host started
[2025-10-07T21:07:43.654Z] Worker failed to load function: 'HttpTrigger1' with functionId: '3219622548'.
[2025-10-07T21:07:43.654Z] Result: Failure
[2025-10-07T21:07:43.654Z] Exception: System.InvalidOperationException: Unable to load Function 'HttpTrigger1'. A function with the id '3219622548' name already exists.
[2025-10-07T21:07:43.654Z] at Microsoft.Azure.Functions.Worker.FunctionsApplication.LoadFunction(FunctionDefinition definition) in //src/DotNetWorker.Core/FunctionsApplication.cs:line 62
[2025-10-07T21:07:43.654Z] at Microsoft.Azure.Functions.Worker.GrpcWorker.FunctionLoadRequestHandler(FunctionLoadRequest request, IFunctionsApplication application, IMethodInfoLocator methodInfoLocator) in //src/DotNetWorker.Grpc/GrpcWorker.cs:line 268
[2025-10-07T21:07:43.654Z] Stack: at Microsoft.Azure.Functions.Worker.FunctionsApplication.LoadFunction(FunctionDefinition definition) in //src/DotNetWorker.Core/FunctionsApplication.cs:line 62
[2025-10-07T21:07:43.654Z] at Microsoft.Azure.Functions.Worker.GrpcWorker.FunctionLoadRequestHandler(FunctionLoadRequest request, IFunctionsApplication application, IMethodInfoLocator methodInfoLocator) in //src/DotNetWorker.Grpc/GrpcWorker.cs:line 268.
[2025-10-07T21:07:43.729Z] Host restarted.
^C[2025-10-07T21:07:46.342Z] Stopping host...
[2025-10-07T21:07:46.343Z] Stopping JobHost
[2025-10-07T21:07:46.343Z] Job host stopped
[2025-10-07T21:07:46.345Z] Host shutdown completed.
[2025-10-07T21:07:46.347Z] Shutting down language worker channels for runtime:dotnet-isolated
cresswellp@Peters-MBP aztm11 % `
Steps to reproduce
Create new Function from vscode extension. .Net 8.0, HttpTrigger, Anonymous.
Run from Vscode, or from cli using 'function start --verbose'.