Azure Continuous Web Job triggering again after every 10 mins

Brass Contributor

Hi,

I have a continuous web job, which was running fine if the job takes an hour time (to provision a site collection). All of a sudden, the web job started triggering every 10 minutes and sites are not provisioning.

 

Is something changed on Continuous Web Jobs (Such as timeout)?

 

From the logs, I see the following error:

Unhandled Exception: Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (404) Not Found. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

1 Reply

Hi @Venkata Ratnam Vemula

 

Is it running 5 times before it quits?

 

It looks like you're getting an unhandled exception in your code, in which case a queue triggered webjob will retry 5 times. You can change this setting by changing the config.Queues.MaxDequeueCount setting. The default is 5.

 

Check out this blog post by @David Opdendries for more info.

 

https://www.spdavid.com/azure-web-jobs-c-sharp/