node crashing with "Unknown error initiating TCP/IP socket"

asked 2021-02-09 04:31:31 -0600

felixN gravatar image

Hi,

Yesterday, one of our test robots stopped working. I wasn't onsite, so I only got the logs.

It seems that it was the motor controler node that crashed, but the logs are quitte strange, and seem to be to point to the communication layer rather than to my python2 node :

[rosout][WARNING] 2021-02-08 11:58:51,476: running
[rosout][WARNING] 2021-02-08 11:58:51,576: running
[rosout][WARNING] 2021-02-08 11:58:51,676: running
[rosout][WARNING] 2021-02-08 11:58:51,776: running
[rosout][WARNING] 2021-02-08 11:58:51,876: running
[rosout][WARNING] 2021-02-08 11:58:51,976: running
[rosout][WARNING] 2021-02-08 11:58:52,076: running
[rosout][WARNING] 2021-02-08 11:58:52,176: running
[rosout][WARNING] 2021-02-08 11:58:52,276: running
[rosout][WARNING] 2021-02-08 11:58:52,376: running
[rospy.internal][ERROR] 2021-02-08 11:58:52,387: Unable to initiate TCP/IP socket to xavier0-desktop:33351 (http://xavier0-desktop:35049/): Traceback (most recent call last):
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 562, in connect
    self.read_header()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 657, in read_header
    self._validate_header(read_ros_handshake_header(sock, self.read_buff, self.protocol.buff_size))
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 600, in _validate_header
    raise TransportInitError("remote error reported: %s"%header['error'])
TransportInitError: remote error reported: node shutting down

[rosout][WARNING] 2021-02-08 11:58:52,476: running
[rosout][WARNING] 2021-02-08 11:58:52,576: running
[rosout][WARNING] 2021-02-08 11:58:52,676: running
[rosout][WARNING] 2021-02-08 11:58:52,776: running
[rosout][WARNING] 2021-02-08 11:58:52,876: running
[rosout][WARNING] 2021-02-08 11:58:52,976: running
[rosout][WARNING] 2021-02-08 11:58:53,076: running
[rosout][WARNING] 2021-02-08 11:58:53,176: running
[rosout][WARNING] 2021-02-08 11:58:53,276: running
[rosout][WARNING] 2021-02-08 11:58:53,376: running
[rospy.internal][WARNING] 2021-02-08 11:58:53,389: Unknown error initiating TCP/IP socket to xavier0-desktop:33351 (http://xavier0-desktop:35049/): Traceback (most recent call last):
  File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/impl/tcpros_base.py", line 560, in connect
    self.socket.connect((dest_addr, dest_port))
  File "/usr/lib/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused

[rospy.internal][INFO] 2021-02-08 11:58:53,390: topic[/cmd_vel_joystick] removing connection to http://xavier0-desktop:35049/
[rosout][WARNING] 2021-02-08 11:58:53,476: running
[rosout][WARNING] 2021-02-08 11:58:53,576: running
[rosout][WARNING] 2021-02-08 11:58:53,676: running
[rosout][WARNING] 2021-02-08 11:58:53,776: running
[rosout][WARNING] 2021-02-08 11:58:53,876: running
[rosout][WARNING] 2021-02-08 11:58:53,976: running
[rosout][WARNING] 2021-02-08 11:58:54,076: running
[rosout][WARNING] 2021-02-08 11:58:54,176: running
[rosout][WARNING] 2021-02-08 11:58:54,276: running
[rosout][WARNING] 2021-02-08 11:58:54,376: running
[rosout][WARNING] 2021-02-08 11:58:54,476: running
[rospy.internal][INFO] 2021-02-08 11:58:54,560: topic[/cmd_vel] adding connection to [http://xavier0-desktop:37239/], count ...
(more)
edit retag flag offensive close merge delete