Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Esp8266 Connection opened to ws://192.168.4.1 & CONNECTION_LOST, websocket connection lost #24

Open
ayushimundra30 opened this issue Feb 21, 2017 · 2 comments

Comments

@ayushimundra30
Copy link

ayushimundra30 commented Feb 21, 2017

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

@UnPocoCocoLoco
Copy link

I have exactly the same problem...

@ayushimundra30
Copy link
Author

u are tyrying to connect it to android app or some else ?? How to debug or resolve this suggest some solution

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants