This project is read-only.
1
Vote

Connection failure with unaccurate exception

description

Hi,
While logging on a ftp server (of which I can't disclose the adress/login, sorry) i've got an unaccurate exception, which involves a regex.
Please notice that filezilla also fails to connect to the FTP.

This is the stacktrace :
System.ArgumentNullException: La valeur ne peut pas être null.
Nom du paramètre : input
à System.Text.RegularExpressions.Regex.Match(String input)
à System.Text.RegularExpressions.Regex.Match(String input, String pattern)
à AlexPilotti.FTPS.Client.FTPSClient.GetReply()
à AlexPilotti.FTPS.Client.FTPSClient.Connect(String hostname, Int32 port, NetworkCredential credential, ESSLSupportMode sslSupportMode, RemoteCertificateValidationCallback userValidateServerCertificate, X509Certificate x509ClientCert, Int32 sslMinKeyExchangeAlgStrength, Int32 sslMinCipherAlgStrength, Int32 sslMinHashAlgStrength, Nullable1 timeout, Boolean useCtrlEndPointAddressForData, EDataConnectionMode dataConnectionMode)
à AlexPilotti.FTPS.Client.FTPSClient.Connect(String hostname, Int32 port, NetworkCredential credential, ESSLSupportMode sslSupportMode, RemoteCertificateValidationCallback userValidateServerCertificate, X509Certificate x509ClientCert, Int32 sslMinKeyExchangeAlgStrength, Int32 sslMinCipherAlgStrength, Int32 sslMinHashAlgStrength, Nullable
1 timeout, Boolean useCtrlEndPointAddressForData)
à AlexPilotti.FTPS.Client.FTPSClient.Connect(String hostname, Int32 port, NetworkCredential credential, ESSLSupportMode sslSupportMode, RemoteCertificateValidationCallback userValidateServerCertificate, X509Certificate x509ClientCert, Int32 sslMinKeyExchangeAlgStrength, Int32 sslMinCipherAlgStrength, Int32 sslMinHashAlgStrength, Nullable`1 timeout)
à AlexPilotti.FTPS.Client.FTPSClient.Connect(String hostname, NetworkCredential credential, ESSLSupportMode sslSupportMode, RemoteCertificateValidationCallback userValidateServerCertificate)
à AlexPilotti.FTPS.Client.FTPSClient.Connect(String hostname, NetworkCredential credential, ESSLSupportMode sslSupportMode)

This is the corresponding filezilla verbose log (in french) :
Statut : Résolution de l'adresse de xx
Statut : Connexion à xxx:21...
Statut : Connexion établie, attente du message d'accueil...
Erreur : Délai d'attente expiré
Suivi : CFtpControlSocket::ResetOperation(2114)
Suivi : CControlSocket::ResetOperation(2114)
Erreur : Impossible d'établir une connexion au serveur

The server is pure FTP (no security layer) with login/password.

comments