Rosbridge UDP port gives "Inbound TCP/IP connection failed" error after connection is closed

asked 2019-07-23 08:36:01 -0500

mmp52 gravatar image

updated 2019-07-31 03:15:34 -0500

Hi! I open a udp port on my ROSBerryPi 3B (kinetic) by :

roslaunch rosbridge_server rosbridge_udp.launch port:=11000

and then I get connected with it using a Windows 10 laptop on which there is no ROS running. I can succesfully communicate with the pc and raspberry pi afterwards. The problem is that when I disconnect my PC (by directly closing the terminal) I get the warning:

Inbound TCP/IP connection failed: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details.

The thing that tickles my mind is that I believe I have the communication over UDP not TCP/IP. Does this error mean I have a TCP/IP communication (which is not suitable for me) or it is just because of the warning template that does not have a different keyword for UDP? Also what is required to stop this warning? Should I indicate unsubscription before I close the connection to avoid this? And how can ROS know my PC is disconnected from a Rosbridge Port on UDP ? Does rosbridge make handshakes in the mean time?

edit retag flag offensive close merge delete


is there no one having the same issue?

mmp52 gravatar image mmp52  ( 2019-07-31 03:23:18 -0500 )edit