plane
plane copied to clipboard
[bug]: Websocket connection to the proxy server failed while set up with docker compose file
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
There is a 404 error while requesting to the /_next/webpack-hmr endpoint with a WebSocket connection. But it perfectly works while requesting an HTTP connection.
Steps to reproduce
Following with the Local setup steps, the error occurred.
Browser
Google Chrome
Version
Local
Possible Solution
Since the proxy server is running with Nginx, it is recommended to add the relevant proxy header to use Web Socket. The relevant documentation is shared below.
Reference: Nginx WebSocket Proxying documentation