Publishing To Website From VS2013 Continually Failing with Socket Error (10054)

Hi All,

I have a large website developed using VS2013 MVC. Development has been on going for more than a year, The site is published once or twice day, until yesterday.... 

Nothing has has changed that might affect the publish process, but when its published the following errors appear in the build log:-

1>------ Publish started: Project: WebFrameBuilder, Configuration: Release Any CPU ------
1>Transformed Web.config using C:\Users\AirBear\documents\visual studio 2013\Projects\WebFrameBuilder\WebFrameBuilder\Web.Release.config into obj\Release\TransformWebConfig\transformed\Web.config.
1>Insert additional EFCodeFirst Database Deployment Transformed obj\Release\TransformWebConfig\transformed\Web.config into obj\Release\InsertEFCodeFirstDeploy\transformed\Web.config.
1>Auto ConnectionString Transformed Views\Web.config into obj\Release\CSAutoParameterize\transformed\Views\Web.config.
1>Auto ConnectionString Transformed obj\Release\InsertEFCodeFirstDeploy\transformed\Web.config into obj\Release\CSAutoParameterize\transformed\Web.config.
1>Copying all files to temporary location below for package/publish:
1>obj\Release\Package\PackageTmp.
1>Start Web Deploy Publish the Application/package to https://waws-prod-XXX-003.publish.azurewebsites.windows.net/msdeploy.axd?site=XXXX...
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4253,5): Warning : Retrying the sync because a socket error (10054) occurred.  
1>Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4253,5): Warning : Retrying the sync because a socket error (10054) occurred.  
1>Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 2 of 10.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4253,5): Warning : Retrying the sync because a socket error (10054) occurred.  
1>Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 3 of 10.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets(4253,5): Warning : Retrying the sync because a socket error (10054) occurred.  

..... more retrys.... XXX=obfuscation

If left to run the publish/build eventual fails after 10 attempts. Each attempt to publish takes over an hour to fail. 

Yesterday, my fourth publish attempt WORKED! after only 3 attempts to serialize. Nothing was changed apart from restarting publishing between each attempt.

I have Googled every possible combination of the error messages, most advice is focused around the publish path being incorrect. I have dismissed this as the cause as the the publish will randomly succeed.

Microsoft obviously expect the serialization to fail as they reattempt it 10 times before abandoning the build. But there is no indication as to why each attempt fails.

Can anyone please offer advice as to what I can do to resolve these publishing problems as this has stopped all development on this site?

Thanks

AirBear

Update - The final build error after an hour is "Remote connection forcibly closed by remote host"
  • Edited by AirBear Tuesday, March 24, 2015 9:41 AM
March 24th, 2015 9:24am

I have this identical problem. No shortage of solutions on the internet, none of which have solved my issue....

I see your last post was late in March, did you find a solution/anything else I could try?


JK

Free Windows Admin Tool Kit Click here and download it now
April 20th, 2015 5:05am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics