DEV Community

YossefMohamed
YossefMohamed

Posted on

GraphQL Nextjs Help

Hey,
I have a problem here. I have searched alot to find the solution for this issue but didnt found any helpful solution for my problem
let's get straight into the point

I have a nextJs app that's connected to the graphql api ,when I connect the Nextjs with the websockets link it generate an error :(

here's the client code
Image description

and here's the error

Image description

here's the subscription query

Image description

I tried a lot and I have built this app in ReactJs and I it's worked perfectly I guess the problem in the SSR

thanks in advance

Top comments (0)