GAE node.js and websockets

53 views
Skip to first unread message

Jukka Hautakorpi

unread,
Nov 26, 2017, 4:25:56 PM11/26/17
to Google App Engine
I would like to make a websocket (server) app that my iot-device will connect

I saw that there was an example of this in the url https://medium.com/google-cloud/a-node-js-websocket-server-on-google-app-engine-c6c32a486e9a

but the google's github repo of these files has been deleted. (https://github.com/GoogleCloudPlatform/nodejs-docs-samples/tree/master/appengine/websockets )

I tried simple websockets chat application and it works on localhost but not when deployed to the gae. Even if i opened the firewall rule as in the instructions.

Is this kind of scenario supported with gae ? why it was removed from the repo?

Kamran (Google Cloud Support)

unread,
Nov 26, 2017, 5:15:01 PM11/26/17
to Google App Engine

Hello Jukka,

An answer to a similar question has been posted on this stackoverflow thread. The github link was removed because it was not production ready.

Sincerely,

Jukka Hautakorpi

unread,
Nov 28, 2017, 4:25:24 AM11/28/17
to Google App Engine
Thank you for clarification. That's a shame. Hope it will come later!

-Jukka
Reply all
Reply to author
Forward
0 new messages