WEBSOCKET CLIENT issue
Posted: Thu Oct 01, 2015 11:17 am
Dear guy's,
It's the thrid day that i try to use these library
https://github.com/morrissinger/ESP8266-Websocket
but i have trouble with it
I have some issue with the websocket client part. I try with the example and i have the following message on the serial port:
Connecting to NUMERICABLE-A8B3
.........
WiFi connected
IP address:
192.168.0.22
Connection failed.
ctx: cont
sp: 3ffea780 end: 3ffea960 offset: 01b0
stack>>>
3ffea930: 3ffe8f88 1600a8c0 00000000 00000000
3ffea940: 3fffdc20 00000000 3ffea984 40201863
3ffea950: 00000000 00000000 3ffe9940 40100db4
▒▒▒▒L▒<1▒▒▒
I modify the different information and try to connect to my own websocket server and i have the following message:
Connecting to NUMERICABLE-A8B3
...........
WiFi connected
IP address:
192.168.0.22
Connected
Client connected
Sending websocket upgrade headers
Analyzing response headers
Invalid ANALYSE REQUEST
Terminating socket
Handshake failed.
I also test my server with the websocket echo online client and it worked. But with your client it does not work It seems that the client nerver received data from the handshake.
Did somebody have a websocket client that worked?or canhelp me since i didnot see any trouble on the library?
My idea is to build several modulethat push captor information by websocket to the server.And server can also send information to these module.
Sorry for my poor english...
It's the thrid day that i try to use these library
https://github.com/morrissinger/ESP8266-Websocket
but i have trouble with it
I have some issue with the websocket client part. I try with the example and i have the following message on the serial port:
Connecting to NUMERICABLE-A8B3
.........
WiFi connected
IP address:
192.168.0.22
Connection failed.
ctx: cont
sp: 3ffea780 end: 3ffea960 offset: 01b0
stack>>>
3ffea930: 3ffe8f88 1600a8c0 00000000 00000000
3ffea940: 3fffdc20 00000000 3ffea984 40201863
3ffea950: 00000000 00000000 3ffe9940 40100db4
▒▒▒▒L▒<1▒▒▒
I modify the different information and try to connect to my own websocket server and i have the following message:
Connecting to NUMERICABLE-A8B3
...........
WiFi connected
IP address:
192.168.0.22
Connected
Client connected
Sending websocket upgrade headers
Analyzing response headers
Invalid ANALYSE REQUEST
Terminating socket
Handshake failed.
I also test my server with the websocket echo online client and it worked. But with your client it does not work It seems that the client nerver received data from the handshake.
Did somebody have a websocket client that worked?or canhelp me since i didnot see any trouble on the library?
My idea is to build several modulethat push captor information by websocket to the server.And server can also send information to these module.
Sorry for my poor english...