Azure Pack Websites v2 rollup 7 上的 Web 部署失败

Azure Pack Websites v2 rollup 7 上的 Web 部署失败

我已经设置了 Azure Pack 网站云,几乎所有功能都在正常运行(创建网站、通过 git 发布、租户等...)。除了 Web 部署和从市场创建应用程序。

我觉得这两者是有关联的,因为在 MgmtSvc-TenantSite 的事件查看器中我发现:

Error:DeploymentException: (8/21/2015 10:04:12 PM) An error occurred when the request was processed on the remote computer.
...
at Microsoft.Azure.Portal.ServerAppManager.Antares.MsDeploy.Publisher.Deploy(MsDeployParameter[] parameters, List`1 applicableConnectionStringTags)]]></StackTrace>

其次是

Error:AggregateException: One or more errors occurred.
...
   at Microsoft.Azure.Portal.Marketplace.Proxy.Controllers.MarketplaceController.OnPremProvisionAndDeploySite(String subscriptionId, String region, DatabaseOptions databaseOptions, IDictionary`2 applicationEntry, DeploymentAnswers deploymentAnswers)
   at Microsoft.Azure.Portal.Marketplace.Proxy.Controllers.MarketplaceController.<ProvisionAndDeploySite>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---

我认为 MSDeploy 业务将转到后端服务器,通过查看其中一个服务器中的事件查看器(在 WebDeploy 下),我可以有效地看到:

    User: $bakery
    Client IP: ...
    Content-Type: 
    Version: 9.0.0.0
    MSDeploy.VersionMin: 
    MSDeploy.VersionMax: 
    MSDeploy.Method: 
    MSDeploy.RequestId: 
    MSDeploy.RequestCulture: 
    MSDeploy.RequestUICulture: 
    ServerVersion: 9.0.1921.0
    A tracing deployment agent exception occurred that was propagated to the client. Request ID ''. Request Timestamp: '8/21/2015 2:32:04 PM'. Error Details:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: input
       at System.Version.Parse(String input)
       at System.Version..ctor(String version)
       at         Microsoft.Web.Deployment.DeploymentAgentWorkerRequest.get_MaximumSupportedVersion()
       at Microsoft.Web.Deployment.DeploymentAgent.HandleClientServerVersionMismatch(DeploymentAgentWorkerRequest workerRequest)
       at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData)
       at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData)

每个错误都对应一次使用 WebDeploy 的尝试。我曾尝试更改服务器上安装的 WebDeploy 版本,但遭到了网站管理员的强烈抵制。

有人能解释一下如何解决这个问题吗?

答案1

尽管我使用的是独立的 Web 部署安装,但我还是收到了相同的错误消息。

事实证明这是因为我的网站/服务器在 CloudFlare 后面运行;这似乎以某种方式干扰了通信。

也许你处于类似的情况 - 你和网络服务器之间有什么东西吗?代理?

相关内容