Azure webapp deploy step fails

Hi,

Since of today we get an DeploymentAgentUnavailableException when executing a “Deploy to Azure webapp” step. We tried to find if something changed in this step or in our azure configuration, but couldn’t find anything. We tried several possible solutions found on google, but none helped resolve this. Does anyone encoutered this before? We are using octopus version 2020v.4.2

stacktrace:
Could not complete the request to remote agent URL ‘waurl’.
August 16th 2021 14:43:06Error
Microsoft.Web.Deployment.DeploymentAgentUnavailableException
August 16th 2021 14:43:06Error
at Microsoft.Web.Deployment.AgentClientProvider.GetHttpResponseHelper(HttpWebRequest request)
August 16th 2021 14:43:06Error
at Microsoft.Web.Deployment.AgentClientProvider.GetHttpResponse(HttpWebRequest request)
August 16th 2021 14:43:06Error
at Microsoft.Web.Deployment.AgentClientProvider.PerformHeadRequestHelper(Boolean getVersionInfo, Version& maximumSupportedVersion, Version& minimumSupportedVersion)
August 16th 2021 14:43:06Error
at Microsoft.Web.Deployment.AgentClientProvider…ctor(DeploymentProviderContext providerContext, DeploymentBaseContext baseContext, String serverVersion)
August 16th 2021 14:43:06Error
at Microsoft.Web.Deployment.DeploymentManager.CreateObjectPrivate(DeploymentProviderContext providerContext, DeploymentBaseOptions baseOptions, DeploymentObject sourceObject, String serverVersion)
August 16th 2021 14:43:06Error
at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)
August 16th 2021 14:43:06Error
at Calamari.AzureWebApp.AzureWebAppBehaviour.d__5.MoveNext()
August 16th 2021 14:43:06Error
— End of stack trace from previous location where exception was thrown —
August 16th 2021 14:43:06Error
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
August 16th 2021 14:43:06Error
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
August 16th 2021 14:43:06Error
at Calamari.AzureWebApp.AzureWebAppBehaviour.d__4.MoveNext()
August 16th 2021 14:43:06Error
— End of stack trace from previous location where exception was thrown —
August 16th 2021 14:43:06Error
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
August 16th 2021 14:43:06Error
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
August 16th 2021 14:43:06Error
at Calamari.Common.Plumbing.Pipeline.PipelineCommand.d__9.MoveNext()
August 16th 2021 14:43:06Error
— End of stack trace from previous location where exception was thrown —
August 16th 2021 14:43:06Error
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
August 16th 2021 14:43:06Error
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
August 16th 2021 14:43:06Error
at Calamari.Common.Plumbing.Pipeline.PipelineCommand.d__7.MoveNext()
August 16th 2021 14:43:06Error
— End of stack trace from previous location where exception was thrown —
August 16th 2021 14:43:06Error
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
August 16th 2021 14:43:06Error
at Calamari.Common.Plumbing.Pipeline.PipelineCommand.d__7.MoveNext()
August 16th 2021 14:43:06Error
— End of stack trace from previous location where exception was thrown —
August 16th 2021 14:43:06Error
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
August 16th 2021 14:43:06Error
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
August 16th 2021 14:43:06Error
at Calamari.Common.CalamariFlavourProgramAsync.d__4.MoveNext()
August 16th 2021 14:43:06Error
–Inner Exception–
August 16th 2021 14:43:06Error
The operation has timed out
August 16th 2021 14:43:06Error
System.Net.WebException
August 16th 2021 14:43:06Error
at System.Net.HttpWebRequest.GetResponse()
August 16th 2021 14:43:06Error
at Microsoft.Web.Deployment.AgentClientProvider.GetHttpResponseHelper(HttpWebRequest request)
August 16th 2021 14:43:06Fatal
The remote script failed with exit code 100

Best Regards
Benjamin

Hey @benjamin.daerden,

First of all welcome to the Octopus Forums!

Thanks for reaching out.

Seeing as nothing changed on the Octopus side, are you able to reach out to your network team and see if they made any changes? It’s failing on the connection so this is likely network-related on your side or on Microsoft’s side.

Alternatively, we’ve had many tickets in the past couple of months with users having issues with deploying to azure and the issue was on Microsoft’s side. Would you be able to contact Microsoft and see if they see anything on their end that might be causing this issue?

Please let me know what you think.

Best,
Jeremy

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.