-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The listener for function '' was unable to start.Microsoft.Azure.WebJobs.Host.Listeners.FunctionListenerException : The listener for function #8079
Comments
Hi @SailleshPawar , Thank you for your feedback! We will check for the possibilities internally and update you with the findings. |
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 |
Thanks will check the same. :) |
@v-bbalaiagar The above mentioned docs is specifying the issue on local env which doesn't seems to be the same, the issue that we are facing is on the function app which is deployed on Azure. |
Hi @SailleshPawar , Thanks for the update, We will investigate this further and update you with the findings. |
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. |
Did anyone find a solution to this? |
Same problem here – any solution? 👀 |
Not sure if this helps, but in my case I had to go to the networking settings of the storage account associated with my function app. I set the Public network access to Enabled from all networks and after ~5min I got a message in the function app's logs stating |
Check 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:
Related information
Provide any related information
AuthorizationFailure
This request is not authorized to perform this operation.RequestId:3a945827-201e-0031-4515-0e9215000000Time:2022-01-20T15:53:37.3831861ZHeaders: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 exceptionThe text was updated successfully, but these errors were encountered: