"Websocket connection failed" when proxying requests to Next.js app via Apache server
Since upgrading to Next.js 12 I'm getting the following error in the console when I run my Next.js app: WebSocket connection to 'wss://mysite.local/_next/webpack-hmr' failed I've discovered that this is related with Next.js 12 using web sockets for HMR connection (unlike…