Attached EteSync `websocket_endpoint` is never called on Debian 13 apache2 while using `collectionManager.itemManager.subscribeChanges`. If I don't use intermediary apache2 configuration:
``` <Location "/"> ProxyPass http://localhost:8000/ ProxyPreserveHost On </Location> ```
then I don't face this issue. What is the right apache2 configuration?
Aug 16, 3:13pm
The issue you're describing suggests that the WebSocket connection is not being properly proxied through Apache2 to your EteSync server running on localhost:8000. WebSocket connections require specific Apache2 modules and configurations to work correctly, as they are not handled like regular HTTP requests.
Root Cause
Apache2 does not natively support WebSocket proxying. You need to:
Enable the required Apache2 modules (proxy, proxy_http, and proxy_wstunnel).
Configure Apache2 to upgrade HTTP connections to WebSocket connections.
Solution: Correct Apache2 Configuration
1. Enable Required Modules
Run the following commands to enable the necessary modules: