I just update my sever to version 2.9.0 and have a problem with wss. I run test locally with this config :
Code: Select all
<webSocket>
<isActive>true</isActive>
<bindAddress>192.168.1.253</bindAddress>
<tcpPort>8887</tcpPort>
<sslPort>8843</sslPort>
<isSSL>false</isSSL>
<keyStoreFile>config/keystore.jks</keyStoreFile>
<keyStorePassword>password</keyStorePassword>
</webSocket>
if the setting isSSL =false and client connect to sever. It runs normally and does not have any problem
if the setting isSSL =true and client connect via link https://192.168.1.253:8843/ella/ (ella is my client folder in root)
The browser show a warning page as the doc describes. But it cannot connect and server show error
Code: Select all
19 Jul 2014 | 09:55:34,688 | WARN | New I/O worker #5 | websocket.netty.WebSocketServerHandler | | org.jboss.netty.handler.codec.http.websocketx.WebSocketHandshakeException: not a WebSocket handshake request: missing upgrade
19 Jul 2014 | 09:55:34,733 | INFO | New I/O worker #5 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 53, Type: WEBSOCKET, Logged: No, IP: 192.168.1.253:56190
client API : SFS2X_API_JavaScript_v1.2.0
client browser : Chrome Version 36.0.1985.125 m
How do I fix this ?
Thanks !