We are using erl_call for nodes monitoring and sometimes erl_call failed with message 'erl_call: failed to connect to node <a href="mailto:node_01@192.168.1.2" target="_blank">node_01@192.168.1.2</a>'<br>Node at this time is alive and works as usually.<br>
<br>We found that node at this time returns status 'salive' instead of expected 'sok'.<br><br>----------------------------------------------------------------------------------------------<br>ei_xconnect: Sun Oct  7 16:45:00 2012: -> CONNECT attempt to connect to node_01<br>
ei_epmd_r4_port: Sun Oct  7 16:45:00 2012: -> PORT2_REQ alive=node_01 ip=192.168.1.2<br>ei_epmd_r4_port: Sun Oct  7 16:45:00 2012: <- PORT2_RESP result=0 (ok)<br>ei_epmd_r4_port: Sun Oct  7 16:45:00 2012:    port=52658 ntype=77 proto=0 dist-high=5 dist-low=5<br>
ei_xconnect: Sun Oct  7 16:45:00 2012: -> CONNECT connected to remote<br>recv_status: Sun Oct  7 16:45:00 2012: <- len=6<br>recv_status: Sun Oct  7 16:45:00 2012: <- buf[0]=s (115)<br>recv_status: Sun Oct  7 16:45:00 2012: <- buf[1]=a (97)<br>
recv_status: Sun Oct  7 16:45:00 2012: <- buf[2]=l (108)<br>recv_status: Sun Oct  7 16:45:00 2012: <- buf[3]=i (105)<br>recv_status: Sun Oct  7 16:45:00 2012: <- buf[4]=v (118)<br>recv_status: Sun Oct  7 16:45:00 2012: <- buf[5]=e (101)<br>
ex_xconnect: Sun Oct  7 16:45:00 2012: RECV_STATUS failed<br>ei_xconnect: Sun Oct  7 16:45:00 2012: -> CONNECT failed<br>erl_call: failed to connect to node <a href="mailto:node_01@192.168.1.2">node_01@192.168.1.2</a>, fd=-1, errno=0, erl_errno=5<br>
----------------------------------------------------------------------------------------------<br><br>In what cases the node returns 'salive' ?<br><br><br>Andrew Gopienko<br><br>