get rid of warning: Inbound TCP/IP connection failed
I get this warning intermittently:
Inbound TCP/IP connection failed: connection from sender terminated before handshake header received. 0 bytes were received. Please check sender for additional details.
I see this sometimes when a subscriber unsubscribes a topic. I am assuming the warning is issued if the unsubscription happens while the next message is already coming in. The concrete place I am seeing this is when using smach monitor_state. When a monitored topic delivers a message that satisfies the state, it unsubscribes, and sometimes, I see the above warning.
I want to get rid of warnings, when they really don't indicate a problem.
Can I unsubscribe in a way that is more "clean" and doesn't cause this warning?
Did you find the source of this warning showing up>