简体   繁体   English

从Visual Studio发布到Azure时出现错误10054

[英]Error 10054 when publish to Azure from Visual Studio

I have been using a publish profile from Visual Studio to publish my web app for about a year. 我一直在使用Visual Studio的发布配置文件来发布我的Web应用程序大约一年。 Over the past week or two the process gets stuck and does a few retries until it fails. 在过去一两周内,该过程卡住并进行一些重试,直至失败。 The error I am getting is: 我得到的错误是:

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. C:\\ Program Files(x86)\\ MSBuild \\ Microsoft \\ VisualStudio \\ v14.0 \\ Web \\ Microsoft.Web.Publishing.targets(4295,5):警告:由于发生套接字错误(10054)而重试同步。
2>Retrying operation 'Serialization' on object sitemanifest (sourcePath). 2>在对象sitemanifest(sourcePath)上重试“序列化”操作。 Attempt 1 of 10. 尝试10投1中。

Points to note: 注意事项:

  • Nothing has changed on my network 我的网络上没有任何变化
  • The publish profile is version controlled and is the same 发布配置文件受版本控制,并且是相同的
  • The publish doesn't fail from the beginning. 发布不会从一开始就失败。 It publishes for a while. 它发布了一段时间。
  • Seems to fail if the file is bigger than ~10 or 15 MB 如果文件大于~10或15 MB,似乎会失败
  • Others who have this issue, seems to be their ISP or their network but it seems theirs fails from the beginning. 其他有这个问题的人,似乎是他们的ISP或他们的网络,但似乎他们从一开始就失败了。
  • Tried it with two different publish profiles on two different subscription accounts resulting the same problem 在两个不同的订阅帐户上使用两个不同的发布配置文件尝试了它,导致了同样的问

Anyone has seen this? 有谁见过这个? any ideas? 有任何想法吗?

Finally, the issue is resolved. 最后,问题得到了解决。 I had checked every bit, including calling my ISP, and didn't have any luck. 我检查过每一点,包括给我的ISP打电话,但没有运气。 Thanks to @rickvdbosch for mentioning the TCP/IP relevance to this problem that juggled my memory. 感谢@rickvdbosch提到TCP / IP与这个问题的相关性,这个问题惹恼了我的记忆。

A few weeks ago, I upgraded the firmware on my router (as I am using DDWRT). 几周前,我升级了路由器上的固件(因为我正在使用DDWRT)。 I believe that was the culprit. 我相信那是罪魁祸首。 I did upgrade to the latest DDWRT firmware and I see the issue is gone. 我确实升级到最新的DDWRT固件,我发现问题已经消失。 It is deploying as before all the drama started. 它正在像以前一样部署所有戏剧开始。

So if another poor soul comes across this error, wish you luck but be aware of this possibility. 因此,如果另一个可怜的灵魂遇到这个错误,祝你好运但要意识到这种可能性。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我从Visual Studio发布到Azure时,我的数据库没有发布,因此任何需要中断的功能 - When I publish from Visual Studio to Azure my database doesn't get published and so any functionality requiring that breaks 尝试将asp.net Web发布到Azure时,Visual Studio 2015冻结 - Visual Studio 2015 freezing when trying to publish an asp.net web to Azure 尝试在Azure上创建MVC应用程序时出现Visual Studio错误 - Visual Studio error when trying to create MVC application on Azure Azure网站使用Visual Studio 2010发布配置文件 - Azure Web Site publish profile using Visual Studio 2010 如何发布具有两个依赖项项目的Visual Studio解决方案? - How to a publish visual studio solution with two dependencies projects to azure? 使用Visual Studio发布Azure Web应用-不包括所有文件 - Azure web app publish with Visual Studio - not including all files 发布到Azure时“ /”应用程序中的服务器错误 - Server Error in '/' Application when publish to Azure 使用Azure Cmdlet将ASP.Net MVC网站(在Visual Studio中创建)发布到Azure - Publish ASP.Net MVC Site (created in Visual Studio) to Azure using Azure Cmdlets 使用Visual Studio Publish部署文件夹后,IIS上出现编译错误 - Compilation error on IIS after deploy folders with Visual Studio Publish 如何在不获取安装向导的情况下从Visual Studio发布Umbraco - How to publish Umbraco from Visual Studio without getting the install wizard
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM