If you're using Socket.IO (common in NestJS), make sure you chose the "Socket.IO" option and not the basic "WebSocket" request. That was my issue.