roslaunch ssh error
Hi,
I am getting the following error when attempting to launch a series of nodes across two machines..
- beaglebone black (ubuntu@bbone): ubuntu 14.04 LTS (3.14 kernel) and ROS indigo
- Linux workstation (thayer@T1538): ubuntu 14.04 LTS (3.14 kernel) and ROS indigo
I have verified that both machines have the correct ROS_MASTER_URI environment variables set, and I have full bi-directional internet connectivity between the two. I can get success if I start up roscore and bring up each node on the respective machines one at a time, but can't get the launch file to work. Also, FWIW, the sys.excepthook is missing lost sys.stderr
error message occurs often on the beaglebone after killing roscore if it is running, however has never affected functionality in any way. Does this point to a deeper issue?
Error message:
thayer@T1538:~/catkin_ws/src/mvp_ros/launch$ roslaunch mvp_ros rangetest.launch
... logging to /home/thayer/.ros/log/b097f6ac-dbd8-11e5-a8ba-78acc0a5686d/roslaunch-T1538-9473.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://T1538:44498/
remote[bbone-0] starting roslaunch
remote[bbone-0]: creating ssh connection to bbone:22, user[ubuntu]
launching remote roslaunch child with command: [env ROS_MASTER_URI=http://localhost:11311 /opt/ros/indigo/env.sh roslaunch -c bbone-0 -u http://T1538:44498/ --run_id b097f6ac-dbd8-11e5-a8ba-78acc0a5686d]
remote[bbone-0]: ssh connection created
remote[bbone-0]: Exception while registering with roslaunch parent [http://T1538:44498/]: Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/server.py", line 506, in _register_with_server
code, msg, _ = server.register(name, self.uri)
File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1587, in __request
verbose=self.__verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1301, in single_request
self.send_content(h, request_body)
File "/usr/lib/python2.7/xmlrpclib.py", line 1448, in send_content
connection.endheaders(request_body)
File "/usr/lib/python2.7/httplib.py", line 975, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 835, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 797, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 778, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known
The traceback for the exception was written to the log file
Unhandled exception in thread started by
sys.excepthook is missing
lost sys.stderr
[bbone-0] killing on exit
remote roslaunch failed to launch: bone
The traceback for the exception was written to the log file
Launch File:
<launch>
<machine name="bone" address="bbone" default="true" user="ubuntu" password="ubuntu"/>
<machine name="thayer" address="localhost" default="true"/>
<node ...