WatchFTP home page
WatchFTP Startseite (Deutsche Version)
WatchFTP Pßgina Principal (Espa˝ol)
Site WatchFTP (Franšais)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  News:
WatchFTP v4 released. see http://www.watchftp.com/v4.html
  HomeHelpSearchLoginRegister  
 
Pages: 1
Send Topic Print
SFTP connection error (Read 280 times)
bhicks
YaBB Newbies
*
Offline


Posts: 3

SFTP connection error
Oct 24th, 2017, 11:20pm
 
Hello, one of my tasks started failing recently and I am not quite sure what the error message is telling me. I am fairly certain that the remote server was updated recently (out of my control) to have a higher level of security. Can you help me interpret what this error means?

WatchFTP v4.0.3.0 64-bit, licensed
Task is running as a service, as Local System

This error happens when the task fires normally and when I click the "Browse / Test Connection" button.

SFTP: 0 ()
ChilkatLog:
 Connect_SFtp:
   DllDate: May 25 2017
   ChilkatVersion: 9.5.0.68
   UnlockPrefix: WTCHDR.CBX0522
   Architecture: Little Endian; 64-bit
   VerboseLogging: 0
   SftpVersion: 0
   Component successfully unlocked using purchased unlock code.
   connectInner:
     sshConnect:
       Established TCP/IP connection with SSH server
     --sshConnect
     sshSetupConnection:
       clientIdentifier: SSH-2.0-PuTTY_Release_0.69
       Sending client identifier...
       Done sending client identifier.
       Reading server version...
       initialDataFromSshServer: SSH-2.0-WS_FTP-SSH_8.5.0

       serverVersion: SSH-2.0-WS_FTP-SSH_8.5.0
       KeyExchangeAlgs:
         algorithm: diffie-hellman-group1-sha1
         algorithm: diffie-hellman-group14-sha1
         algorithm: diffie-hellman-group14-sha256
         algorithm: diffie-hellman-group-exchange-sha256
       --KeyExchangeAlgs
       HostKeyAlgs:
         algorithm: ssh-dss
         algorithm: ssh-rsa
       --HostKeyAlgs
       EncCS:
         algorithm: aes256-ctr
         algorithm: aes192-ctr
         algorithm: aes128-ctr
         algorithm: 3des-cbc
         algorithm: blowfish-cbc
         algorithm: aes256-cbc
         algorithm: aes128-cbc
         algorithm: cast128-cbc
       --EncCS
       EncSC:
         algorithm: aes256-ctr
         algorithm: aes192-ctr
         algorithm: aes128-ctr
         algorithm: 3des-cbc
         algorithm: blowfish-cbc
         algorithm: aes256-cbc
         algorithm: aes128-cbc
         algorithm: cast128-cbc
       --EncSC
       MacCS:
         algorithm: hmac-sha1
         algorithm: hmac-sha1-96
         algorithm: hmac-md5
         algorithm: hmac-md5-96
         algorithm: hmac-sha2-256
         algorithm: hmac-sha2-384
         algorithm: hmac-sha2-512
       --MacCS
       MacSC:
         algorithm: hmac-sha1
         algorithm: hmac-sha1-96
         algorithm: hmac-md5
         algorithm: hmac-md5-96
         algorithm: hmac-sha2-256
         algorithm: hmac-sha2-384
         algorithm: hmac-sha2-512
       --MacSC
       CompCS:
         algorithm: none
       --CompCS
       CompSC:
         algorithm: none
       --CompSC
       ChosenIncomingEncryption: aes128-ctr
       ChosenOutgoingEncryptoin: aes128-ctr
       ChosenIncomingMac: hmac-sha1
       ChosenOutgoingMac: hmac-sha1
       ChosenIncomingCompression: none
       ChosenOutgoingCompression: none
       ChosenKexAlgorithm: diffie-hellman-group-exchange-sha256
       ChosenHostKeyAlgorithm: ssh-rsa
       sshRawPacket: Socket connection closed.
       sshDhGex: Socket connection closed.
       Failed to read KEX_DH_GEX_REQUEST response
     --sshSetupConnection
   --connectInner
   Failed.
 --Connect_SFtp
--ChilkatLog
Back to top
 
 
  IP Logged
Gert
YaBB Administrator
Translator
*****
Offline


Posts: 427
The Netherlands
Re: SFTP connection error
Reply #1 - Oct 25th, 2017, 10:18am
 
Hi,

I received a report about connection problems to new versions of WS_FTP (via email) earlier from a client, this seems to be the same problem.

Basically, what seems to be the issue is (very much simplified):
During the connection fase (before the userid and password are sent), the SFTP server and WatchFTP negotiate how to encrypt the connection, which algorythm to use. The SFTP server sends a list of encryption methods it supports, WatchFTP a list with methods WF supports.

The SFTP server says I support SUPER-DUPER-ENCRYPTION
WatchFTP says I support SuperDuperEncryption

While those encryption methods *are* the same, you see their names are not exactly the same. WatchFTP and WS_FTP can not agree on an encryption method and so the connection fails.

I hope to have a WatchFTP v4.1 beta soon that should fix this issue. Currently the code for WatchFTP can not be build (as we are in the middle of implementing new features), but I will post something in the next few days.

Gert
Back to top
 
 


Contact me at support -at- gdpsoftware -dot- com
My blog: http://blog-en.gdpsoftware.com/
WWW   IP Logged
bhicks
YaBB Newbies
*
Offline


Posts: 3

Re: SFTP connection error
Reply #2 - Oct 25th, 2017, 5:37pm
 
Thank you very much for the quick response. I look forward to testing the beta build when it is available.
Back to top
 
 
  IP Logged
Gert
YaBB Administrator
Translator
*****
Offline


Posts: 427
The Netherlands
Re: SFTP connection error
Reply #3 - Nov 2nd, 2017, 12:34pm
 
Please see Please see http://www.watchftp.com/cgi-bin/yabb2/YaBB.pl?num=1509618780 and let me know if this fixes the issue.
Back to top
 
 


Contact me at support -at- gdpsoftware -dot- com
My blog: http://blog-en.gdpsoftware.com/
WWW   IP Logged
bhicks
YaBB Newbies
*
Offline


Posts: 3

Re: SFTP connection error
Reply #4 - Nov 3rd, 2017, 10:37pm
 
This beta version has resolved the error I was getting. Thank you very much for taking care of this.  8-)
Back to top
 
 
  IP Logged
Gert
YaBB Administrator
Translator
*****
Offline


Posts: 427
The Netherlands
Re: SFTP connection error
Reply #5 - Jan 7th, 2018, 12:31pm
 
We just released WatchFTP v4.1, see http://www.watchftp.com/download.html
Back to top
 
 


Contact me at support -at- gdpsoftware -dot- com
My blog: http://blog-en.gdpsoftware.com/
WWW   IP Logged
Pages: 1
Send Topic Print