错误可能是';t在被动模式下打开数据连接:在Azure FTP任务中上载文件时连接ETIMEDOUT

错误可能是';t在被动模式下打开数据连接:在Azure FTP任务中上载文件时连接ETIMEDOUT,azure,azure-devops,azure-pipelines,azure-deployment,Azure,Azure Devops,Azure Pipelines,Azure Deployment,将版本上载到ftp服务器时出现以下错误: [错误]无法在被动模式下打开数据连接:connect ETIMEDOUT 以下是日志: ##[section]Starting: FTP Upload: $(System.DefaultWorkingDirectory)/_AzureTP-ASP.NET Core-CI/drop/ConsoleApp.zip =========================================================================

将版本上载到ftp服务器时出现以下错误:

[错误]无法在被动模式下打开数据连接:connect ETIMEDOUT

以下是日志:

##[section]Starting: FTP Upload: $(System.DefaultWorkingDirectory)/_AzureTP-ASP.NET Core-CI/drop/ConsoleApp.zip
==============================================================================
Task         : FTP upload
Description  : Upload files using FTP
Version      : 2.157.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/ftp-upload
==============================================================================
connecting to: ****
connected: 220-Microsoft FTP Service
220 ***** FTP
##[warning]Can't open data connection in passive mode: connect ETIMEDOUT *.*.*.*:53909

它打开连接,日志显示220状态,但随后失败。

您使用的是哪个代理?托管代理还是专用代理?Azure pipelines,VS2017-w2016。如何使用专用代理。Host agent正在使用Azure DS2_V2中的VM映像。另外,正如我所知,Azure VM有这个不支持被动模式的限制。我更改了路径。这是企业中的第一个docker项目,因此目前我们仍在探索建立管道的方法。谢谢你,欢迎。如果仍有此类或其他类似问题,建议您提高罚单。在那个社区中,我们可以让我们的产品组通过检查后端的一些日志来协同工作。