Apache - websocket handshake error, unexpected response code: 502

I have the following Apache setup but its error with the following error:

WebSocket connection to 'wss: //mydoain.com/socket.io/1/websocket/zpxKUhj9zN3MsTdXIkrL' failed: error during WebSocket handshake: unexpected response code: 502

#Server version: Apache/2.2.15 (Unix)
#Server built:   Jul 23 2014 14:17:29

NameVirtualHost *:443
<VirtualHost *:443>
  Header set Access-Control-Allow-Origin: "https://from.mydomain.com"
  SSLEngine on
  SSLProxyEngine On
  ProxyPreserveHost On

  SSLProtocol all -SSLv2
  SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
  SSLCertificateFile /etc/key.crt
  SSLCertificateKeyFile /etc/key.key
  SSLCertificateChainFile /etc/key.ca

  ServerName to.mydomain.com
  ServerAlias to.mydomain.com
  ProxyPass / http://localhost:8888/
  ProxyPassReverse / http://localhost:8888/
  #ProxyPassReverseCookiePath /MYSITE/ /
        CacheDisable *
</VirtualHost>

      

NOTE. The server http://localhost:8888

is a websocket based signaling server.

+3
node.js apache .htaccess cross-domain


source to share


No one has answered this question yet

Check out similar questions:

312
XAMPP, Apache - Error: Apache exits unexpectedly
6
Websocket - WebSocket handshake error: Unexpected response code: 404
2
Apache Kerberos token error
1
Apache mod_proxy port forwarding for game server?
1
When the default virtual host is not available, virtual hosts are not available
0
Why is my websocket endpoint working for Android but not working for iOS? Sec-WebSocket-Accept
0
OpenSSL Padding Oracle Centos Vulnerability 6.8
0
How do I set up a Docker V2 registry with Apache and a CA certificate?
0
error while installing ssh on beanstalk 64bit ubuntu 2014.03 v1.0.2 PHP 5.5
-1
Apache Hybrid Server Configuration for HTTP and HTTP (S) Proxy yacceleratorstorefront (e-store) Hybris Server URL



All Articles
Loading...
X
Show
Funny
Dev
Pics