Using Websockets I am trying to communicate with a created webserver , simply send it a message. Yet I notice the "open" event works only sometimes in my use cases