In NestJS GraphQL Subscription (graphql-ws), The error is occurring for an unknown reason.
"RangeError: Invalid Websocket frame: invalid payload length 126" We also do not know the conditions under which the error occurred.
When this error appears, it shuts down the server, which is very fatal.
- Set redis (127.0.0.1:6379)
- npm install
- npm run start
- Try different things...
I think, problem point is graphql-ws or nestjs8 (graphql) But in downgrade nestjs 7, It works fine.
- Windows
- Linux