
Quando digo lento, estou falando algo em torno de 10 a 30kb por segundo. E em alguns arquivos maiores que 1 MB, ocasionalmente recebo erros como este:
3/18/2014 12:21:08 PM:C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
EventType=Trace
ArgumentType=Microsoft.Web.Deployment.DeploymentRetryEventArgs
TaskName=VSMSDeploy
Message=Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
EventLevel=Warning
EventData=System.Collections.Generic.Dictionary`2[System.String,System.Object]
3/18/2014 12:21:08 PM: VSMSDeploy: Using ID '8178049a-c9a1-4bde-bdd0-07beaf7f5679' for connections to the remote server.
EventType=Trace
ArgumentType=Microsoft.Web.Deployment.DeploymentAgentTraceEvent
TaskName=VSMSDeploy
Message=Using ID '8178049a-c9a1-4bde-bdd0-07beaf7f5679' for connections to the remote server.
EventLevel=Info
EventData=System.Collections.Generic.Dictionary`2[System.String,System.Object]
3/18/2014 12:22:10 PM:C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 2 of 10.
EventType=Trace
ArgumentType=Microsoft.Web.Deployment.DeploymentRetryEventArgs
TaskName=VSMSDeploy
Message=Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 2 of 10.
EventLevel=Warning
EventData=System.Collections.Generic.Dictionary`2[System.String,System.Object]
3/18/2014 12:22:10 PM: VSMSDeploy: Using ID '1b4da8f4-6075-4fb3-b8fe-ddf0c8476803' for connections to the remote server.
EventType=Trace
ArgumentType=Microsoft.Web.Deployment.DeploymentAgentTraceEvent
TaskName=VSMSDeploy
Message=Using ID '1b4da8f4-6075-4fb3-b8fe-ddf0c8476803' for connections to the remote server.
EventLevel=Info
EventData=System.Collections.Generic.Dictionary`2[System.String,System.Object]
3/18/2014 12:23:17 PM:C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets(3847,5): Warning : Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 3 of 10.
EventType=Trace
ArgumentType=Microsoft.Web.Deployment.DeploymentRetryEventArgs
TaskName=VSMSDeploy
Message=Retrying the sync because a socket error (10054) occurred.
Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 3 of 10.
EventLevel=Warning
EventData=System.Collections.Generic.Dictionary`2[System.String,System.Object]
Contanto que o arquivo seja transferido com êxito antes da tentativa nº 10, a implantação continuará. Se a tentativa nº 10 falhar, ela para e tenho que reiniciá-la.
Nada do que encontrei corresponde exatamente a esses problemas. A maioria das pessoas que recebe erros como esses tem configurações de firewall que impedem a implantação, mas meu problema parece estar simplesmente relacionado à absurda lentidão do processo. O servidor está executando o IIS 7.5 e não está vinculado a recursos. Na verdade, a implantação quase não tem impacto nos recursos. Sinto que estou perdendo algo óbvio - talvez uma configuração em algum lugar que esteja limitando a taxa de transferência no servidor ou na minha configuração local... Alguma idéia?
Responder1
Hah. Eu uso um Mac como estação de desenvolvimento e quando preciso trabalhar com Windows inicializo um Virtual Box. Depois de tentar implantar a partir de um PC nativo com Windows, percebi qual era o meu erro. Minha rede Virtual Box foi configurada para NAT. Mudar para Bridged resolveu completamente o problema. =\