Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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?

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

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?