rsslRead() failed with code -1 and system error 11

Options
dennisauau
dennisauau Newcomer

Could you please advise what is the meaning of below error message from ads.log? Was there a API issue? Thanks.

“RSSL disconnect from "xxxx" at position "xxx" on host "xxx" using application "256" of version "ETA Java Edition" on channel 45. Reason: rsslRead() failed with code -1 and system error 11. Text: </local/jenkins/workspace/RTDS35XCore_Release/OS/OL7-64/esdk/source/rtsdk/Cpp-C/Eta/Impl/Transport/rsslSocketTransportImpl.c:719> Error:1002 ipcRead() failure. Connection reset by peer <END>”




Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @dennisauau

    This log indicates that ADS can detect another end has been disconnected.

    For example, I ran rmdstestclient to connect to the ADS server. Then, I pressed Ctrl+c to stop rmdstestclient. The ADS server will have the following log in the ADS log file.

    <replablinux4.1.ads: Info: Tue May 17  15:42:04 2022>
    RSSL disconnect from "rep01" at position "127.0.0.1" on host "replablinux4" using application "256" of version "eta3.1.1.L1.linux.rrg 64-bit Static" on channel 19.
    Reason: rsslRead() failed with code -1 and system error 11. Text: </local/jenkins/workspace/RTDS35XCore_Release/OS/OL7-64/esdk/source/rtsdk/Cpp-C/Eta/Impl/Transport/rsslSocketTransportImpl.c:719> Error:1002 ipcRead() failure. Connection reset by peer


    <END>

    From this error, we can't confirm that it is an API issue. We need to verify if the client application was still running or if it was closed unexpectedly.