Discuss the FTP protocol, secure FTP, FTP over SSH and FTP over SSL.
no avatar
User

nhsanchez

Posts

4

Joined

Wed Nov 12, 2014 11:23 pm

The client and server could not agree on the protocol

by nhsanchez » Sat Mar 07, 2015 12:47 am

I?m trying to setup the product in order to handle mainframes communications, and during the FTPs (tsl and ssl) test, I?m receiving the following error:
******************************************************************************
2015-03-06 11:10:34,344 ERROR SocketController [*************] OnReceive - caught exception - closing: The client and server could not agree on the protocol version to use.
2015-03-06 11:10:34,344 ERROR SecureSocket [*************] Exception during handshake: The client and server could not agree on the protocol version to use.
2015-03-06 11:10:34,344 ERROR FTPConnection [*************] send failed
EnterpriseDT.Mentalis.Security.Ssl.Shared.SslException: The client and server could not agree on the protocol version to use.
at QlaiD1rygylqh9bQSM1.QXhJc1rQtlQYgO8exZI.DJjj8Mj6KdN(HVT9mCr66FuPMaPw8C2 )
at uW9ld8ZMovF9DPCqqDR.QR5xO4Zp2NOL8S1nL4Y.jNawRmheMR(IAsyncResult )
******************************************************************************

It?s possible to emulate (or enable a single user) to handle SHA-1 (mainframe systems are really complex, and it?s not possible to migrate to SHA-256). :?

Thanks in advance
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: The client and server could not agree on the protocol

by support2 » Sat Mar 07, 2015 1:17 am

If you enable logging at the Debug level and post the relevant snippet around this error that should explain the problem. It is probably incompatible versions of TLS.
no avatar
User

nhsanchez

Posts

4

Joined

Wed Nov 12, 2014 11:23 pm

Re: The client and server could not agree on the protocol

by nhsanchez » Fri Mar 13, 2015 3:17 am

As I mentioned before, what we need it?s to be able to login using the protocol SHA1 (there is a MAINFRAME in this job, so we know it?s old, but we dont have another choice by now)..

On the other hand, this is the log in Debug mode...

************************************************************
2015-03-12 14:06:47,398 DEBUG FTPSession [Session.630:SFTP-3:user?:10.5.14.1] setting state to AwaitUser
2015-03-12 14:06:47,398 DEBUG FTPConnection [Session.630:SFTP-3:user?:10.5.14.1] BeginSend:50 bytes
2015-03-12 14:06:47,398 DEBUG FTPConnection [Session.630:SFTP-3:user?:10.5.14.1] CMD> AUTH TLS
2015-03-12 14:06:47,398 DEBUG FTPConnection [Session.630:SFTP-3:user?:10.5.14.1] Processed command AUTH TLS
2015-03-12 14:06:47,398 DEBUG FTPConnection [Session.630:SFTP-3:user?:10.5.14.1] CMD< 234 AUTH TLS successful.
2015-03-12 14:06:47,398 DEBUG FTPSession [Session.630:SFTP-3:user?:10.5.14.1] setting state to AwaitUser
2015-03-12 14:06:47,398 DEBUG FTPConnection [Session.630:SFTP-3:user?:10.5.14.1] BeginSend:26 bytes
2015-03-12 14:06:47,398 DEBUG FTPConnection [Session.630:SFTP-3:user?:10.5.14.1] securing connection
2015-03-12 14:06:47,429 DEBUG CompatibilityLayer [Session.630:SFTP-3:user?:10.5.14.1] Local min SSL version: 3.1, max SSL version: 3.2
2015-03-12 14:06:47,429 DEBUG SocketController [Session.630:SFTP-3:user?:10.5.14.1] Processing hello
2015-03-12 14:06:47,429 DEBUG CompatibilityLayer [Session.630:SFTP-3:user?:10.5.14.1] Remote SSL version: 3.0
2015-03-12 14:06:47,429 ERROR SocketController [Session.630:SFTP-3:user?:10.5.14.1] OnReceive - caught exception - closing: The client and server could not agree on the protocol version to use.
2015-03-12 14:06:47,429 DEBUG SocketController [Session.630:SFTP-3:user?:10.5.14.1] CloseConnection(e=The client and server could not agree on the protocol version to use.)
2015-03-12 14:06:47,429 DEBUG SocketController [Session.630:SFTP-3:user?:10.5.14.1] Shut down socket
2015-03-12 14:06:47,429 DEBUG SocketController [Session.630:SFTP-3:user?:10.5.14.1] Closed socket
2015-03-12 14:06:47,429 DEBUG TransferBuffer [Session.630:SFTP-3:user?:10.5.14.1] Close() called when open
2015-03-12 14:06:47,429 DEBUG SecureSocket [Session.630:SFTP-3:user?:10.5.14.1] OnHandshakeComplete(False,The client and server could not agree on the protocol version to use.)
2015-03-12 14:06:47,429 ERROR SecureSocket [Session.630:SFTP-3:user?:10.5.14.1] Exception during handshake: The client and server could not agree on the protocol version to use.
2015-03-12 14:06:47,429 ERROR FTPConnection [Session.630:SFTP-3:user?:10.5.14.1] send failed
EnterpriseDT.Mentalis.Security.Ssl.Shared.SslException: The client and server could not agree on the protocol version to use.
at QlaiD1rygylqh9bQSM1.QXhJc1rQtlQYgO8exZI.DJjj8Mj6KdN(HVT9mCr66FuPMaPw8C2 )
at uW9ld8ZMovF9DPCqqDR.QR5xO4Zp2NOL8S1nL4Y.jNawRmheMR(IAsyncResult )
2015-03-12 14:06:47,429 DEBUG FTPConnection [Session.630:SFTP-3:user?:10.5.14.1] Closing connection
2015-03-12 14:06:47,429 DEBUG UserSession [Session.630:SFTP-3:user?:10.5.14.1] ReleaseResources()
2015-03-12 14:06:47,429 DEBUG FTPSession [Session.630:SFTP-3:user?:10.5.14.1] Released transfer resources
2015-03-12 14:06:47,429 DEBUG SocketController [Session.630:SFTP-3:user?:10.5.14.1] Dispose()
2015-03-12 14:06:47,429 DEBUG SocketController [Session.630:SFTP-3:user?:10.5.14.1] CloseConnection(e=null)
********************************************************
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: The client and server could not agree on the protocol

by support2 » Fri Mar 13, 2015 7:08 am

no avatar
User

nhsanchez

Posts

4

Joined

Wed Nov 12, 2014 11:23 pm

Re: The client and server could not agree on the protocol

by nhsanchez » Sat Mar 14, 2015 12:17 am

Thanks for the support..

Im starting to use this product... where do I have to "Set the SSLVersion property to SSLFTPSSLVersion.SSL3" ??

It?s will be enable only for a single user?..

Do you have so documentation about this?

Thanks in advance!
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: The client and server could not agree on the protocol

by support2 » Sat Mar 14, 2015 12:22 am


Who is online

Users browsing this forum: No registered users and 3 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron