2016-07-22 11 views
1

WebアプリケーションをVisual Studio 2015の「公開」機能を使用してAzure Webサイト/アプリケーションサービスステージングスロットに展開しようとしています。次のエラー:私は解決策のために、文字通りどこでも検索しましたWebDeploy(MSDeploy)を使用してMicrosoft Azure Webサイトに展開できない

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10. Updating file (xxxxxxxxxxxxx__staging\bin\EntityFramework.dll). C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 2 of 10. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 3 of 10. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 4 of 10. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 5 of 10. Updating file (xxxxxxxxxxxxx__staging\bin\EntityFramework.dll). C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 6 of 10. Updating file (xxxxxxxxxxxxx__staging\bin\EntityFramework.dll). C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 7 of 10. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 8 of 10. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 9 of 10. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 10 of 10. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Web\Microsoft.Web.Publishing.targets(4295,5): Error : Web deployment task failed. (Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.) Publish failed to deploy.

。ステージングスロットを再作成しようとしました。私は、エラーメッセージのどの部分への参照についてもWeb上で検索しようとしました。解決策はありません。

私はVisual Studio 2015 Update 3を使用しています。これは.NET 4.5.1 Webアプリケーションです。私は上の赤いニシンであると信じて、しかし Error Code: 999 Exception Message: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. Exception Stack Trace: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.MultipleSend(BufferOffsetSize[] buffers, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.MultipleWrite(BufferOffsetSize[] buffers) --- End of inner exception stack trace ---
Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host. at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.IO.BufferedStream.Flush() at System.IO.BufferedStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at System.IO.BinaryWriter.Dispose(Boolean disposing) at System.IO.BinaryWriter.Close() at Microsoft.Web.Deployment.PackageSerializer.Dispose() at Microsoft.Web.Deployment.AgentClientProvider.RemoteDestSync(DeploymentObject sourceObject, DeploymentSyncContext syncContext, Nullable1 syncPass, String syncSessionId) at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable1 syncPassId, String syncSessionId) at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)

;:イベントログに

も、別のエラーメッセージが存在します

オブジェクトsitemanifest(sourcePath)で「シリアル化」操作を再試行しています。

これは失敗して10回再試行されたようです。これはおそらく、開いているMSDeploy接続が終了し、2番目のエラーが発生することを意味します。

は、公開ウィザードの中に、私は「接続を検証」ボタンをクリックすると、それは我々がこの問題はプレム・オンおよび多くの私たちのネットワークのトラブルシューティングをした後、サーバーにデプロイた

+0

悪意のあるマルウェアが接続を妨害しています。通常、シュリンクラップされた種類です。あなたの肩を見ていない誰かによって診断されることは何もありません。基本的なヒットの場合、単にGoogleの「紺碧のソケットエラー(10054)が発生しました」。 –

答えて

2

マイクロソフトでは、これがバグだと確認しています。彼らは問題を再現するのに苦労している。

回避策は、WEBSITE_WEBDEPLOY_USE_SCMと呼ばれるAzureポータルのWebアプリケーションに新しいアプリケーション設定を置き、値をfalseに設定することです。展開が正常に動作します。

+0

これは@krisdysonありがとう、このポストを見つけるために私をしばらく持ち込んだ。私も、これをやった後に私の公開プロファイルをリセットして再ダウンロードしなければなりませんでした。 – Ivan

0

緑のチェックマークを思い付いたことに注意してくださいチームはこれらのパケットを傍受してそれらをドロップしていたネットワークの問題を発見しました。 WireSharkを使用してネットワークトラフィックを監視し、問題がどこで発生していたかを見つけ出しました。 Networkingチームは、ツールを使用して問題を突き止めるためにさらに調査しました。申し訳ありませんが、私は彼らが実際にこれを修正するために何が変わったのか分かりません。

これはあなたの問題であることを確認するために、別のネットワーク(スターバックス、自宅、どこでも)から展開することができます。

+0

私はすでに他のインターネット接続を試しています。ありがとうtho – krisdyson

-1

1週間以上試してみたところ、今日はうまくいった。私の側では何も変わっていないので、マイクロソフトはAzureで問題を修正する必要があります。

+0

そして、問題は今日また戻ってきました。 – krisdyson

+0

このクリスチャンの底にはいつまでたどり着いたのですか? –

+1

@Fetchezlavache MSはそれがバグであることをかなり確認しました。回避策がありますが、これを回答として投稿します。 – krisdyson

関連する問題