Skip to content

minimum reproduction for nestjs graphql-ws issue (Invalid payload length 126)

Notifications You must be signed in to change notification settings

omizha/nestjs-graphql-ws-issue

Repository files navigation

Minimum Reproduction For NestJS GraphQL Subscription (graphql-ws)

Current behavior

error

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.

Steps to reproduce

  1. Set redis (127.0.0.1:6379)
  2. npm install
  3. npm run start
  4. Try different things...

Expected behavior

I think, problem point is graphql-ws or nestjs8 (graphql) But in downgrade nestjs 7, It works fine.

In which operating systems have you tested?

  • Windows
  • Linux

About

minimum reproduction for nestjs graphql-ws issue (Invalid payload length 126)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published