Archived

This forum has been archived. Please start a new discussion on GitHub.

icessl get unknow exception threadpool.server

when i use ice's callback example, i change the config files to ssl endpoint.
serverside config.server
Callback.Server.Endpoints=tcp -h 10.130.15.12 -p 10000: ssl -h 10.130.15.12 -p 10001
clientside config.client
Callback.Client.CallbackServer=callback:ssl -h 10.130.15.12 -p 10001

i got output in server side :
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: attempting to bind to
 tcp socket 10.130.15.12:10000 ]
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: accepting tcp connect
ions at 10.130.15.12:10000 ]
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: attempting to bind to
 ssl socket 10.130.15.12:10001 ]
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: accepting ssl connect
ions at 10.130.15.12:10001 ]
[ c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: Network: trying to validate in
coming ssl connection
  local address = 10.130.15.12:10001
  remote address = 10.130.15.12:1366 ]
c:/Ice-3.1.0-VC71/demo/Ice/callback/server.exe: error: unknown exception in `Ice
.ThreadPool.Server'

Comments

  • there is the source code for project, will you help me to look it?:confused:
    Attachment not found.
  • matthew
    matthew NL, Canada
    Did you attach the process with a debugger and work out where the exception is coming from? In many cases these unknown exceptions are actually caused by access violations.
  • thank you for response.
    when i use vc2003 debug it, i got the exception from 127 lines at AcceptorI.cpp.
    it's a invocation for openssl, i cannot get in it.

    Ice-3.1.0\src\IceSSL\AcceptorI.cpp
    [code]
    ...
    try
    {
    do
    {
    int ret = SSL_accept(ssl);
    switch(SSL_get_error(ssl, ret))
    ...
    [code]
  • matthew
    matthew NL, Canada
    My guess is that you must somehow have an incompatible OpenSSL DLL somewhere in your PATH. Can you check that please?
  • yes, when i use a clean plateform, the programe work correctly!
    :D:D