Gottox / socket.io-java-client

Socket.IO Client Implementation in Java
MIT License
950 stars 387 forks source link

SSL Connection in websocket mode does not work. #50

Open sooraj-e opened 11 years ago

sooraj-e commented 11 years ago

I could connect to both web-socket and Xhr transport in HTTP mode. But when i switch to HTTPS only Xhr mode is working. i used the default SSL Context as below

SocketIO.setDefaultSSLSocketFactory(SSLContext.getInstance("Default")); This works fine in Xhr mode. But in websocket transport there are no responses or errors.

z4ce commented 11 years ago

Did you find any solution to this? I'm guessing its something to do with the underlying Java WebSockets.