-
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
Azure timer triggered function not invoked. #8649
Comments
@spmanjunath can you provide us the function app name instead of function name so that we can be able to find the logs and provide you with the solution. |
Function app name: eimappregops-func |
@spmanjunath i went through the logs for the time stamp 2022-08-20 10:30 to 2022-08-23 10:30 and seen some exceptions for the functions as below Host Runtime instance (Dynamic Plan) was not available for a long time period (> 15 minutes) App Setting : FUNCTIONS_WORKER_RUNTIME conflicts with LinuxFxVersion: FUNCTIONS_WORKER_RUNTIME is set to dotnet-isolated while LinuxFxVersion is configured to DOTNET-ISOLATED|6.0. Here is how you can troubleshoot the issue. https://github.com/Azure/azure-webjobs-sdk-extensions/wiki/TimerTrigger#troubleshooting Alternatively, follow the instructions below. Navigate to the application in the Azure Portal. Please check and let us know if this helps. |
@ramya894 : I looked for past 7 days logs in Application insight and there are no errors, please guide me where you noticed these errors, so that i can investigate it further. The primary reason for the function to have long no-run is due to timer trigger not getting invoked - i have only one timer trigger function. App Setting : FUNCTIONS_WORKER_RUNTIME conflicts with LinuxFxVersion: FUNCTIONS_WORKER_RUNTIME is set to dotnet-isolated while LinuxFxVersion is configured to DOTNET-ISOLATED|6.0. I updated LinuxFxVersion configuration as above, the timer trigger function is still not getting invoked. Are there other misconfigurations that results in these type of errors? Going through the 'Diagnose and solve problems' blade everything seems to be working as expected. I have explored the links you provided and i don't see any of those could be possible causes? Please note that the timer trigger gets called merely by refreshing the corresponding Function app - browser page. This could be related to Sync trigger issue, but i have tried updating the triggers and is not solving the issue. Kindly let me know what other possible issues could result in this. |
@ramya894 : I wanted to check if the issue is related to use of nested app setting format that is used for trigger binding, the said function is deployed in Linux environment, App setting is:
In my Azure function, timer trigger is set to
|
It appears that the hierarchical/nested trigger binding causes issues with Azure function, i changed the naming format as below and timer trigger was getting called as expected,
Timer trigger binding without separators %NotificationSettingsTimerInterval%,
I guess this is a bug, not sure if it is a problem specific to Linux environment. I would prefer to have this working with nested config references. Please suggest a solution. |
@spmanjunath we will check this issue with the next level team and let you know the results soon, thank you |
Can we get an update on this? |
I'm facing this issue now as well, it's pretty inconsistent, sometimes it'll run on a schedule, sometimes it wont. |
have you checked it? :D |
The Azure Timer Triggered function is not invoked, strangely, refreshing the corresponding Azure function app page in Azure Portal triggers this function.
Investigative information
Expected behavior
Azure function should be invoked as per the schedule. Code and configuration extracts are as below,
Actual behavior
Timer function is not triggered.
Known workarounds
Related information
AzureFunctionApp@1
task.Thanks.
The text was updated successfully, but these errors were encountered: