I switched hosting companies and I am now having issues connecting with FTPES.
I am getting the following error, "winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine."
This company utilizes Plesk Control Panel version 10. I verified that I can connect with Filezilla.
Please let me know how to troubleshoot and fix this issue.
Thanks in advance for your help. Scott
FTPES connection error
Re: FTPES connection error
Please check whether your hosting company uses different FTP port, if so, please add the port to the exception list of the Firewall. Or may be you need to add BestSyncApp.exe and BestSyncSvc.exe to the exception list of the Firewall.
Re: FTPES connection error
As stated before, I have verified that FTP over TLS is working with Filezilla. I know that the user credentials are correct. I see in the log that
"credentials supplied were not complete" so I created an easier user/pass so that I know that there were no typos.
I have also explicitly placed the passive FTP ports in the firewall of my VPS.
I tried both active and passive connections, with passive being the preferred connection I want.
Thanks in advance
Scott
>TYPE A
<
>PBSZ 0
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
<220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
>AUTH TLS
<234 AUTH TLS successful
Control Channel SSL/TLS Handshaking...
(0x00090320):The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.
Control Channel SSL/TLS Handshaking Failed.
>PROT C
<
>PASV
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
Try to use Active-Mode
Failed to get local IP.
<220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
>AUTH TLS
<234 AUTH TLS successful
Control Channel SSL/TLS Handshaking...
(0x00090320):The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.
Control Channel SSL/TLS Handshaking Failed.
>TYPE A
<
>PBSZ 0
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
<220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
>AUTH TLS
<234 AUTH TLS successful
Control Channel SSL/TLS Handshaking...
(0x00090320):The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.
Control Channel SSL/TLS Handshaking Failed.
>PROT C
<
>PASV
winsock:Receive::Error.:error:(0x00002746):An existing connection was forcibly closed by the remote host.
winsock:Receive::Error.:error:(0x00002746):An existing connection was forcibly closed by the remote host.
"credentials supplied were not complete" so I created an easier user/pass so that I know that there were no typos.
I have also explicitly placed the passive FTP ports in the firewall of my VPS.
I tried both active and passive connections, with passive being the preferred connection I want.
Thanks in advance
Scott
>TYPE A
<
>PBSZ 0
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
<220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
>AUTH TLS
<234 AUTH TLS successful
Control Channel SSL/TLS Handshaking...
(0x00090320):The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.
Control Channel SSL/TLS Handshaking Failed.
>PROT C
<
>PASV
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
Try to use Active-Mode
Failed to get local IP.
<220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
>AUTH TLS
<234 AUTH TLS successful
Control Channel SSL/TLS Handshaking...
(0x00090320):The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.
Control Channel SSL/TLS Handshaking Failed.
>TYPE A
<
>PBSZ 0
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
winsock:Receive::Error.:error:(0x00002745):An established connection was aborted by the software in your host machine.
<220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
>AUTH TLS
<234 AUTH TLS successful
Control Channel SSL/TLS Handshaking...
(0x00090320):The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.
Control Channel SSL/TLS Handshaking Failed.
>PROT C
<
>PASV
winsock:Receive::Error.:error:(0x00002746):An existing connection was forcibly closed by the remote host.
winsock:Receive::Error.:error:(0x00002746):An existing connection was forcibly closed by the remote host.
Re: FTPES connection error
Please try to create a self-signed certificate again on the server end to see if the problem can be resolved.
Re: FTPES connection error
I have regenerated a self signed certificate and I also had my host provider verify and tweak my VPS FTP setting. I am still not able to connect with Bestsync. Below is a new copy of the Bestsync log file and the connection log from Filezilla. I have verified everything with Filezilla.
Bestsync Log (Filezilla log below)
>TYPE A
<200 Type set to A
>PBSZ 0
<500 PBSZ not understood
>PROT C
<500 PROT not understood
>PASV
<530 Please login with USER and PASS
Try to use Active-Mode
>PORT 8,8,8,8,24,33
<530 Please login with USER and PASS
>PBSZ 0
<500 PBSZ not understood
>PROT C
<500 PROT not understood
>PASV
<530 Please login with USER and PASS
Filezilla Log File
Status: Resolving address of ftp.mydomain.com
Status: Connecting to 8.8.8.8:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
Command: AUTH TLS
Response: 234 AUTH TLS successful
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER syncback
Status: TLS/SSL connection established.
Response: 331 Password required for syncback
Command: PASS ********************
Response: 230 User syncback logged in
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Command: PBSZ 0
Response: 200 PBSZ 0 successful
Command: PROT P
Response: 200 Protection set to Private
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Status: Directory listing successful
Bestsync Log (Filezilla log below)
>TYPE A
<200 Type set to A
>PBSZ 0
<500 PBSZ not understood
>PROT C
<500 PROT not understood
>PASV
<530 Please login with USER and PASS
Try to use Active-Mode
>PORT 8,8,8,8,24,33
<530 Please login with USER and PASS
>PBSZ 0
<500 PBSZ not understood
>PROT C
<500 PROT not understood
>PASV
<530 Please login with USER and PASS
Filezilla Log File
Status: Resolving address of ftp.mydomain.com
Status: Connecting to 8.8.8.8:21...
Status: Connection established, waiting for welcome message...
Response: 220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
Command: AUTH TLS
Response: 234 AUTH TLS successful
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER syncback
Status: TLS/SSL connection established.
Response: 331 Password required for syncback
Command: PASS ********************
Response: 230 User syncback logged in
Command: OPTS UTF8 ON
Response: 200 UTF8 set to on
Command: PBSZ 0
Response: 200 PBSZ 0 successful
Command: PROT P
Response: 200 Protection set to Private
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is the current directory
Status: Directory listing successful
Last edited by onerock on Fri Nov 02, 2012 11:44 pm, edited 1 time in total.
Re: FTPES connection error
From the new log, it seems that you have selected FTPS instead of FTPES.
Please confirm if you have selected "FTPES - FTP over explicit TLS/SSL" in the "General" setting page of the task.
Please confirm if you have selected "FTPES - FTP over explicit TLS/SSL" in the "General" setting page of the task.
Re: FTPES connection error
It is definitely not set for FTPS. I have attached a screen shot of the setup screen.
This is the log that appears when I try to browse the folder in the setup screen (magnifying glass for folder 2).
>TYPE A
<200 Type set to A
>PBSZ 0
<500 PBSZ not understood
>PROT C
<500 PROT not understood
>PASV
<530 Please login with USER and PASS
Try to use Active-Mode
>PORT 8,8,8,8,24,34
<530 Please login with USER and PASS
>PBSZ 0
<500 PBSZ not understood
>PROT C
<500 PROT not understood
>PASV
<530 Please login with USER and PASS
Here is the log when I preview the task
<220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
>AUTH TLS
<234 AUTH TLS successful
Control Channel SSL/TLS Handshaking...
(0x00090320):The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.
Control Channel SSL/TLS Handshaking Failed.
This is the log that appears when I try to browse the folder in the setup screen (magnifying glass for folder 2).
>TYPE A
<200 Type set to A
>PBSZ 0
<500 PBSZ not understood
>PROT C
<500 PROT not understood
>PASV
<530 Please login with USER and PASS
Try to use Active-Mode
>PORT 8,8,8,8,24,34
<530 Please login with USER and PASS
>PBSZ 0
<500 PBSZ not understood
>PROT C
<500 PROT not understood
>PASV
<530 Please login with USER and PASS
Here is the log when I preview the task
<220 ProFTPD 1.3.3e Server (ProFTPD) [8.8.8.8]
>AUTH TLS
<234 AUTH TLS successful
Control Channel SSL/TLS Handshaking...
(0x00090320):The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.
Control Channel SSL/TLS Handshaking Failed.
- Attachments
-
- task setup.jpg (77.63 KiB) Viewed 9946 times
Re: FTPES connection error
Please try to set a longer timeout time such as 180 seconds to see if the problem can be avoided.
Re: FTPES connection error
I have attempted to raise the timeout to 180 seconds with no change. The task errors out immediately, so this had no effect.
Re: FTPES connection error
It looks like after much trial and error, I found that if I add this to my FTP server config, "TLSOptions NoCertRequest" and disable "protect data channel" in Bestsync 2012, it will connect and sync. I am unsure what these features do and what they affect. Can you please let me know if these should be used in this configuration? If they shouldn't, what should I do to make things better?