You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Achex web-socket is an amazing and free service that can be used in so many projects.
However, I have a problem:
When I connect my esp8266 to the secured server (webSocket.beginSSL("ws.achex.ca", 443,"/")) I experience random and usual disconnections from the server.
I can amend the situation by reducing the reconnect interval (webSocket.setReconnectInterval(500)), but the disconnections still exist.
The secured achex web-socket server is pretty stable when I connect to it by the terminal on my computer but the webSocket.beginSSL("ws.achex.ca", 443,"/") on esp8266 is not!
The text was updated successfully, but these errors were encountered:
Hay hamid.. web socket implementation using esp8266 or any apps kita harus selalu menjaga koneksi agar selalu terjalin antara server dan client. Karena didalam web socket jika dalam kondisi idle koneksi akan terputus dengan sendirinya.
Issue ini memang berada pada web socket itu sendiri. Untuk mengatasi issue ini ada beberapa cara yang dapat dilakukan, salah satunya adalah membuat metode ping pong yaitu jika client ataupun server tidak dalam kondisi bertukar data maka timer akan berjalan dan akan mengirimkan ping!! Dimana disisi lain dibuatkan handler jika menerima message ping!! Maka send pong!!
The Achex web-socket is an amazing and free service that can be used in so many projects.
However, I have a problem:
When I connect my esp8266 to the secured server (webSocket.beginSSL("ws.achex.ca", 443,"/")) I experience random and usual disconnections from the server.
I can amend the situation by reducing the reconnect interval (webSocket.setReconnectInterval(500)), but the disconnections still exist.
The secured achex web-socket server is pretty stable when I connect to it by the terminal on my computer but the webSocket.beginSSL("ws.achex.ca", 443,"/") on esp8266 is not!
The text was updated successfully, but these errors were encountered: