Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
780 views
in Technique[技术] by (71.8m points)

asp.net - VS to Azure Publish failure: Socket Error 10054

I've seen a few posts around on this, none have solved my issue.

I'm trying to complete a web deploy to an Azure site but whilst updating the files I get warnings:

MSBuildMicrosoftVisualStudiov12.0WebMicrosoft.Web.Publishing.targets(4270,5) Warning : Retrying the sync because a socket error (10054) occurred Retrying operation 'Serialization' on object sitemanifest (sourcePath). Attempt 1 of 10.

In the web publishing wizard the connection can be successfully validated.

I saw mentioned somewhere that I should enable untrusted certificates, however I can't see this option in the web deploy settings in VS2013.

Important notes:

  • I can deploy other projects (so I don't think it's a firewall issue).
  • My colleague can perform the web deploy with an old version of my project (so Azure is working fine).
  • I can't perform the web deploy using that same old version of the project.

It also doesn't work with an FTP publish either, although it doesn't give me the socket error warning. What could it be?

JK

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

For any others who have this problem, I contacted Azure support and an engineer grabbed traces from their network end and mine to assess.

All he was able to deduce was that data packets were being intercepted somewhere between my machine and Azure's services resulting in timeout errors at both ends.

The problem lies with my work network, and I can successfully publish from other networks after testing...

Contact your network provider and have them investigate the issue, and in the mean time, if it is an option, make sure you test your publishing capability on other networks as it worked for me.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...