Custom server with websockets
Unanswered
Bighead carp posted this in #help-forum
Bighead carpOP
Hey there, does anyone have a working example of using next.js with a custom server and websokcets? Very basic one here but the websocket server just closes after the first message: https://github.com/juliusmarminge/next14-wss
Tråd
Hey there, does anyone have a working
Tråd
Hey there, does anyone have a working
6 Replies
Bighead carpOP
Demo:
Bighead carpOP
Got it working for dev by using a custom port not to conflict with the HMR server
prod still doesn't work
connection closes immediately
Shy Albatross
@Bighead carp related? https://github.com/vercel/next.js/issues/57967