WebSocket FIN packets turn into PSH/ACK
Hello!
Problem here in terms of .exe: sometimes my PC doesn't recieve/transmit WebSocket FIN packets, they turn into normal PSH/ACK ones. Because of that an app fails to work properly. Is there any way to trace the problem? What can be wrong?
When app works:
When it fails to do so:
The
websocket
dissector keys offhttp.upgrade
.If you set a display filter of
http.upgrade
do you see a packet in the first capture with this field and no packets that match in the second capture? You could also disable thewebsocket
protocol in the first capture and see that it looks a lot like the second.(Sample capture attached to issue 16274 )
Chuck, thanks for comment. I still don't understand why my PC sometimes (randomly) fails to connect to WebSocket in this special case. Any idea where can I find info about it?
When diagnosing TCP/TLS it helps to capture the handshakes - TCP 3-way and TLS hello/certs/session start.