[GH-ISSUE #571] Console suddenly broke: code 400, message Bad request syntax... #432

Open
opened 2026-02-27 16:39:16 +03:00 by kerem · 2 comments
Owner

Originally created by @darkpixel on GitHub (Jul 23, 2015).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/571

My VNC console suddenly broke after working perfectly for several days.

The supervisor log shows:

10.142.28.42 - - [23/Jul/2015 19:41:54] 10.142.28.42: Plain non-SSL (ws://) WebSocket connection
10.142.28.42 - - [23/Jul/2015 19:41:54] 10.142.28.42: Version hybi-13, base64: 'False'
10.142.28.42 - - [23/Jul/2015 19:41:54] connecting to: localhost:5900
10.142.28.42 - - [23/Jul/2015 19:41:54] Start proxying
10.142.28.42 - - [23/Jul/2015 19:41:56] code 400, message Bad HTTP/0.9 request type ('\x88\x8f\xf4')
10.142.28.42 - - [23/Jul/2015 19:41:59] 10.142.28.42: Plain non-SSL (ws://) WebSocket connection
10.142.28.42 - - [23/Jul/2015 19:41:59] 10.142.28.42: Version hybi-13, base64: 'False'
10.142.28.42 - - [23/Jul/2015 19:41:59] connecting to: localhost:5900
10.142.28.42 - - [23/Jul/2015 19:41:59] Start proxying
10.142.28.42 - - [23/Jul/2015 19:42:01] code 400, message Bad request syntax ('\x88\x8f\x8dq\x1e\x8d\x8e\x99J\xec\xff\x16{\xf9\xad\x12r\xe2\xfe\x14z')

The browser window says Server disconnected (code: 1006)

Originally created by @darkpixel on GitHub (Jul 23, 2015). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/571 My VNC console suddenly broke after working perfectly for several days. The supervisor log shows: ``` 10.142.28.42 - - [23/Jul/2015 19:41:54] 10.142.28.42: Plain non-SSL (ws://) WebSocket connection 10.142.28.42 - - [23/Jul/2015 19:41:54] 10.142.28.42: Version hybi-13, base64: 'False' 10.142.28.42 - - [23/Jul/2015 19:41:54] connecting to: localhost:5900 10.142.28.42 - - [23/Jul/2015 19:41:54] Start proxying 10.142.28.42 - - [23/Jul/2015 19:41:56] code 400, message Bad HTTP/0.9 request type ('\x88\x8f\xf4') 10.142.28.42 - - [23/Jul/2015 19:41:59] 10.142.28.42: Plain non-SSL (ws://) WebSocket connection 10.142.28.42 - - [23/Jul/2015 19:41:59] 10.142.28.42: Version hybi-13, base64: 'False' 10.142.28.42 - - [23/Jul/2015 19:41:59] connecting to: localhost:5900 10.142.28.42 - - [23/Jul/2015 19:41:59] Start proxying 10.142.28.42 - - [23/Jul/2015 19:42:01] code 400, message Bad request syntax ('\x88\x8f\x8dq\x1e\x8d\x8e\x99J\xec\xff\x16{\xf9\xad\x12r\xe2\xfe\x14z') ``` The browser window says `Server disconnected (code: 1006)`
Author
Owner

@darkpixel commented on GitHub (Jul 23, 2015):

It appears to have been a permissions issue, but I have no idea how or why. ;)

Re-running chown -R www-data: /path/to/webvirt fixed the issue.

<!-- gh-comment-id:124213660 --> @darkpixel commented on GitHub (Jul 23, 2015): It appears to have been a permissions issue, but I have no idea how or why. ;) Re-running `chown -R www-data: /path/to/webvirt` fixed the issue.
Author
Owner

@darkpixel commented on GitHub (Aug 25, 2015):

Hmm...not a permissions issue. I set up a second machine identically (using puppet) and I am getting the same message. Changing permissions and restarting the service had no effect.

<!-- gh-comment-id:134612636 --> @darkpixel commented on GitHub (Aug 25, 2015): Hmm...not a permissions issue. I set up a second machine identically (using puppet) and I am getting the same message. Changing permissions and restarting the service had no effect.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#432
No description provided.