Use SSL error?
tlkiong opened this issue · 2 comments
tlkiong commented
This is a weird issue which I am not able to pinpoint yet.
It goes like this:
- On first try to initwebsocket with useSSL = true
- Can connect and all is fine
- close websocket
- 2nd time initwebsocket with useSSL = true
- Receive error:
(a) draft org.java_websocket.drafts.Draft_10@7847e63f refuses handshake
Do you have any idea why or what happened?
tlkiong commented
I have found the issue.
On the DDPClient.connect(..), if the conection is closed, it will just
createWsClient(mMeteorServerAddress);
And this is without the
.setWebSocketFactory() to it
kenyee commented
1.0.0.2 will have a fix for this. Thanks for finding it.