qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1816819] [NEW] Chardev websocket stops listening after


From: Anisse Astier
Subject: [Qemu-devel] [Bug 1816819] [NEW] Chardev websocket stops listening after first connection disconnects
Date: Wed, 20 Feb 2019 17:04:48 -0000

Public bug reported:

Using qemu option:
 -chardev socket,id=websock0,websocket,port=13042,host=127.0.0.1,server,nowait 
-serial chardev:websock0

To have a websocket listening chardev. After the first connection
disconnects (that does a full websocket handshake), subsequent
connections aren't accepted. See below for a reproducing session kindly
provided by Daniel:

$ telnet localhost 13042
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.1
Upgrade: websocket
Connection: Upgrade
Host: localhost:%s
Origin: http://localhost
Sec-WebSocket-Key: o9JHNiS3/0/0zYE1wa3yIw==
Sec-WebSocket-Version: 13
Sec-WebSocket-Protocol: binary

HTTP/1.1 101 Switching Protocols
Server: QEMU VNC
Date: Wed, 20 Feb 2019 16:52:04 GMT
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: b3DnPh7O8hyYE5sIjQxl/c1J+S8=
Sec-WebSocket-Protocol: binary

sfsd
�&�only binary frames may be fragmentedConnection closed by foreign host.

$ telnet localhost 13042
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
GET / HTTP/1.1
Upgrade: websocket
Connection: Upgrade
Host: localhost:%s
Origin: http://localhost
Sec-WebSocket-Key: o9JHNiS3/0/0zYE1wa3yIw==
Sec-WebSocket-Version: 13
Sec-WebSocket-Protocol: binary


...no response.....

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1816819

Title:
  Chardev websocket stops listening after first connection disconnects

Status in QEMU:
  New

Bug description:
  Using qemu option:
   -chardev 
socket,id=websock0,websocket,port=13042,host=127.0.0.1,server,nowait -serial 
chardev:websock0

  To have a websocket listening chardev. After the first connection
  disconnects (that does a full websocket handshake), subsequent
  connections aren't accepted. See below for a reproducing session
  kindly provided by Daniel:

  $ telnet localhost 13042
  Trying ::1...
  telnet: connect to address ::1: Connection refused
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  GET / HTTP/1.1
  Upgrade: websocket
  Connection: Upgrade
  Host: localhost:%s
  Origin: http://localhost
  Sec-WebSocket-Key: o9JHNiS3/0/0zYE1wa3yIw==
  Sec-WebSocket-Version: 13
  Sec-WebSocket-Protocol: binary

  HTTP/1.1 101 Switching Protocols
  Server: QEMU VNC
  Date: Wed, 20 Feb 2019 16:52:04 GMT
  Upgrade: websocket
  Connection: Upgrade
  Sec-WebSocket-Accept: b3DnPh7O8hyYE5sIjQxl/c1J+S8=
  Sec-WebSocket-Protocol: binary

  sfsd
  �&�only binary frames may be fragmentedConnection closed by foreign host.

  $ telnet localhost 13042
  Trying ::1...
  telnet: connect to address ::1: Connection refused
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  GET / HTTP/1.1
  Upgrade: websocket
  Connection: Upgrade
  Host: localhost:%s
  Origin: http://localhost
  Sec-WebSocket-Key: o9JHNiS3/0/0zYE1wa3yIw==
  Sec-WebSocket-Version: 13
  Sec-WebSocket-Protocol: binary


  ...no response.....

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1816819/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]