Unable to connect to websocket server on wearable emulator
Unable to connect to websocket server on wearable emulator
BY 27 Oct 2015Web Application Development
Hello!
I’m new to Tizen and want to develop an app for Samsung Gear S which makes use of websockets. I have created a WebSocket server via NodeJS and run it on my machine. I can connect to this server using various tools, but not on emulator.
To connect to my server I used code from here: http://download.tizen.org/misc/examples/w3c_html5/communication/the_websocket_api/web_socket.htm
All I see in logs is: index.html (40) :current readyState : 3
As I understand, emulator is unable to connect to my server. Any hints on how I can achieve that? Source lines I use to connect:
Unable to connect to websocket server on wearable emulator
Hello!
I’m new to Tizen and want to develop an app for Samsung Gear S which makes use of websockets. I have created a WebSocket server via NodeJS and run it on my machine. I can connect to this server using various tools, but not on emulator.
To connect to my server I used code from here: http://download.tizen.org/misc/examples/w3c_html5/communication/the_websocket_api/web_socket.htm
All I see in logs is: index.html (40) :current readyState : 3
As I understand, emulator is unable to connect to my server. Any hints on how I can achieve that? Source lines I use to connect:
var webSocketURL = “wss://localhost:5000”;
var webSocket = new WebSocket(webSocketURL);
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio