Autobahn WebSocket Testsuite Report
Autobahn WebSocket

UnknownServer - Case 5.16 : Fail - 2005 ms @ 2021-02-12T11:15:03.609Z

Case Description

Repeated 2x: Continuation Frame with FIN = false (where there is nothing to continue), then text Message fragmented into 2 fragments.

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'fragment1fragment2fragment3', False), ('message', u'fragment1fragment2fragment3', 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: M2hriTEQQ8m2TZRhmldjmQ==
Sec-WebSocket-Version: 13
HTTP/1.1 101 WebSocket Protocol Handshake
Upgrade: WebSocket
Connection: Upgrade
Sec-WebSocket-Accept: VCx39rVGF+E8ZNXHhp9skYyMq68=


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
29258
1381138
Total4212

Octets Transmitted by Chop Size

Chop SizeCountOctets
15690
18118
2401240
Total8348

Frames Received by Opcode

OpcodeCount
13
Total3

Frames Transmitted by Opcode

OpcodeCount
04
12
81
Total7


Wire Log

000 TX OCTETS: 474554202f20485454502f312e310d0a557365722d4167656e743a204175746f6261686e5465737453756974652f302e382e
               302d302e31302e390d0a486f7374 ...
001 RX OCTETS: 485454502f312e312031303120576562536f636b65742050726f746f636f6c2048616e647368616b650d0a55706772616465
               3a20576562536f636b65740d0a43 ...
002 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=ba6140b5, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment1
003 TX OCTETS: 0089ba6140b5dc1321d2d7042ec18b
004 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=fe53413d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment2
005 TX OCTETS: 0189fe53413d9821205a93362f49cc
006 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=e1cce411, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment3
007 TX OCTETS: 8089e1cce41187be85768ca98a65d2
008 TX FRAME : OPCODE=0, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=84fa1b4d, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment1
009 TX OCTETS: 008984fa1b4de2887a2ae99f7539b5
010 TX FRAME : OPCODE=1, FIN=False, RSV=0, PAYLOAD-LEN=9, MASK=72dba592, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment2
011 TX OCTETS: 018972dba59214a9c4f51fbecbe640
012 TX FRAME : OPCODE=0, FIN=True, RSV=0, PAYLOAD-LEN=9, MASK=f463ccca, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               fragment3
013 TX OCTETS: 8089f463ccca9211adad9906a2bec7
014 FAIL CONNECTION AFTER 1.000000 sec
015 RX OCTETS: 811b667261676d656e7431667261676d656e7432667261676d656e7433
016 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=27, MASKED=False, MASK=None
               fragment1fragment2fragment3
017 RX OCTETS: 811b667261676d656e7431667261676d656e7432667261676d656e7433
018 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=27, MASKED=False, MASK=None
               fragment1fragment2fragment3
019 FAILING CONNECTION
020 TX FRAME : OPCODE=8, FIN=True, RSV=0, PAYLOAD-LEN=12, MASK=be93c007, PAYLOAD-REPEAT-LEN=None, CHOPSIZE=None, SYNC=False
               0x03e9476f696e672041776179
021 TX OCTETS: 888cbe93c007bd7a8768d7fda727ffe4a17e
022 RX OCTETS: 810e03efbfbd476f696e672041776179
023 RX FRAME : OPCODE=1, FIN=True, RSV=0, PAYLOAD-LEN=0, MASKED=False, MASK=None
024 TCP DROPPED BY ME