DEV Community

Discussion on: GraphQL subscriptions with Nest: how to publish across multiple running servers

Collapse
 
masterofdesaster3 profile image
MasterofDesaster3

Hello Georgii Rychko, I followed your tutorial to learn about graphql subscriptions and at the end i had the same code you have here without the part multiple ports. But Graphql allways throws an error when i want to subscribe on port 3000 (my app also runs on 30) with:
{
"error": {
"message": "Cannot read property 'headers' of undefined"
}
}
Do you have an idea why? Thank you. Great Tutorial!