Tuesday, January 7, 2014

Azure mobile services unresponsive

If you have been working with Azure mobile services and your services goes unresponsive (usually surfaced as all your calls to your APIs return HTTP status code 0) here is a trick you can try. You need to manually reset your Azure services. You can do this by opening a ticket with Azure support or you can do this using the Azure command line tools.

Once those the tools are installed you can go to your Azure command prompt (you can access the Azure commands via the Visual Studio package manager console but right now there is a bug that makes it freeze so use the actual command line).

In the command line type "azure mobile restart"

It will ask you to select the mobile service to restart, so if you have more then one it is ok. Once you see "Ok" on the screen your service has been restarted and the Azure mobile services API should start working agian.