-->
Page 1 of 1

can't connect to wss:// protocol

PostPosted: Fri Jan 15, 2016 8:37 pm
by strike
Hello,
at first i would like to say, im just started with ESP8266. I tried simple program from github:
https://github.com/morrissinger/ESP8266 ... t_Demo.ino

When i am connecting with echo.websocket.org its working fine, i can send and read data from the server. But i can't connect with server whose adress is: wss://example/device. Does anyone know the solution of this problem?

Thanks for help
Sorry for my english

Re: can't connect to wss:// protocol

PostPosted: Sun Jan 17, 2016 12:55 am
by Mmiscool
Is the problem the resolution of the DNS . maybe try using the ip address of the target device?

Re: can't connect to wss:// protocol

PostPosted: Sun Jan 17, 2016 3:03 am
by bjpirt
wss stands for WebSocket Secure which is a normal WebSocket served through an SSL layer. The library you're trying to use doesn't support that I'm afraid (I don;t know of any that do at this time)
Cheers,
Ben