Home Help Center

Error after icessl configuration

J_X_ZJ_X_Z Member zhouOrganization: PersonalProject: communication
edited February 8 in Help Center

An error is reported after ice SSL is configured: /usr/local/ICE-3.7.x/include/IceUtil/Handle.h:46:
When I used the helloworld program to test, there was no error. Then , I reported the above error when I configured ICESSL into the project. I want to know what causes this error.

Best Answers

  • J_X_ZJ_X_Z Member zhouOrganization: PersonalProject: communication
    Accepted Answer

    ICE version 3.7.1

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Accepted Answer

    Hi Zhou,

    There isn't enough information there to know what the problem is, can you provide the complete output from both the client and server programs and the respective configuration files?

    Are you using the C++ hello demo from https://github.com/zeroc-ice/ice-demos/tree/3.7/cpp11/Ice/hello, if you modified the sources for your test can you tell us what changes did you make?

    Cheers,
    Jose

  • J_X_ZJ_X_Z Member zhouOrganization: PersonalProject: communication
    Accepted Answer

    Hi Jose,
    I found the cause of the error, because the code of my project used:
    Ice::TCPEndpointInfoPtr t = Ice::TCPEndpointInfoPtr::dynamicCast(in1);
    IpPort ipPort;
    ipPort.ip = t->host; //odd !
    Thanks,
    Zhou

Answers

  • J_X_ZJ_X_Z Member zhouOrganization: PersonalProject: communication
    Accepted Answer

    ICE version 3.7.1

  • xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Accepted Answer

    Hi Zhou,

    There isn't enough information there to know what the problem is, can you provide the complete output from both the client and server programs and the respective configuration files?

    Are you using the C++ hello demo from https://github.com/zeroc-ice/ice-demos/tree/3.7/cpp11/Ice/hello, if you modified the sources for your test can you tell us what changes did you make?

    Cheers,
    Jose

  • J_X_ZJ_X_Z Member zhouOrganization: PersonalProject: communication
    Accepted Answer

    Hi Jose,
    I found the cause of the error, because the code of my project used:
    Ice::TCPEndpointInfoPtr t = Ice::TCPEndpointInfoPtr::dynamicCast(in1);
    IpPort ipPort;
    ipPort.ip = t->host; //odd !
    Thanks,
    Zhou

Sign In or Register to comment.