
我已經設定了 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 後面;看來這在某種程度上乾擾了溝通。
也許您處於類似的情況 - 您和網頁伺服器之間是否存在某些問題?代理人?