VS 到 Azure 发布失败:套接字错误 10054 [英] VS to Azure Publish failure: Socket Error 10054

查看:22
本文介绍了VS 到 Azure 发布失败:套接字错误 10054的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看过一些关于这个的帖子,没有一个能解决我的问题.

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

我正在尝试完成对 Azure 站点的网络部署,但在更新文件时我收到警告:

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) 警告:由于发生套接字错误 (10054) 正在重试同步正在对象站点清单 (sourcePath) 上重试操作序列化".尝试第 1 个,共 10 个.

在网络发布向导中,可以成功验证连接.

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

我看到某处提到我应该启用不受信任的证书,但是我在 VS2013 的网络部署设置中看不到这个选项.

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

重要说明:

  • 我可以部署其他项目(所以我认为这不是防火墙问题).
  • 我的同事可以使用我项目的旧版本执行 Web 部署(因此 Azure 工作正常).
  • 我无法使用相同的旧版本项目执行 Web 部署.

它也不适用于 FTP 发布,尽管它没有给我套接字错误警告.会是什么呢?

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

推荐答案

对于遇到此问题的任何其他人,我联系了 Azure 支持,一名工程师从他们的网络端和我的网络端抓取痕迹进行评估.

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

他只能推断出数据包在我的机器和 Azure 服务之间的某处被拦截,导致两端出现超时错误.

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.

这篇关于VS 到 Azure 发布失败:套接字错误 10054的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆