Any ideas: Microsoft.WindowsAzure.CloudException: InternalError:

Hey guys,

Today we got the error/backtrace below. Deploying a 2nd time with no code changes , we got the same issue.
Deploying a 3rd time, again no code changes, just triggering it again, it succeeded.

Have you guys seen this?

We are deploying to 4 Azure Sites w/ Octopus 3.0.20.0.

Microsoft.WindowsAzure.CloudException: InternalError: The server encountered an internal error. Please retry the request.
12:10:12Error
   at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
12:10:12Error
   at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
12:10:12Error
   at Microsoft.WindowsAzure.WebSiteOperationsExtensions.GetPublishProfile(IWebSiteOperations operations, String webSpaceName, String webSiteName)
12:10:12Error
   at Calamari.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment) in y:\work\b1fd300731d5f2fc\source\Calamari\Deployment\Conventions\AzureWebAppConvention.cs:line 33
12:10:12Error
   at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in y:\work\b1fd300731d5f2fc\source\Calamari\Deployment\ConventionProcessor.cs:line 60
12:10:12Error
   at Calamari.Deployment.ConventionProcessor.RunConventions() in y:\work\b1fd300731d5f2fc\source\Calamari\Deployment\ConventionProcessor.cs:line 28
12:10:12Error
Running rollback conventions...
12:10:12Error
Microsoft.WindowsAzure.CloudException: InternalError: The server encountered an internal error. Please retry the request.
12:10:12Error
   at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
12:10:12Error
   at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
12:10:12Error
   at Microsoft.WindowsAzure.WebSiteOperationsExtensions.GetPublishProfile(IWebSiteOperations operations, String webSpaceName, String webSiteName)
12:10:12Error
   at Calamari.Deployment.Conventions.AzureWebAppConvention.Install(RunningDeployment deployment) in y:\work\b1fd300731d5f2fc\source\Calamari\Deployment\Conventions\AzureWebAppConvention.cs:line 33
12:10:12Error
   at Calamari.Deployment.ConventionProcessor.RunInstallConventions() in y:\work\b1fd300731d5f2fc\source\Calamari\Deployment\ConventionProcessor.cs:line 60
12:10:12Error
   at Calamari.Deployment.ConventionProcessor.RunConventions() in y:\work\b1fd300731d5f2fc\source\Calamari\Deployment\ConventionProcessor.cs:line 50
12:10:12Error
   at Calamari.Commands.DeployAzureWebCommand.Execute(String[] commandLineArguments) in y:\work\b1fd300731d5f2fc\source\Calamari\Commands\DeployAzureWebCommand.cs:line 81
12:10:12Error
   at Calamari.Program.Main(String[] args) in y:\work\b1fd300731d5f2fc\source\Calamari\Program.cs:line 21
12:10:15Error
The remote script failed with exit code 100

Hi Mevans,

Thanks for getting in touch!

From what I understand, it’s a symptom of a transient Azure error. We’ve not seen it before in an Octopus related context, but I’ve heard of it happening for other people doing a lot of Azure automation. The message “Please retry the request” seems as if they know it’s some intermittent problem.

Does it happen often ? or is that a once off ?

Damian

It is just random. Sometimes it happens if we haven’t done a deploy in a
few days. Like the engines are not warm and so a cold start chokes…