Recently my deployments have consistently failed due to a storage exception. I verified that the management certificate is valid and configured properly. Could this be due to the new v2 Azure API’s being installed on the server? I had to update it to make certain custom scripts work.
step error:
A child activity failed: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Exception in log:
@@@
2013-07-01 00:00:58 DEBUG [Azure Upload] Connecting to Azure blob storage
2013-07-01 00:01:00 ERROR Microsoft.WindowsAzure.StorageClient.StorageClientException: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. —> System.Net.WebException: The remote server returned an error: (403) Forbidden.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.WindowsAzure.StorageClient.EventHelper.ProcessWebResponse(WebRequest req, IAsyncResult asyncResult, EventHandler1 handler, Object sender) --- End of inner exception stack trace --- at Microsoft.WindowsAzure.StorageClient.Tasks.Task
1.get_Result()
at Microsoft.WindowsAzure.StorageClient.Tasks.Task1.ExecuteAndWait() at Octopus.Shared.Integration.Azure.AzurePackageUploader.Upload(SubscriptionData subscription, String packageFile, String uploadedFileName, IActivityLog log, CancellationToken cancellation) in c:\w\e6923628be6eaf72\source\Octopus.Shared\Integration\Azure\AzurePackageUploader.cs:line 33 at Octopus.Shared.Conventions.Implementations.AzureUploadConvention.UploadPackage(IConventionContext context, String packageFilePath) in c:\w\e6923628be6eaf72\source\Octopus.Shared\Conventions\Implementations\AzureUploadConvention.cs:line 73 at Octopus.Shared.Conventions.Implementations.AzureUploadConvention.Install(IConventionContext context) in c:\w\e6923628be6eaf72\source\Octopus.Shared\Conventions\Implementations\AzureUploadConvention.cs:line 33 at Octopus.Shared.Conventions.ConventionProcessor.Run[TConvention](IConventionContext context, Action
2 conventionCallback) in c:\w\e6923628be6eaf72\source\Octopus.Shared\Conventions\ConventionProcessor.cs:line 75
at Octopus.Shared.Conventions.ConventionProcessor.RunConventions(IConventionContext context) in c:\w\e6923628be6eaf72\source\Octopus.Shared\Conventions\ConventionProcessor.cs:line 29
2013-07-01 00:01:00 ERROR Running rollback conventions…
@@@