We are experiencing problems configuring Apache to understand what to do with wss URLs. We installed the NodeJS addon and that added a ProxyPass in our httpd to redirect the websocket URL to the proper URL with port. That works well, so no problems there. The configuration can be seen here:
<Proxy balancer://root> BalancerMember https://domain.com:3001 </Proxy> ProxyPass / balancer://root/
When we launch our websocket application and connect to it we get the following error:
Firefox can’t establish a connection to the server at wss://domain.com/socket.io/?EIO=3&transport=websocket&sid=uI31Apg6KLepQqGuAAAA.
The polling transport option is working, however as the error stated above the websocket transport is not working. This must be because Apache has no clue what to do with the wss:// URL. We must add some sort of redirection to make that work. Is there anyone who know how to do it? I have found several hits on Google but they are either outdated or not working with our configuration.
We did include the Apache add-on ‘mod_proxy_wstunnel’, as we feel we need it to make it work?
Thanks in advance!