News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
SecureSocket Receive issues  
by Daryn Kiely [Daryn dot Kiely at igt dot com]
posted on 2003/08/28

I am connecting to an OpenSSL server and successfully sending a message. When I try to read the response 1 of 2 things is happening, I either get an exception "An error occurred during the decryption and verfication process" or if I am in the debugger the read succeeds with 0 bytes read.

The same keys and base code works with IP*Works. I have to turn off CN verification for the connections to work.

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2003/08/28

Are you using the latest version of the library? We've uploaded a new version yesterday [1.0.13.672]

by Daryn Kiely [Daryn dot Kiely at igt dot com]
posted on 2003/08/28

Ok, I just downloaded the new library and I am now getting "An error occurs while communicating with the remote host"

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2003/08/28

What's the stack trace?

by Daryn Kiely [Daryn dot Kiely at igt dot com]
posted on 2003/08/28

[INIT ] - 8/28/2003 4:29:28 PM: Initializing Mentalis Connection
[FAIL ] - 8/28/2003 4:29:29 PM: Failed reading buffer -

An error occurs while communicating with the remote host. - at Org.Mentalis.Security.Ssl
.SecureSocket.EndReceive(IAsyncResult asyncResult)
at Org.Mentalis.Security.Ssl.SecureSocket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at Arbiter.MentalisConnection.Read() in c:\documents and settings\kielyd\my documents\visual studio projects\testhost\testhost\mentalisconnect
ion.cs:line 130

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2003/09/05

I'm unable to reproduce the behavior you're seeing. If possible, could you send me the code you're using that has this problem?
If not, could you detail the settings you're using? [ie, mutual authentication, the protocol (SSL, TLS or SSL/TLS), credential verification type, ...]. Could you also send me the server you're connecting to (if it's a public server)?

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2003/09/11

The problem has been solved and fixed in the latest version of the library.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.