robotconscience / ofxLibwebsockets

[Deprecated] openFrameworks wrapper of libwebsockets for WebSocket client and server functionality
Other
171 stars 68 forks source link

SSL connection Issue #110

Open fred-dev opened 4 years ago

fred-dev commented 4 years ago

I have been testing a few different websocket servers and some functionality with this addon. I can connect to external servers as long as they don't use SSL. For example connecting with a client like so: client.connect("wss://echo.websocket.org", true); results in: [1585755136:2758] ERR: server's cert didn't look good, X509_V_ERR = 20: error:00000014:lib(0):func(0):SSL lib

I am actually trying to connect to connect with Websocket.IN, I am not sure if the errors are related. Websocket.IN have a test server - here If I try enter the test server (I think these get regenerated so the demo API key may be expired) but calling:

client.connect("wss://connect.websocket.in/v3/1?apiKey=oCdCMcMPQpbvNjUIzqtvF1d2X2okWpDQj4AwARJuAgtjhzKxVEjQU6IdCjwm", true);

I just get client connection failed