cancel
Showing results for 
Search instead for 
Did you mean: 

Operating system call recv failed (error no. 232 )

Former Member
0 Kudos

Hello All,

On HP UX system, we are getting <b>Operating system call recv failed (error no. 232 )</b> error in SM21 log. ( process: gateway)

in dev_rd log file, following logs appeared.

***LOG Q0I=> NiIRead: recv (232: Connection reset by peer) [nixxi.cpp 4247]

      • ERROR => NiIRead: SiRecv failed for hdl 7 / sock 55

(SI_ECONN_BROKEN/232; I4; ST; 10.65.26.61:3310) [nixxi.cpp 4247]

From this log it is not clear which peer reset this connection?

Can somebody give a hint to reach the problem area?Thanks.

Regards,

Tushar

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos
# grep 232 /usr/include/sys/errno.h
#  define ECONNRESET            232     /* Connection reset by peer */

So the error 232 means ECONNRESET on HP-UX.

man recv

[...]

The recv(), recvfrom(), and recvmsg() system calls are used to receive

messages from a socket.

[...]

If the O_NONBLOCK flag is set using fcntl() (defined in <sys/fcntl.h>

and explained in fcntl(2) and fcntl(5)), POSIX-style nonblocking I/O

is enabled. In this case, the recv() request completes in one of six

ways:

[...]

+ If the remote side of a connection-based socket has reset the

connection, recv() returns -1 and sets errno to [ECONNRESET].

[...]

So basically this means, that the remote end of the socket sent a reset to the server.

--

Markus

Former Member
0 Kudos

Hi Markus,

Thanks a lot.

Its clear that connection has been reset by the peer.

But I am trying to find out which is peer in this case?where gateway process was trying to connect?

Or this is just a temp. network problem? thanks

Regards,

Tushar

markus_doehr2
Active Contributor
0 Kudos

The mentioned client IP resetted the connection.

This error may happen if you have temporaryr network problems or if you have e. g. the parameter rdisp/gui_autologout enabled and the specific PC has an open connection to the gateway.

--

Markus