Category Archives: Microsoft Azure

Azure VM Agent Status – Not Ready

In a secure sandbox environment withing Azure I encountered and issue whereby the Azure VM Agent status was reporting as not ready and the agent version as unknown.


Opening the VM Agent log in C:\WindowsAzure\Logs\WaAppAgent.log I saw the error:

[ERROR] GetVersions() failed with exception: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> System.Net.WebException: Unable to connect to the remote server —> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
— End of inner exception stack trace —
at System.Net.HttpWebRequest.GetResponse()
at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
— End of inner exception stack trace —

Research showed that the IP address is a virtual IP address used for Azure VM Agent communication amongst other things.  See here for more detail.

In this case traffic was flowing through an Azure security appliance and a rule needed to be created to allow traffic to and from  Once this was done the VM Agent functioned correctly.


Unable To Upload Templates With Joomla Running On Windows Azure

If you create a web site on Windows Azure using the Joomla! 2.5 template you may find that you’re unable to upload templates.  This is because the Joomla! template tmp_path and log_path parameters point to unwritable locations.

To change the tmp_path and log_path parameters, open your site using the Microsoft WebMatrix toolkit, then open configuration.php.


Within configuration.php locate the two parameters.


Change the parameter values as below, substituting YourWebSiteName for the name of your web site.

public $tmp_path = ‘C:\\DWASFiles\\Sites\\YourWebSiteName\\VirtualDirectory0\\site\\wwwroot\\tmp’;

public $log_path = ‘C:\\DWASFiles\\Sites\\YourWebSiteName\\VirtualDirectory0\\site\\wwwroot\\var\\logs’;


Save your changes.