Bug #4511
closed
Error during WebSocket handshake
Added by saen acro over 7 years ago.
Updated over 7 years ago.
Description
Vivaldi Browser
tvh.js.gz:511 WebSocket connection to 'ws://192.168.1.222:9981/comet/ws' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in request: tvheadend-comet
Edge Browser
SCRIPT12152: WebSocket Error: Network Error 12152
IE 11 same situation
Only EPG page show and after few seconds page reload
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|740d9bcbf07e6fab3479040fd4e80273de321a3a.
I am using reverse proxy with apache and tvheadend; in this situation the problem still exists.
But accessing from the local-area-network without proxy, everything is fine.
Do I have to change my config somehow to ensure tvheadend is accessible through the reverse proxy?
You should configure websockets proxy, too.
i'm on v4.3-333-g08c4069
WebSocket connection to 'ws://192.168.0.254:9981/comet/ws' failed: Connection closed before receiving a handshake response
using chromium 60.0.3112.101 64 bits
using any other browser (ff, ie, chrome) also fails
(/) Firefox latest 32/64bit no problem
(/) Opera latest no problem
(/) Vivaldi latest no problem
(/) EDGE and IE 11 no problem
saen acro wrote:
(/) Firefox latest 32/64bit no problem
(/) Opera latest no problem
(/) Vivaldi latest no problem
(/) EDGE and IE 11 no problem
(/) Chromium 60.0.3112.78 (Developer Build) Built on Ubuntu , running on Ubuntu 16.04 (64-bit) - No problem here..
Request URL:ws://192.168.1.3:9981/comet/ws
Request Method:GET
Status Code:101 Switching Protocols
Response Headers
view source
Connection:Upgrade
Sec-WebSocket-Accept:<redacted>
Sec-WebSocket-Protocol:tvheadend-comet
Upgrade:websocket
Also available in: Atom
PDF