Intermitent 404 and 403 on proxied site while enabling Websocket

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

 



Hi team,

We are using httpd 2.4.4. This server has proxy reverse configured to more than 70 sites. While we enable a new proxy to a websocket site, other sites where running fine start getting intermittent erros 403 and 404. Imediatley, if we remove the new site and reload configuration, everything start working normally aging. The proxied websocket site always run fine.

We've tried different RewriteRule without any positive effect.

Do you have any advise? Any known issue regarding multiple virtual hosts and websockets?

Thanks,

Davi

-------------------- Configuration of proxied websocket site --------------------

<virtualHost *:443>
ServerAdmin server@xxxxxxxxxx
ServerName myapp.domain.com
ServerAlias myapp.domain2.com
ErrorLog /var/log/error.log
CustomLog /var/log/access.log

<IfModule mod_ssl.c>
SSLEngine on
                SSLCertificateFile certs/cert.crt
                SSLCertificateKeyFile certs/key.key
                SSLCertificateChainFile certs/ca.crt
</IfModule>

 RewriteEngine On
 RewriteCond %{HTTP:Upgrade} websocket [NC]
 RewriteRule /(.*) ws://127.0.0.1:3000/$1 [P,L]
 RewriteRule /(.*) http://127.0.0.1:3000/$1 [P,L]

 ProxyPass / http://127.0.0.1:3000/  retry=1
 ProxyPassReverse / http://172.0.0.1:3000/
 ProxyRequests off

</Virtualhost>


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux