Symantec Access Management

Tech Tip : CA Single Sign-On : SDK Agent shows error java.io.IOException: Connection reset by peer

  • 1.  Tech Tip : CA Single Sign-On : SDK Agent shows error java.io.IOException: Connection reset by peer

    Broadcom Employee
    Posted Sep 20, 2016 07:12 AM

    Question :

     

    Running Custom Agent, when the Agent tries to connect to the Policy Server,
    the Agent gets problem to write to the tunnel to the Policy Server :

     

    SMERROR: SmAgentTcpTransport, write, IOException writing to the channel:
    java.io.IOException: Connection reset by peer|#]

     

    Why is that error shown if we can't see any problem in the browser
    experience ?

     

    Environment :

     

    Custom Agent with SDK 12.52SP1CR01 on Oracle GlassFish Server 3.1.2.14
    (build 1) running on SLES 11 SP2;
    JDK Oracle 1.7.0_101 with JCE patches 64bit;

     

    Answer :

     

    The behavior is by design,
    Error is only in the logs and there is no impact for the end user in the browser.

     

    The "connection reset by peer" error is thrown when the SDK tries to
    use a connection which is not alive anymore. But the end user will
    not recognize this error because the SDK establishes a new connection
    directly afterwards and processes the incoming request again
    (with the new connection).

     

    KD : TEC1202265