I have written a websocket code on Nodemcu 1.0 /0.9 veraion using aurdino ide and made an app ( websocket client )which connects to the websocket server on the nodemcu .It used to work, but now I am experiencing some problem.
Logs : Connection opened to ws://192.168.4.1
ECHO: successful connection
and then it auto disconnects after less than a sec
Error : saying this Close : CONNECTION_LOST, websocket connection lost
then the same thing repeats when I try to connect again
can u suggest me what the issue behind this even i tried on serial monitor / htm;l webpage same issue i am facing please suggest me how to debug this issue ??
whats wrong why its showing connection lost after a sec only when connected to client . Below u can see the attachment of code this code i flashed on Nodemcu esp8266 12-E dev board and facing this issue .
I hope u got my point . If any query ask me but try to give me suggestion how to resolve it ??
As per I know issue in code only but I am not able to debug suggest me Please !!!!!!!!!!!!!!
I have written a websocket code on Nodemcu 1.0 /0.9 veraion using aurdino ide and made an app ( websocket client )which connects to the websocket server on the nodemcu .It used to work, but now I am experiencing some problem. Logs : Connection opened to ws://192.168.4.1 ECHO: successful connection and then it auto disconnects after less than a sec Error : saying this Close : CONNECTION_LOST, websocket connection lost then the same thing repeats when I try to connect again
can u suggest me what the issue behind this even i tried on serial monitor / htm;l webpage same issue i am facing please suggest me how to debug this issue ?? whats wrong why its showing connection lost after a sec only when connected to client . Below u can see the attachment of code this code i flashed on Nodemcu esp8266 12-E dev board and facing this issue . I hope u got my point . If any query ask me but try to give me suggestion how to resolve it ?? As per I know issue in code only but I am not able to debug suggest me Please !!!!!!!!!!!!!!
Esp8266websocket.txt