0
votes

I'm running a GraphQL Server (based on graphql-yoga, Node, Express) on Google AppEngine with the standard environment.

It uses a websocket endpoint to provide real-time subscriptions to database changes, which works perfectly on my local machine, but is not responding at all when deployed on the GAE instance.

Could it be because of another limitation of GAE standard?

1
Donno about NodeJS, but for python the standard environment doesn't allow listening sockets, see Limitations and restrictions - Dan Cornilescu

1 Answers

1
votes

As mentioned by @Dan Cornilescu, WebSockets are not (yet) supported in the App Engine Standard environment.

There is open a feature request for this to be supported and I suggest you to follow on the updates there.

Please take a look at Stack Overflow thread: How can I run a WebSocket server on top of GAE? as well.