Possible timeout during Set-AzureDeployment

208 views Asked by At

I have a Powershell script that executes Set-AzureDeployment. It works fine for a service with 1 role.

However, when I run it for another service with 7 roles, it often fails (not always). All I get back is the message below.

I'm inclined to think this is a timeout in the underlying HttpClient connection. Any thoughts/workarounds?

Set-AzureDeployment : An error occurred while sending the request.
At <my script>
+     $setdeployment = Set-AzureDeployment `
+                      ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Set-AzureDeployment], HttpRequestException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.HostedServices.SetAzureDeploymentCommand

I found this article which doesn't have a resolution.

0

There are 0 answers