| Summary: | Apache module proxy_wstunnel_module does not work | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Miroslav Lachman <000.fbsd> |
| Component: | Individual Port(s) | Assignee: | freebsd-apache (Nobody) <apache> |
| Status: | Closed Not A Bug | ||
| Severity: | Affects Only Me | CC: | joneum |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Sorry for the noise. THe module is working, but the logged message is misleading. This error is printed in case the proxy_wstunnel received non-websocket request. For example plain HTTP request is redirected by ProxyPass to ws://, then you will get this error message. Very strange behaviour. |
I tired to setup Apache wit ProxyPass to websockets but even if all required modules are loaded it does not work and I see this in log: AH01144: No protocol handler was valid for the URL /socket.io/ (scheme 'ws'). If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule. # httpd -M | grep proxy proxy_module (shared) proxy_http_module (shared) proxy_fcgi_module (shared) proxy_wstunnel_module (shared) The line in VirtualHost config is following: ProxyPass / ws://localhost:10001/ I found a similar problem report for Debian. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880195 Is there a way to fix it for FreeBSD?