
Azure Pack Website クラウドをセットアップしましたが、Web サイトの作成、Git による公開、テナントなど、ほぼすべてが機能しています。ただし、Web Deploy とマーケットプレイスからのアプリケーションの作成は除きます。
MgmtSvc-TenantSite のイベント ビューアーを見て、次の点に気づいたので、この 2 つはリンクされていると判断しました。
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 の業務はバックエンド サーバーに送られると考え、そのうちの 1 つの 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 の背後で実行されていたためであることが判明しました。どうやらこれが何らかの形で通信を妨害しているようです。
おそらくあなたも同じような状況にあるでしょう。あなたと Web サーバーの間に何かあるのでしょうか? プロキシでしょうか?