While investigating some logs for failed connections, I noticed this quite often for TCP connections:
[0.057s] Jingle:Conn[...]: Connection closed with error 0
The issue is that pretty much any error information is lost in socket_host_tcp.cc (https://cs.chromium.org/chromium/src/content/browser/renderer_host/p2p/socket_host_tcp.cc), which sends an IPC "OnError" message for every kind of error, with the only argument being the ID of the socket.
It would be useful if more information was passed to the webrtc side, such that it could differentiate kinds of errors (like timeouts vs rejected connection attempts).
Comment 1 by sheriffbot@chromium.org
, Apr 16 2018Status: Untriaged (was: Available)