Home Help Center

Problem with IceSSL after Ice 3.3.0 instalation

kornelskkornelsk Member Kornel SkalkowskiOrganization: AGHProject: Software for Hospitals
In my project i often use SSL connections. In order to get info about SSL connection (user certs, etc) i use IceSSL.Util.getConnectionInfo(current__.con) method. I worked on Ice 3.2.0 and everything works correctly. But after migration on Ice 3.3.0 following code (which works on Ice 3.2.0):

Console.WriteLine("CONNECTION TYPE: " + current__.con.type());

gives following result:

2008-08-04 21:22:07:421 SessionServiceServer.exe: warning: dispatch exception:
identity: SessionManager
operation: listSessions
reason = "not ssl connection"
at IceInternal.IncomingBase.handleException__(Exception exc) in d:\builds\dis
tbuilds\release\Ice-3.3.0\cs\src\Ice\Incoming.cs:line 151

I work in Visual Studio 2008 and i use .NET 3.5 framework. What is wrong in above code, and why when Connection.type() method returns "ssl" i get IceSSL.ConnectionInvalidException with message "not ssl connection"???


  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    I just tested this with Ice 3.3.0 under XP and it worked fine. What I did was modify the hello demo as you described below. Assuming that I actually established a secure connection with the server, then everything worked as expected. You should verify that your environment is sane by doing a similar exercise.
Sign In or Register to comment.