Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-11-2007
gumshoe gumshoe is offline
Registered User
 
Name: Ruedi Eder
Organization: Enbridge
Project: Enterprise wide IPC framework.
 
Join Date: Dec 2006
Posts: 18
Intermittent ssl connection failures (hanging)

Hi,

I am experiencing intermittent failures when creating ssl connections. The client will hang in the checkedCast() call and pin the CPU. This can be reproduced by creating/destroying 100 connections in succession.

Details:
  • jdk1.6.0_02 (client and server)
  • Ice 3.2.0
  • client host: XP SP2 or Kubuntu 7.04 (x86)
  • server host: debian (x86)

Client Trace:
Code:
[ 8/11/07 13:47:58:359 Network: trying to establish ssl connection to 10.70.40.101:10001 ]
[ 8/11/07 13:47:58:359 Network: ssl connection established
  local address = 10.65.230.121:1339
  remote address = 10.70.40.101:10001 ]
Server Trace:
Code:
[ 8/11/07 12:46:52:342 Security: enabling SSL ciphersuites:
    SSL_RSA_WITH_RC4_128_MD5
    SSL_RSA_WITH_RC4_128_SHA
    TLS_RSA_WITH_AES_128_CBC_SHA
    TLS_DHE_RSA_WITH_AES_128_CBC_SHA
    TLS_DHE_DSS_WITH_AES_128_CBC_SHA
    SSL_RSA_WITH_3DES_EDE_CBC_SHA
    SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA
    SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA
    SSL_RSA_WITH_DES_CBC_SHA
    SSL_DHE_RSA_WITH_DES_CBC_SHA
    SSL_DHE_DSS_WITH_DES_CBC_SHA
    SSL_RSA_EXPORT_WITH_RC4_40_MD5
    SSL_RSA_EXPORT_WITH_DES40_CBC_SHA
    SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA
    SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA ]
[ 8/11/07 12:46:52:346 Network: attempting to accept ssl connection
  local address = 10.70.40.101:10001
  remote address = 10.65.230.121:1339 ]
[ 8/11/07 12:46:52:351 Protocol: sending validate connection
  message type = 3 (validate connection)
  compression status = 0 (not compressed; do not compress response, if any)
  message size = 14 ]
At this point the client hangs. Just having a look around in the Eclipse debugger shows the Ice.ConnectionMonitor thread hitting the wait(_interval * 1000); while another thread is on Unsafe.copyMemory(). At this point the Eclipse debugger becomes unresponsive on account of the CPU load.

The same client and server work fine when on the same host or across hosts if tcp instead of ssl is used.

Server config:
Code:
EnbRegistry.Endpoints=ssl -p 10001

Ice.Trace.Network=3
Ice.Trace.Protocol=1
IceSSL.Trace.Security=1

Ice.Plugin.IceSSL=IceSSL.PluginFactory
Ice.ThreadPerConnection=1
IceSSL.DefaultDir=certs
IceSSL.Keystore=server.jks
IceSSL.Password=password
IceSSL.Truststore=certs.jks
Client config:
Code:
EnbRegistry.Proxy=EnbRegistry:ssl -p 10001 -h wirelock
LogFeeder.Endpoints=ssl

Ice.ACM.Server=5
Ice.ACM.Client=5

Ice.Trace.Network=3
Ice.Trace.Protocol=1
IceSSL.Trace.Security=1

Ice.Plugin.IceSSL=IceSSL.PluginFactory
Ice.ThreadPerConnection=1
IceSSL.DefaultDir=certs
IceSSL.Keystore=server.jks
IceSSL.Password=password
IceSSL.Truststore=certs.jks
The closest to this I could find in the forums was Can't close ssl connection?.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 08-13-2007
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 818
Hi Ruedi,

This looks like the same hang as the one described in this earlier thread.
We're about to release 3.2.1 which includes the corresponding bug fix.

Best regards,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #3 (permalink)  
Old 08-14-2007
gumshoe gumshoe is offline
Registered User
 
Name: Ruedi Eder
Organization: Enbridge
Project: Enterprise wide IPC framework.
 
Join Date: Dec 2006
Posts: 18
Thanks for the quick reply. Does ZeroC host a bug tracker, JIRA perhaps? Having release notes delivered via PDF seems slightly off, do paying customers get them in another format?
Reply With Quote
  #4 (permalink)  
Old 08-14-2007
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 818
Ice 3.2.1 has just been released, and you'll probably like the release notes in plain text format.

We do not have a publicly accessible bug tracking system. If you need bug fixes in a timely manner, please subscribe to our priority support: see http://www.zeroc.com/support.html. You can subscribe to this priority support independently of your Ice license; some of our priority support customers license Ice under GPL.

Best regards,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #5 (permalink)  
Old 08-14-2007
gumshoe gumshoe is offline
Registered User
 
Name: Ruedi Eder
Organization: Enbridge
Project: Enterprise wide IPC framework.
 
Join Date: Dec 2006
Posts: 18
This may not be the place to discuss this but what are your reasons for not having a public bug tracker, even just read only?

From the perspective of a techie trying to sell the purchase of Ice to management having a vibrant forum as this is a selling point; having access to a bug tracker that allows for viewing of all issues/features of all releases helps even more. Something akin to Browse Project - jira.codehaus.org perhaps.

Either way, this beats CORBA so thanks for that.
Reply With Quote
  #6 (permalink)  
Old 08-14-2007
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 818
Hi Ruedi,

I never imagined a public bug tracking database would be a strong selling point for Ice. Thanks for the suggestion!

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't close ssl connection? liurunfeng Help Center 16 05-22-2007 01:10 AM
Passing SSL connection details to application kwaclaw Comments 4 10-04-2005 04:24 PM
question about ssl in c# fan Help Center 1 08-18-2005 11:27 PM
CtrlCHandler hanging garry Bug Reports 3 07-13-2005 10:34 AM
C# and SSL Wayetender Help Center 9 08-16-2004 06:51 PM


All times are GMT -4. The time now is 02:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.