azureazure-webjobsazure-web-app-service

WebJob is stopping due to website shutting down


My Azure continuous webjob stopped giving reason "WebJob is stopping due to website shutting down"

Logs from Kudu log

[12/09/2016 17:11:49 > 2e7853: WARN] Reached maximum allowed output lines for this run, to see all of the job's logs you can enable website application diagnostics
[12/09/2016 17:12:42 > 2e7853: SYS INFO] WebJob is stopping due to website shutting down
[12/09/2016 17:12:42 > 2e7853: SYS INFO] Status changed to Stopping
[12/09/2016 17:12:47 > 2e7853: SYS INFO] WebJob process was aborted
[12/09/2016 17:12:47 > 2e7853: SYS INFO] Status changed to Stopped
[12/09/2016 17:12:55 > 2e7853: SYS INFO] Status changed to Starting
[12/09/2016 17:12:55 > 2e7853: SYS INFO] WebJob singleton setting is False
[12/09/2016 17:12:57 > 2e7853: SYS INFO] Run script 'VimsProcessHistoryData.exe' with script host - 'WindowsScriptHost'
[12/09/2016 17:12:57 > 2e7853: SYS INFO] Status changed to Running

It already Always On.

Can some one help to resolve this


Solution

  • I changed my job to continuous web job.. and It worked.

    It tried couple of options with triggered webjob like keep it Always On.. but that didn't work.

    I enable diagnostic logging n all .. but it didn't give me any clue.

    When checked with Microsoft support they responded that the VM is moved mistakenly so it cause job to stop.