Robotics StackExchange | Archived questions

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 rosbridgeserver rosbridgeudp.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?

Asked by mmp52 on 2019-07-23 08:36:01 UTC

Comments

is there no one having the same issue?

Asked by mmp52 on 2019-07-31 03:23:18 UTC

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!

Asked by Bing Han on 2021-02-25 22:23:21 UTC

@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.

Asked by jarvisschultz on 2021-02-26 12:47:40 UTC

Answers