Closed MarlonWiss2212 closed 1 year ago
I just added autoreconnecting false so that i dont have constantly this error. Now just one time just as shown above
ok just found out that everything works when you use "subscriptions-transport-ws" in api and frontend but "graphql-ws" only with altair and postman. Really weird but it works
Hello, i want to access my GraphQL API with subscriptions. Queries and Mutations just work fine. But when i am trying to connect to my subscription it keeps connecting and disconnecting. My GraphQL server is build with nestjs and it has a console log when someone connects but it doesnt show anything in the logs. However when i do the same thing with Altair everything works just fine. This is my code
I have tried putting the toket in the headers but nothing changes. I have tried it now for 2 weeks and have tried many things but nothing works till now. Token and request is definitly fine. Thanks in advance