this issue may persist due to leftover cached routes or client code still referencing the socket API.
Here's what to check:
1. Make sure there's no socket-related code left in your `_app.js` or components.
2. Remove any rewrites in `next.config.js` for `/api/socket`.
3. Delete `.next`, `node_modules`, and `package-lock.json`, then run: