WSS with Draft10 Support

Vibul Imtarnasan vibuli at gmail.com
Mon Oct 31 04:53:01 EDT 2011


Hi,

No problems.  Please outline:

1. What you are trying to do?

If you are running the server sample in
org.jboss.netty.example.http.websocketx.server.WebSocketServer, you should
be able to point your browser to http://localhost:8080.

2. What errors are you getting?  Can you post a bit more code so we can get
some context.


Regards
Vibul

On 31 October 2011 18:35, Tamirk <tamirklein at hotmail.com> wrote:

> Hi Vibul,
>
> Yes I'm using this example and it's working great!!!
>
> // Handshake
> WebSocketServerHandshakerFactory wsFactory = new
> WebSocketServerHandshakerFactory(
> this.getWebSocketLocation(req), null, false);
> this.handshaker = wsFactory.newHandshaker(ctx, req);
> if (this.handshaker == null) {
> wsFactory.sendUnsupportedWebSocketVersionResponse(ctx);
> } else {
> this.handshaker.executeOpeningHandshake(ctx, req);
> }
> return;
>
>
> My problem is when I try to connect to wss://localhost:8080/websocket I
> failed to get a connection.
>
> I tried several approaches but nothing is working out of the box :(
>
> Can you direct me how to resolve this.
>
> Cheers,
>
> Tamir
>
> --
> View this message in context:
> http://netty-forums-and-mailing-lists.685743.n2.nabble.com/WSS-with-Draft10-Support-tp6945374p6947226.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20111031/18c8e880/attachment.html 


More information about the netty-users mailing list