I try to use UODOTNET OpenSecureSession method to open a SSL secure session.
I use self-sign certificate and get the following error message:

IBM U2UODOTNET - UNICLIENTErrorCode=39202 Unknown Error 39202 Occurred at
IBMU2.UODOTNET.UniObjects.OpenSecureSession(String hostname, Int32 port,
String userid, String password, String account, String service,
X509Certificate clientcertificate)

I found 39202 indicate "Slave failed to give server the Go Ahead message".
But I have no idea what causes this problem and how to fix it.

in the UOListener.log file, I get the follow records:

7/07/2009 12:06:57 PM:ThreadID: 1 Name : UniObjects::OpenSecureSession()
hostname : 17.17.11.11 port : 31438 User : root Password : password Account
: /usr/test/data/account1 Service : udcs
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter UniSession::UniSession()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter
UniRPCConnection::UniRPCConnection()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter UniRPCPacket::UniRPCPacket()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter
UniRPCPMessage::UniRPCPMessage()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit
UniRPCPMessage::UniRPCPMessage()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit UniRPCPacket::UniRPCPacket()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter UniRPCPacket::UniRPCPacket()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter
UniRPCPMessage::UniRPCPMessage()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit
UniRPCPMessage::UniRPCPMessage()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit UniRPCPacket::UniRPCPacket()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit
UniRPCConnection::UniRPCConnection()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit UniSession::UniSession()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter UniSession::Connect()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter
UniRPCConnection::ConnectInternalSSL(int responseIndex,X509Certificate
clientcertificate)0
7/07/2009 12:06:57 PM:ThreadID: 1 Name :
UniRPCConnection::ConnectInternalSSL()m_InPacket.UniRPCPMessage.ArgumentCount
is 2
7/07/2009 12:06:57 PM:ThreadID: 1 Name :
UniRPCConnection::ConnectInternalSSL()response is 0
7/07/2009 12:06:57 PM:ThreadID: 1 Name : In
UniRPCConnection::SelectLocalCertificate()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit
UniRPCConnection::SelectLocalCertificate()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : In
UniRPCConnection::SelectLocalCertificate() returned certificate:
7/07/2009 12:06:57 PM:ThreadID: 1 Name : In
UniRPCConnection::ValidateServerCertificate() sslPolicyErrors:None
7/07/2009 12:06:57 PM:ThreadID: 1 Name : In
UniRPCConnection::ValidateServerCertificate() certificate:Subject
[email protected], CN=17.17.11.11, OU=test, O=test, L=test, S=test, C=AU

Issuer
[email protected], CN=17.17.11.11, OU=test, O=test, L=test, S=test, C=AU

Serial Number
00FA000A0000DAC056

Not Before
6/07/2009 3:45:24 PM

Not After
6/07/2010 3:45:24 PM

Thumbprint
6E3A4B10000A3FA27E28FD5300000BE8E0FDE00F

7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit
UniRPCConnection::ValidateServerCertificate()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit
UniRPCConnection::ConnectInternalSSL(int responseIndex)
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Enter UniSession::Encrypt()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Exit UniSession::Encrypt()
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Get Property UniSession::IPAddress
HostName is mel007
7/07/2009 12:06:57 PM:ThreadID: 1 Name : Get Property UniSession::IPAddress
IPAddress is -1408039802
7/07/2009 12:06:57 PM:ThreadID: 1 Name : IBM U2UODOTNET -
UNICLIENTErrorCode=39202 Unknown Error 39202 Occurred Source: UniSession
Class Method: void Connect()

I get the following log in unidata server:

udapi_server using /usr/unidata/ud72/bin/udapi_slave to launch slave.
udapi_server setting SO_KEEPALIVE done.
api_server running in /usr/unidata/ud72/bin, debugLevel=9
ssl flag: 1
ssl server: udcs
SSLbinding: OK
server login name=root.
udapi_server pipe_read 1 byte_count=0.
udapi_server exit wait for slave 331902 to go away.
udapi_server exit connect_number=1.

Thanks in advance
-- 
View this message in context: 
http://www.nabble.com/Unknown-Error--39202--Slave-failed-to-give-server-the-Go-Ahead-message-tp24366224p24366224.html
Sent from the U2 - Users mailing list archive at Nabble.com.

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to