I’m currently running the latest version of Cpanel and receiving the following when connecting to a websocket with socket.io to a NodeJS server.
This appears in /usr/local/apache/logs/error_log
H01144: No protocol handler was valid for the URL /example.com/ (scheme 'wss'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule
This is indicating mod_proxy_wstunnel is not working correctly.
We have setup the proxy and proxyPass directives as well to ensure this is working:
#Proxy Stuff
RewriteEngine On
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /example.com/ wss://test.websitehere.com:3000/example.com/
ProxyPassReverse /example.com/ wss://test.websitehere.com:3000/example.com/
ProxyPass "/" "http://test.websitehere.com:3000/"
ProxyPassReverse "/" "http://test.websitehere.com:3000/"
It really feels like something is going on here with mod_proxy_wstunnel. If i’m corerct WHM/Cpanel uses easyapache to enable mod_proxy_wstunnel and that is on by default. Also it seems we cannot unload this module without it removing the MPM apache module as well.
Anyone have any ideas what is going on here?
This appears in /usr/local/apache/logs/error_log
H01144: No protocol handler was valid for the URL /example.com/ (scheme 'wss'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule
This is indicating mod_proxy_wstunnel is not working correctly.
We have setup the proxy and proxyPass directives as well to ensure this is working:
#Proxy Stuff
RewriteEngine On
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
ProxyPass /example.com/ wss://test.websitehere.com:3000/example.com/
ProxyPassReverse /example.com/ wss://test.websitehere.com:3000/example.com/
ProxyPass "/" "http://test.websitehere.com:3000/"
ProxyPassReverse "/" "http://test.websitehere.com:3000/"
It really feels like something is going on here with mod_proxy_wstunnel. If i’m corerct WHM/Cpanel uses easyapache to enable mod_proxy_wstunnel and that is on by default. Also it seems we cannot unload this module without it removing the MPM apache module as well.
Anyone have any ideas what is going on here?
Last edited by a moderator: