question

Upvotes
Accepted
3 1 3 6

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

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>”




eta-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi @Dennis Au,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.


Thanks,

AHS


Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

@Dennis Au

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.