I try to make a time-triggered function in Visual Studio 2022, while doing this at the debugging the following error occurs:
[2022-06-27T07:47:03.127Z] The listener for function 'Function1' was unable to start.
[2022-06-27T07:47:03.129Z] The listener for function 'Function1' was unable to start. Azure.Storage.Blobs: Service request failed.
[2022-06-27T07:47:03.129Z] Status: 407 (Proxy Authentication Required)
My local.settings.json looks the following:
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
}
}
I also tried to add our local company Proxy to this setting bs setting the values of HTTP_PROXY and HTTPS_PROXY but they are skipped since already configured in Environment Variables:
Skipping 'http_proxy' from local settings as it's already defined in current environment variables.
Skipping 'https_proxy' from local settings as it's already defined in current environment variables.
Skipping 'HTTP_PROXY' from local settings as it's already defined in current environment variables.
Skipping 'HTTPS_PROXY' from local settings as it's already defined in current environment variables.
Skipping 'NO_PROXY' from local settings as it's already defined in current environment variables.
Also Azurite is up and running on Ports 10000-10002 as the Console says:
FunctionApp1: Azurite Blob service is starting at http://127.0.0.1:10000
FunctionApp1: Azurite Blob service is successfully listening at http://127.0.0.1:10000
FunctionApp1: Azurite Queue service is starting at http://127.0.0.1:10001
FunctionApp1: Azurite Queue service is successfully listening at http://127.0.0.1:10001
FunctionApp1: Azurite Table service is starting at http://127.0.0.1:10002
FunctionApp1: Azurite Table service is successfully listening at http://127.0.0.1:10002
Do you have any idea why this could happen, or what I should configure?