Hi all,
I'm trying to run a azure function (1.x version) on azure cloud, and I'm getting the below error.
Microsoft.Azure.WebJobs.Host: Timeout value of 00:05:00 was exceeded by function: 'MY_FUNCTION_NAME.'
- For the above error, I have raised the timeout value from default (5 min) to 10 min in the host.json file as below
- { "functionTimeout": "00:10:00" }
[Error] The listener for function 'MY_FUNCTION_NAME.' was unable to start. mscorlib: One or more errors occurred. A task was canceled.
- I'm unaware of how to handle the above error.
When I run it locally using visual studio 2017, it runs smoothly. I get the above listed 2 errors on Azure only.
I'm running the function on consumption plan, with 2 functions, 1 as timer trigger and the other as http trigger.
Http trigger function is running as expected.
One another question is, how to know if the timer trigger is fired at specified time, my CRON expression looks as "0 0 0 * * *"
I have literally eaten up almost a week as of today to resolve the issue. I highly appreciate if someone can help me in resolving my issue.
Thank you.