The listener for function '' was unable to start.Microsoft.Azure.WebJobs.Host.Listeners.FunctionListenerException : The listener for function
See original GitHub issueCheck for a solution in the Azure portal
For issues in production, please check for a solution to common issues in the Azure portal before opening a bug. In the Azure portal, navigate to your function app, select Diagnose and solve problems
from the left, and view relevant dashboards before opening your issue.
Investigative information
Please provide the following:
- Timestamp:
- FUNCTIONS_EXTENSION_VERSION: 3
- Function App version:
- Function App name:
- Function name(s) (as appropriate):
- Invocation ID:
- Region: West Europe
Related information
Provide any related information
- Programming language used
- Links to source
- Bindings used
AuthorizationFailure
<Message>This request is not authorized to perform this operation.RequestId:3a945827-201e-0031-4515-0e9215000000Time:2022-01-20T15:53:37.3831861Z</Message></Error>Headers:Server: Microsoft-HTTPAPI/2.0x-ms-request-id: 3a945827-201e-0031-4515-0e9215000000x-ms-client-request-id: 558f6040-c65c-4a6c-b5b0-17968e881fdfx-ms-error-code: AuthorizationFailureDate: Thu, 20 Jan 2022 15:53:36 GMTContent-Length: 246Content-Type: application/xmlat async Azure.Storage.Blobs.BlobRestClient.AcquireLeaseAsync(Nullable`1 timeout,Nullable`1 duration,String proposedLeaseId,Nullable`1 ifModifiedSince,Nullable`1 ifUnmodifiedSince,String ifMatch,String ifNoneMatch,String ifTags,CancellationToken cancellationToken)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Azure.Storage.Blobs.Specialized.BlobLeaseClient.AcquireInternal(TimeSpan duration,RequestConditions conditions,Boolean async,CancellationToken cancellationToken)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Azure.Storage.Blobs.Specialized.BlobLeaseClient.AcquireAsync(TimeSpan duration,RequestConditions conditions,CancellationToken cancellationToken)at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Script.BlobLeaseDistributedLockManager.TryAcquireLeaseAsync(BlobLeaseDistributedLockManager lockManager,BlobClient blobClient,TimeSpan leasePeriod,String proposedLeaseId,CancellationToken cancellationToken,String accountOverride) at D:\a\1\s\src\WebJobs.Script\Host\DistributedLockManagers\BlobLeaseDistributedLockManager.cs : 134at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Script.BlobLeaseDistributedLockManager.TryLockAsync(String account,String lockId,String lockOwnerId,String proposedLeaseId,TimeSpan lockPeriod,CancellationToken cancellationToken) at D:\a\1\s\src\WebJobs.Script\Host\DistributedLockManagers\BlobLeaseDistributedLockManager.cs : 82at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Host.SingletonManager.TryLockAsync(String lockId,String functionInstanceId,SingletonAttribute attribute,CancellationToken cancellationToken,Boolean retry) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Singleton\SingletonManager.cs : 113at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Host.Listeners.SingletonListener.StartAsync(CancellationToken cancellationToken) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Singleton\SingletonListener.cs : 48at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at async Microsoft.Azure.WebJobs.Host.Listeners.FunctionListener.StartAsync(??) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Listeners\FunctionListener.cs : 68End of inner exception
</details>
-->
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
The listener for function was unable to start. Why?
I solved the issue doing the following steps: Open up a new terminal and type "azurite". The program will open and keep the...
Read more >Listener for Azure function was unable to start error while ...
I have one Azure function app and I am trying to run that locally but getting the below error. I have the storage...
Read more >The listener for function 'name' was unable to start.
Hello everyone, I tried to run Azure Function Event Hub trigger on my laptop but I got this error After that I changed...
Read more >How to fix "The listener for function was unable to start. Out of ...
How to fix “the listener for function was unable to start” for Azure Functions? ... Navigate to Azure IoT Hub, and “Built-in Endpoints”...
Read more >How to fix Azure Functions Timer Trigger unable to start ...
The listener for function 'function name' was unable to start. Azure ... Open Azure Storage Explorer and delete the azure-webjobs-hosts blob ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @SailleshPawar , Similar scenarios were tracked earlier as mentioned here - https://docs.microsoft.com/en-us/answers/questions/698846/listener-for-azure-function-was-unable-to-start-er.html Please check and let us know if this helps.
I’m experiencing the same problem with a range of function apps running SDK functions 3.0.11 and on framework .Net Core 3.1.