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

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

mmp52 gravatar image

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

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

Comments

is there no one having the same issue?

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

I have the same question "[WARN] [1614305288.280276, 0.000000]: Inbound TCP/IP connection failed: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details." Do you deal with it? Please give me some advice, thank you!

Bing Han gravatar image Bing Han  ( 2021-02-25 21:23:21 -0600 )edit

@Bing Han Please don't provide answers that are not answers. This is a Q&A site not a discussion forum. I've reposted your answer as a question comment.

jarvisschultz gravatar image jarvisschultz  ( 2021-02-26 11:47:40 -0600 )edit