Unlock seamless workflows and faster delivery with our latest releases - Join the deep dive

NextJS13 WebSocket Error and Quick Fix

2 replies
Last updated: Feb 22, 2023
I've been using NextJS13 for some time and this websocket error only just started to show up. All info I've found online says to modify NGINX config but I'm not even sure I'm using NGINX. Anyone found a quick fix for this?
Feb 22, 2023, 10:37 PM
Presumably you’re persisting your console logs, and you’ve stopped your dev server which will output these logs as NextJS uses websockets to detect hot reloads.
Feb 22, 2023, 10:43 PM
restarted node (which I did before) solved it this time..no more errors 🤔
Feb 22, 2023, 10:54 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?