WS works but Not WSS Websockets

September 23, 2016 1.5k views
Apache Ubuntu

On my https server ws works but not wss. What can I do to make wss work?
http://prntscr.com/cl95ul
My default.conf
Websocket Error:VM3141:35 WebSocket connection to 'wss://budokai-online.com/arena' failed: Error during WebSocket handshake: Invalid status line

1 Answer

Just to add Apache2 error log.
[Thu Sep 22 20:17:26.558619 2016] [proxy:error] [pid 25462:tid 140656588322560] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
[Thu Sep 22 20:17:26.558833 2016] [proxy_http:error] [pid 25462:tid 140656588322560] [client 66.249.73.172:55189] AH01114: HTTP: failed to make connection to backend: localhost
[Thu Sep 22 20:22:36.120684 2016] [proxy:error] [pid 25461:tid 140656621893376] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
[Thu Sep 22 20:22:36.120804 2016] [proxy_http:error] [pid 25461:tid 140656621893376] [client 66.249.73.159:33912] AH01114: HTTP: failed to make connection to backend: localhost
[Thu Sep 22 20:27:39.511427 2016] [proxy:error] [pid 25462:tid 140656596715264] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
[Thu Sep 22 20:27:39.511511 2016] [proxy_http:error] [pid 25462:tid 140656596715264] [client 66.249.73.159:33440] AH01114: HTTP: failed to make connection to backend: localhost
[Thu Sep 22 20:30:54.899342 2016] [proxy:error] [pid 25462:tid 140656605107968] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:8080 (localhost) failed
[Thu Sep 22 20:30:54.899451 2016] [proxy_http:error] [pid 25462:tid 140656605107968] [client 50.143.93.2:63939] AH01114: HTTP: failed to make connection to backend: localhost, referer: https://www.$
[Thu Sep 22 20:53:47.363592 2016] [mpm_event:notice] [pid 25458:tid 140656752215936] AH00491: caught SIGTERM, shutting down
[Thu Sep 22 20:53:48.458968 2016] [ssl:warn] [pid 25724:tid 139671946172288] AH01909: budokai-online.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Sep 22 20:53:48.460344 2016] [ssl:warn] [pid 25724:tid 139671946172288] AH01916: Init: (budokai-online.com:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Thu Sep 22 20:53:48.477860 2016] [ssl:warn] [pid 25725:tid 139671946172288] AH01909: budokai-online.com:443:0 server certificate does NOT include an ID which matches the server name
[Thu Sep 22 20:53:48.479756 2016] [ssl:warn] [pid 25725:tid 139671946172288] AH01916: Init: (budokai-online.com:443) You configured HTTP(80) on the standard HTTPS(443) port!
[Thu Sep 22 20:53:48.481669 2016] [mpm_event:notice] [pid 25725:tid 139671946172288] AH00489: Apache/2.4.23 (Ubuntu) OpenSSL/1.0.2h configured -- resuming normal operations
[Thu Sep 22 20:53:48.481718 2016] [core:notice] [pid 25725:tid 139671946172288] AH00094: Command line: '/usr/sbin/apache2'

Have another answer? Share your knowledge.