Autobahn WebSocket Testsuite Report
Autobahn WebSocket

UnknownServer - Case 5.14 : Fail - 2003 ms @ 2021-02-12T11:14:59.594Z

Case Description

Send unfragmented Text Message after Continuation Frame with FIN = false, where there is nothing to continue, sent in octet-wise chops.

Case Expectation

The connection is failed immediately, since there is no message to continue.

Case Outcome

Actual events differ from any expected.

Expected:
{'OK': []}

Observed:
[('message', u'non-continuation payloadHello, world!', False)]

Case Closing Behavior

The connection was failed by the wrong endpoint (FAILED)



Opening Handshake

GET / HTTP/1.1
User-Agent: AutobahnTestSuite/0.8.0-0.10.9
Host: 127.0.0.1:9001
Upgrade: WebSocket
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
Sec-WebSocket-Key: Z/FzKhSkQi0foGVnYZDhYg==
Sec-WebSocket-Version: 13
HTTP/1.1 101 WebSocket Protocol Handshake
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: y4ISPy3mySApL6yoib4wgpoDJVI=


Closing Behavior

KeyValueDescription
isServerFalseTrue, iff I (the fuzzer) am a server, and the peer is a client.
closedByMeTrueTrue, iff I have initiated closing handshake (that is, did send close first).
failedByMeTrueTrue, iff I have failed the WS connection (i.e. due to protocol error). Failing can be either by initiating closing handshake or brutal drop TCP.
droppedByMeTrueTrue, iff I dropped the TCP connection.
wasCleanFalseTrue, iff full WebSocket closing handshake was performed (close frame sent and received) _and_ the server dropped the TCP (which is its responsibility).
wasNotCleanReasonpeer did not respond (in time) in closing handshakeWhen wasClean == False, the reason what happened.
wasServerConnectionDropTimeoutFalseWhen we are a client, and we expected the server to drop the TCP, but that didn't happen in time, this gets True.
wasOpenHandshakeTimeoutFalseWhen performing the opening handshake, but the peer did not finish in time, this gets True.
wasCloseHandshakeTimeoutTrueWhen we initiated a closing handshake, but the peer did not respond in time, this gets True.
localCloseCode1001The close code I sent in close frame (if any).
localCloseReasonGoing AwayThe close reason I sent in close frame (if any).
remoteCloseCodeNoneThe close code the peer sent me in close frame (if any).
remoteCloseReasonNoneThe close reason the peer sent me in close frame (if any).


Wire Statistics

Octets Received by Chop Size

Chop SizeCountOctets
16116
39139
1381138
Total3193

Octets Transmitted by Chop Size

Chop SizeCountOctets
14949
18118
2401240
Total51307

Frames Received by Opcode

OpcodeCount
12
Total2

Frames Transmitted by Opcode

OpcodeCount
01
11
81
Total3


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120576562536f636b65742050726f746f636f6c2048616e647368616b650d0a55706772616465
               3a20576562536f636b65740d0a43 ...
002 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=24, MASK=17781b9f, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               non-continuation payload
003 TX OCTETS: 00
004 TX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=13, MASK=62353770, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=1, SYNC=False
               Hello, world!
005 FAIL CONNECTION AFTER 1.000000 sec
006 TX OCTETS: 98
007 TX OCTETS: 17
008 TX OCTETS: 78
009 TX OCTETS: 1b
010 TX OCTETS: 9f
011 TX OCTETS: 79
012 TX OCTETS: 17
013 TX OCTETS: 75
014 TX OCTETS: b2
015 TX OCTETS: 74
016 TX OCTETS: 17
017 TX OCTETS: 75
018 TX OCTETS: eb
019 TX OCTETS: 7e
020 TX OCTETS: 16
021 TX OCTETS: 6e
022 TX OCTETS: fe
023 TX OCTETS: 63
024 TX OCTETS: 11
025 TX OCTETS: 74
026 TX OCTETS: f1
027 TX OCTETS: 37
028 TX OCTETS: 08
029 TX OCTETS: 7a
030 TX OCTETS: e6
031 TX OCTETS: 7b
032 TX OCTETS: 17
033 TX OCTETS: 7a
034 TX OCTETS: fb
035 TX OCTETS: 81
036 TX OCTETS: 8d
037 TX OCTETS: 62
038 TX OCTETS: 35
039 TX OCTETS: 37
040 TX OCTETS: 70
041 TX OCTETS: 2a
042 TX OCTETS: 50
043 TX OCTETS: 5b
044 TX OCTETS: 1c
045 TX OCTETS: 0d
046 TX OCTETS: 19
047 TX OCTETS: 17
048 TX OCTETS: 07
049 TX OCTETS: 0d
050 TX OCTETS: 47
051 TX OCTETS: 5b
052 TX OCTETS: 14
053 TX OCTETS: 43
054 RX OCTETS: 81256e6f6e2d636f6e74696e756174696f6e207061796c6f616448656c6c6f2c20776f726c6421
055 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=37, MASKED=False, MASK=None
               non-continuation payloadHello, world!
056 FAILING CONNECTION
057 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=12, MASK=426e50e8, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e9476f696e672041776179
058 TX OCTETS: 888c426e50e8418717872b0037c803193191
059 RX OCTETS: 810e03efbfbd476f696e672041776179
060 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=False, MASK=None
061 TCP DROPPED BY ME