Closed nicholasrice closed 6 years ago
There appears to be a commonality between FTP issues and Azure Deploy issues which points to possibly a Publisher. Who is actively investigating the FTP / Azure Deploy issue? Please provide status?
Some additional details from Suwat B: We picked a few incidents and looked at the server-side log (\suwatchhv3\public\fluentweb_ftp.log). The failure happened when FTP server tried to handle to PASV (passive request for DataChannel port). From the log (which was quite consistent for various incidents) after receiving > hundred files, the FTP server ran into issue where it can’t open/listen to a port (in this case, always 10055!) for PASV request and failed with error 10013 (WSAEACCESS). Unfortunately, we still don’t know why at this point. We don’t want to rule out whether it was client or server sides.
details when manually executing a FTPUpload with better diagnostics From Lucas K: It eventually fails with: 2017-11-30T17:06:52.9458890Z [connection] > 'PASV' 2017-11-30T17:06:52.9458890Z files uploaded: 161, files skipped: 0, directories processed: 10, total: 171, remaining: 275, successfully uploaded: C:\agents\vsts-builds_work\1\s\www\docs\images\image-intro-halo-vp6-16x6-2400x900.jpg to: /site/wwwroot/images/image-intro-halo-vp6-16x6-2400x900.jpg 2017-11-30T17:06:52.9660124Z [connection] < '425 Cannot open data connection.\r\n' 2017-11-30T17:06:52.9660124Z [parser] < '425 Cannot open data connection.\r\n' 2017-11-30T17:06:52.9660124Z [parser] Response: code=425, buffer='Cannot open data connection.' 2017-11-30T17:06:52.9660124Z [connection] > 'PASV'
This seems to be an issue that’s been dealt with before. https://serverfault.com/questions/527322/problems-configuring-filezilla-ftp-server-on-windows-azure-virtual-machine
@awentzel For the App Service task issue, due to your package to be deployed being very big, the requests were timing out (as there is limited support for Linux apps with built-in images) and I believe you moved towards trying out cURL and ZipDeploy as a workaround. As you are facing an issue with that as well, you can get in contact with @vincentdass for updates on that. I'll leave the handling of FTP task issue to its owner.
This issue was root caused to an FTP server side issue in Azure. A fix is being deployed by the Azure team.
Thanks, Madhuri
@madhurig thanks for the info! any news on this? we're experiencing the same issue since yesterday
[update 05.01.2018]: all good now
I am experiencing the same almost every release.
2019-01-26T22:05:53.7336943Z FTP upload failed: "Error: read ECONNRESET". FTP log: "[connection] < '226 Transfer complete.\r\n',[parser] < '226 Transfer complete.\r\n',[parser] Response: code=226, buffer='Transfer complete.',[connection] > 'PASV'".
Sometimes after 5 files, sometimes after 25+ files. I only got the FTP upload working 3 out of 10 times. Any help appreciated!
Environment
Server: VSTS
Account: fluentweb
Team Project: Fluent Web
Build Name: 3 - Continuous Deployment
Agent: Hosted
Agent queue: HostedVS2017
Issue Description
Our CD Build consistently fails during FTP process to an Azure Web App. We started getting consistent failures on 11/20/2017, prior to that we had not had any issues with the FTP process.
To circumvent the issue, we are able to FTP the project files through other clients like FileZilla and have not seen any issues with those programs.
The VSTS FTP process successfully uploads some files, however it inevitably fails with the below error. The specific file that is causing the failure is not consistent between builds.
Error logs