Maximize
« Back to CA SiteMinder General Discussion

Re: Handshake error while accessing SiteMinder policy server

Threads
toggle
Hello,  I am trying to establisht connection with Policy server using Siteminder java sdk.I am not able to initialize the AgentAPI. AgentAPI.init()   is returning     "-1"   and whereas log in server has following entries...      [3888/3696][Wed Feb 24 2010 09:55:22][CServer.cpp:1386] Bad security handshake attempt. Handshake error: 3152[3888/3696][Wed Feb 24 2010 09:55:22][CServer.cpp:1393] Handshake error: Failed to receive client hello. Socket error 10054[3888/3696][Wed Feb 24 2010 09:55:22][CServer.cpp:1481] Failed handshake with 51.38.13.103:45324    Can anyonw help, why is it not happnening or atleast what this error code   3152 means ??  Thanks,Krishna  
answer
Top
Re: Handshake error while accessing SiteMinder policy server
2/26/10 4:52 PM as a reply to krish13.
Tech Document Title: Bad security handshake attempt. Handshake error: 3152 Failed to receive client hello. Socket error 10054 (Legacy_Onyx KB Id: 133366) Description: We found this in our SM Server authentication logs (attachement follows) - it started to happen a few days ago. The server and client configuration hasn't been changed for a few weeks and it worked fine. We observe a slow down in application when it happens. What can be wrong? The error is: [26/Nov/2003:09:58:34 0100][2092-E] Bad security handshake attempt. Handshake error: 3152 [26/Nov/2003:09:58:34 0100][2092-E] Handshake error: Failed to receive client hello. Socket error 10054 Solution: WinSock error 10054 means that the connection was reset by peer (that is, a TCP reset was received). The handshake error occured because a socket was established but was reset by the remote client before a hello message was received, or before the connection was timed out as being idle by the Policy Server.
answer
Top
Hello,     Not able to connect to Siteminder from the code, getting the below error in log file of Siteminder [3728/2556][Wed Mar 03 2010 05:07:34][CServer.cpp:1786] Failed handshake with 10.114.12.153:3353 [3728/2556][Wed Mar 03 2010 05:08:18][CServer.cpp:1613] Bad security handshake attempt. Handshake error: 3152 [3728/2556][Wed Mar 03 2010 05:08:18][CServer.cpp:1620] Handshake error: Failed to receive client hello. Socket error 0   my windows firewall is off and also I am trying to connect to SiteMinder Policy server from same machine using java code.                 AgentAPI agentAPI=new AgentAPI();            InitDef initDef=new InitDef();            agentAPI.getConfig(initDef, "smagent", "C:/siteminder/SmHost.conf");            int retcode=agentAPI.init(initDef);  I am able to connect and test using SiteMinderTestingTool (using same SmHost.conf) but not able to connect using java code.  please let me know if you have faced this error before or know the solution to this issue.  Thanks,Chandra
answer
Top
RE: Re: Handshake error while accessing SiteMinder policy server
2/10/14 5:28 AM as a reply to ca.portal.admin.
ca.portal.admin:
[indent]Hello,[/indent][indent]  [/indent][indent]  [/indent][indent] Not able to connect to Siteminder from the code, getting the below error in log file of Siteminder [3728/2556][Wed Mar 03 2010 05:07:34][CServer.cpp:1786][ERROR] Failed handshake with 10.114.12.153:3353 [3728/2556][Wed Mar 03 2010 05:08:18][CServer.cpp:1613][ERROR] Bad security handshake attempt. Handshake error: 3152 [3728/2556][Wed Mar 03 2010 05:08:18][CServer.cpp:1620][ERROR] Handshake error: Failed to receive client hello. Socket error 0 [/indent][indent]  [/indent][indent] my windows firewall is off and also I am trying to connect to SiteMinder Policy server from same machine using java code. [/indent][indent]  [/indent][indent]               AgentAPI agentAPI=new AgentAPI();            InitDef initDef=new InitDef();            agentAPI.getConfig(initDef, "smagent", "C:/siteminder/SmHost.conf");            int retcode=agentAPI.init(initDef);[/indent][indent]  [/indent][indent]I am able to connect and test using SiteMinderTestingTool (using same SmHost.conf) but not able to connect using java code.[/indent][indent]  [/indent][indent]please let me know if you have faced this error before or know the solution to this issue.[/indent][indent]  [/indent][indent]Thanks,[/indent][indent]Chandra[/indent]


Hi Chandra,

 

I am facing the same issue.

Would request you to let me know the resolution.
How should i go about it.

Thanks

Vikash
 

answer
Top
RE: Handshake error while accessing SiteMinder policy server
2/19/14 3:25 PM as a reply to vikasshh.singh.

Hi,

 

Only had a quick look throught the posts, but are you sure you are using the correct Java version?

Do you have the unrestricted java files in the java directory?

Thanks

Pat
 

answer
Top