sftp connexion error - VisualCron - Forum

Community forum

keolis-lille
2019-06-27T12:25:50Z
Hi,
This connexion is successful from linux server :
sftp -q -o IdentityFile=/opt/app/data/TRS/KEY/id_dsa -o Port=XXX ACCOUNT@preprod-server.com:/home/in

From VisualCron, the conexion is down with this log :

SBSimpleSftp.EElSimpleSFTPClientError: Connection lost due to error 0
à SBSimpleSftp.TElSimpleSFTPClient.DoReceive(Object Sender, Byte[]& Buffer, Int32 MaxSize, Int32& Written)
à SBSSHCommon.TElSSHClass.DoReceive(Byte[]& Buffer, Int32 MaxSize, Int32& Written)
à SBSSHClient.TElSSHClient.DataAvailable()
à SBSimpleSftp.TElSimpleSFTPClient.IntMessageLoop()
à SBSimpleSftp.TElSimpleSFTPClient.DoMessageLoop()
à SBSimpleSftp.TElSimpleSFTPClient.Open()
à ctlRemoteBrowser.JLKMMEIOCBJAGNIJCOMAHGMDBEDAGEPFCFJP(Object )

Best regards,
Support
2019-06-28T12:49:57Z
Best way to debug this is to install Filezilla, turn on Verbose debugging and then email the log to support@visualcron.com
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keolis-lille
2019-07-05T19:29:22Z
Originally Posted by: Support 

Best way to debug this is to install Filezilla, turn on Verbose debugging and then email the log to support@visualcron.com



Hi,

I find the problem with filezilla.
I can't initiate the connection to the root.
I have to do it on this directory : /home/in.
Like this : "sftp -q -o IdentityFile=/opt/app/data/TRS/KEY/id_dsa -o Port=XXX ACCOUNT@preprod-server.com:/home/in"

Is it possible on the visualcron connector?
(I can from Winscp, filezila etc...)

Support
2019-07-06T15:08:13Z
So, there is a problem reaching default folder OR listing folders? What error do you get in log of filezilla?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keolis-lille
2019-07-08T13:01:38Z
Originally Posted by: Support 

So, there is a problem reaching default folder OR listing folders? What error do you get in log of filezilla?



Hi,

My partner change the default folder.
It's OK by filezilla, not visualcron.

Filezilla logs:

Statut : Connexion à XXXXX.com:XXXX...
Statut : Connected to XXXXX.com
Statut : Récupération du contenu du dossier...
Statut : Contenu du dossier "/" affiché avec succès
Statut : Déconnecté du serveur
Suivi : CControlSocket::ResetOperation(66)
Statut : Connexion à XXXXX:XXX...
Suivi : CControlSocket::SendNextCommand()
Suivi : CSftpDeleteOpData::Send() in state 0
Suivi : Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Réponse : fzSftp started, protocol_version=8
Suivi : CSftpDeleteOpData::ParseResponse() in state 0
Suivi : CControlSocket::SendNextCommand()
Suivi : CSftpDeleteOpData::Send() in state 2
Commande : keyfile "D:\cle_ftp\paybox\id_dsa"
Suivi : CSftpDeleteOpData::ParseResponse() in state 2
Suivi : CControlSocket::SendNextCommand()
Suivi : CSftpDeleteOpData::Send() in state 3
Commande : open "name@XXX.com" XXXX
Suivi : Connecting to XXX.XX.X.XXX port XXXX
Suivi : We claim version: SSH-2.0-FileZilla_3.42.1
Suivi : Server version: SSH-2.0-OpenSSH_7.4
Suivi : Using SSH protocol version 2
Suivi : Doing ECDH key exchange with curve Curve25519 and hash SHA-256
Suivi : Server also has ecdsa-sha2-nistp256/ssh-dss/ssh-rsa host keys, but we don't know any of them
Suivi : Host key fingerprint is:
Suivi : ssh-ed25519 256 3a:0e:be:26:89:df:f6:2a:44:a8:c0:74:13:25:a0:60 b+pzXuirnNAIhl5LZpdlTbP1hTIvNG8dS3vpm686iLw=
Suivi : Initialised AES-256 SDCTR client->server encryption
Suivi : Initialised HMAC-SHA1 client->server MAC algorithm
Suivi : Initialised AES-256 SDCTR server->client encryption
Suivi : Initialised HMAC-SHA1 server->client MAC algorithm
Suivi : Successfully loaded 1 key pair from file
Suivi : Offered public key from "D:\cle_ftp\paybox\id_dsa"
Suivi : Offer of public key accepted, trying to authenticate using it.
Suivi : Access granted
Suivi : Opening session as main channel
Suivi : Opened main channel
Suivi : Started a shell/command
Statut : Connected to XXXX.com
Suivi : CSftpDeleteOpData::ParseResponse() in state 3
Suivi : CControlSocket::ResetOperation(0)
Suivi : CSftpDeleteOpData::Reset(0) in state 3
Statut : Récupération du contenu du dossier...
Suivi : CControlSocket::SendNextCommand()
Suivi : CSftpListOpData::Send() in state 0
Suivi : CSftpChangeDirOpData::Send() in state 0
Suivi : CSftpChangeDirOpData::Send() in state 1
Commande : pwd
Réponse : Current directory is: "/"
Suivi : CSftpChangeDirOpData::ParseResponse() in state 1
Suivi : CControlSocket::ResetOperation(0)
Suivi : CSftpChangeDirOpData::Reset(0) in state 1
Suivi : CSftpListOpData::SubcommandResult(0) in state 1
Suivi : CControlSocket::SendNextCommand()
Suivi : CSftpListOpData::Send() in state 2
Suivi : CControlSocket::ResetOperation(0)
Suivi : CSftpListOpData::Reset(0) in state 2
Statut : Contenu du dossier "/" affiché avec succès

Visualcron log :

SBSimpleSftp.EElSimpleSFTPClientError: Connection lost due to error 0
à SBSimpleSftp.TElSimpleSFTPClient.DoReceive(Object Sender, Byte[]& Buffer, Int32 MaxSize, Int32& Written)
à SBSSHCommon.TElSSHClass.DoReceive(Byte[]& Buffer, Int32 MaxSize, Int32& Written)
à SBSSHClient.TElSSHClient.DataAvailable()
à SBSimpleSftp.TElSimpleSFTPClient.IntMessageLoop()
à SBSimpleSftp.TElSimpleSFTPClient.DoMessageLoop()
à SBSimpleSftp.TElSimpleSFTPClient.Open()
à ctlRemoteBrowser.JLKMMEIOCBJAGNIJCOMAHGMDBEDAGEPFCFJP(Object )
Support
2019-07-09T08:42:20Z
In VC we are trying to list folders and there is no such thing in VC yet as "default folder". I wonder, in filezilla if you can first go to one folder and then change to another folder (other than default tree).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
keolis-lille
2019-07-09T10:38:40Z
Originally Posted by: Support 

In VC we are trying to list folders and there is no such thing in VC yet as "default folder". I wonder, in filezilla if you can first go to one folder and then change to another folder (other than default tree).



we solved the problem of default folder.
But the connection does not work since VC and works from filezilla. See the logs above.
Support
2019-07-09T11:51:29Z
Originally Posted by: keolis-lille 

Originally Posted by: Support 

In VC we are trying to list folders and there is no such thing in VC yet as "default folder". I wonder, in filezilla if you can first go to one folder and then change to another folder (other than default tree).



we solved the problem of default folder.
But the connection does not work since VC and works from filezilla. See the logs above.



Is it possible that you can share the connection details with our developers? This would help solving this. Please send email to support@visualcron.com with the details.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top