Dear All,
Sorry to bother you with such simple thing, but I am not able to make the wss to work (using Grizzly 2.2.1).
I'm using the Grizzly very simple way. Creating the server, having servlets and web socket applications too. Work fine.
"WebSocketAddOn wsa = new WebSocketAddOn();
server.getListener("grizzly").registerAddOn( wsa );"
If i'm enable ssl
server.getListener("grizzly").setSecure(true);
server.getListener("grizzly").setSSLEngineConfig( new SSLEngineConfigurator(sslContextConfig, false, NEED_CLIENT_AUTHENTICATE, false) );
the servlets are working on https fine from my Java clients, so SSL is working basically, but "wss://" is not.
Of course the client opening ws:// is not working anymore, but even if I set the URL to use wss://, cannot connect. What should I do on client or maybe on server-side to make it work?
I haven't found any sample code to use wss:// on client side with org.glassfish.grizzly.websockets.WebSocketClient
Any help would be appreciated!
Best regards,
Imre