GeezerVison is showing github.com — Secure websockets on app engine (?) · Issue #265 · GoogleCloudPlatform/nodejs-docs-samples
Secure websockets on app engine (?) #265Labels 🚨This issue needs some love.triage meI really want to be triaged. DescriptionThe README for the appengine/websockets example says:
To use Secure WebSockets now, you can launch a VM on Google Compute Engine using a custom image where you have added SSL support for WebSockets.
It would be great if the README could elaborate on this, as most sites are served over HTTPS nowadays and thus also require the websockets connection to be secure. This is also my usecase!
In, fact any suggestion on how supporting SSL inside that docker image could be achieved, would be greatly appreciated! Reacted by WaldoJeffers, RuSsCiTy and Kseniia Activitychanged the title [-]Secure Websockets (?)[/-] [+]Secure websockets on app engine (?)[/+] on Nov 24, 2016jmdobry commented on Dec 6, 2016 petrnetusil commented on Mar 4, 2017 Bump. Same question here. Need secure websockets on App Engine for our node.js implementation. So far, this seems to be the last issue preventing us from moving our Production env. to App Engine. Any updates? Reacted by Kevin Wade, comet, Oren Zomer, Alex Wauters, Caio Vertematti, daniel jodeci, Kevin Jahns, Eric, navi, Grant Timmerman and 3 more elithrar commented on May 27, 2017 If/while this is being worked on, can some of the reasons for no WSS support on App Engine flexible be shared?
GCP's general approach to security has been great, and the advice to use a VM goes against why many use GAE to begin with (minimal ops!). jwickens commented on Jun 13, 2017 Same here, we opted out of using socket.io over the apparent widespread support for websockets so its a must. Unsecure apps even for development just seems unwise. danieljodeci commented on Jul 6, 2017 Same here, would appreciate an example on setting up secured websockets on a manage vm edmothershaw commented on Jul 10, 2017 Did anyone manage to solve this successfully? I have an implementation of a secure websocket server that appears to be running on Appengine but on connection to the websocket I receive the response
failed: Error in connection establishment: net::ERR_INSECURE_RESPONSE
Edit: On further investigation, the error arises from the use of self-signed certificates. art-grig commented on Jan 1, 2018 @edmothershaw, please can you tell how have you achieved it?
Does appengine flex support secure websockets now? Or is there some workaround? edmothershaw commented on Jan 4, 2018 art-grig commented on Jan 4, 2018 Thank you so much for response, yes it seems so and here is commit: 18210b3
So compute engine is the way I go. Ajaxy commented on Jan 30, 2018 @art-grig Is there any example or documentation on how to run WebSockets service with Node.js on Compute Engine? art-grig commented on Jan 30, 2018 Ajaxy commented on Jan 30, 2018 @art-grig Thanks for the link. Well, I’m not sure, “Compute Engine” doesn’t sound like a proper place for a tiny WS service. I’m just using ML Engine for serving AI service, so I thought would be convinient to store all parts on GCloud. Now I’m thinking about using Heroku for WS service. WaldoJeffers commented on Mar 27, 2018 Hello everyone, are there any updates on this? 😄 Grifting commented on Nov 24, 2023 So is it still not possible to have WebSockets in 2023 on any container service from google? Cloud Run, App Engine without using Long Polling or Socket.io steren commented on Nov 27, 2023 Grifting commented on Nov 27, 2023 Thank you very much, my mistake was I used WebSocket and not WebSocket Secure. The client refused to make a request. It works all fine now. Happy hacking.
MetadataMetadata🚨This issue needs some love.triage meI really want to be triaged. DevelopmentNo branches or pull requestsIssue actions
|