0

I have a MEAN stack application hosted on Azure with the alwaysOn setting, but this doesn't seem to start the node process without a manual http call.

This is fine but not ideal for front end tasks but killer for a daily task that needs to be executed.

Has anyone encountered this and are there any solutions?

AlwaysOn configuration or something?

Tom Lightbody
  • 69
  • 1
  • 5

1 Answers1

0

alwayson would hit your webapp every few minutes. what do you mean by it doesn't load actual app ?

check if your node.exe process is active in process explorer at kudu console.

kudu console : http://yourwebapp_name.scm.azurewebsites.net/DebugConsole

Peter Pan
  • 23,476
  • 4
  • 25
  • 43
prashanth
  • 131
  • 2
  • 3
  • 11
  • I think that's the issue, the node process doesn't start until I manually make an http call. – Tom Lightbody Jan 20 '16 at 13:28
  • Your always on option would only hit root url http://yourwebapp_name.azurewebsites.net/. Does your root url hits nodejs ? . you can also change that in web.config file – prashanth Jan 23 '16 at 18:40
  • Yes, it does, I've just retested and I can see the AlwaysOn call going through, but nodejs only loads if I manually hit the root URL. – Tom Lightbody Jan 25 '16 at 11:30