heuristicus / spot_ros

ROS driver for controlling Boston Dynamics' Spot robot
https://heuristicus.github.io/spot_ros/
Other
273 stars 141 forks source link

OpenSSL Handshake failed #131

Closed MarioSpeckert closed 1 year ago

MarioSpeckert commented 1 year ago

Hi, this might not be related to this Repository, but we have a connection issue to the Spot robot. It seams that the SSL handshake is not working due to some certification problem. Are there additional steps needed for setting up the connection? Please let us know if you need more Information.

Regards Mario

Distributor ID: Ubuntu Description: Ubuntu 20.04.6 LTS Release: 20.04 Codename: focal

roslaunch spot_driver driver.launch ... logging to /home/mario/.ros/log/7096e4c6-e901-11ed-b88c-13df06778170/roslaunch-mario-ThinkPad-T430s-46920.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://mario-ThinkPad-T430s:45537/

SUMMARY

PARAMETERS

NODES / robot_state_publisher (robot_state_publisher/robot_state_publisher) twist_marker_server (interactive_marker_twist_server/marker_server) twist_mux (twist_mux/twist_mux) /bluetooth_teleop/ joy_node (joy/joy_node) teleop_twist_joy (teleop_twist_joy/teleop_node) /spot/ spot_ros (spot_driver/spot_ros)

auto-starting new master process[master]: started with pid [46937] ROS_MASTER_URI=http://localhost:11311

setting /run_id to 7096e4c6-e901-11ed-b88c-13df06778170 process[rosout-1]: started with pid [46950] started core service [/rosout] process[robot_state_publisher-2]: started with pid [46957] process[twist_marker_server-3]: started with pid [46958] process[bluetooth_teleop/joy_node-4]: started with pid [46959] process[bluetooth_teleop/teleop_twist_joy-5]: started with pid [46963] process[spot/spot_ros-6]: started with pid [46971] process[twist_mux-7]: started with pid [46978] [ WARN] [1683042792.518570003]: Couldn't set gain on joystick force feedback: Bad file descriptor [INFO] [1683042793.327260]: Starting ROS driver for Spot [INFO] [1683042793.330749]: Initialising robot at xxx.xxx.xxx.xxx [INFO] [1683042793.332368]: Trying to authenticate with robot... E0502 17:53:13.344975498 46971 ssl_transport_security.cc:1420] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED. [WARN] [1683042793.346742]: Failed to communicate with robot: UnableToConnectToRobotError: The robot may be offline or otherwise unreachable. Ensure the robot is powered on and you can ping xxx.xxx.xxx.xxx. Robot may still be booting. Will retry in 15 seconds E0502 17:53:23.341092687 47020 ssl_transport_security.cc:1420] Handshake failed with fatal error SSL_ERROR_SSL: error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED. [INFO] [1683042808.362866]: Trying to authenticate with robot... [WARN] [1683042808.366667]: Failed to communicate with robot: UnableToConnectToRobotError: The robot may be offline or otherwise unreachable. Ensure the robot is powered on and you can ping xxx.xxx.xxx.xxx. Robot may still be booting. Will retry in 15 seconds

matthew-rt commented 1 year ago

Can you successfully control the robot with the controller? What version of the spot SDK have you got installed?

heuristicus commented 1 year ago

This isn't something I've seen before. One thing to test would be to try and connect to the robot with this example provided by BD: https://github.com/boston-dynamics/spot-sdk/blob/master/python/examples/hello_spot/hello_spot.py. If that doesn't work I'd recommend contacting BD support to try and work out what the problem is.

MarioSpeckert commented 1 year ago

Apparently there is a problem with the laptop I am using. With another computer, the connection works perfectly. Nevertheless, thanks for the help.