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