Still have to see about the auth service, but you can see the version
of the code I'm using here (now finally working with ff was my fault
for javascript fail, not the socket protocol):
http://codereview.waveprotocol.org/152001/show

If you want it to work, you'll have to merge in the service from the
other branch, or run an external service for now (eg.
http://www.lightsphere.com/dev/articles/socketpolicy.tar.gz)

~
Doug.

On Sep 26, 6:47 pm, dougx <[email protected]> wrote:
> So,
>
> I've portedhttp://github.com/gimite/web-socket-jsinto the wave-
> protocol's GWT websocket implementation so the client works with
> firefox, etc.
>
> woo.
>
> ..but although it seems to talk it doesn't actually work. :( It just
> sits on 'Never Connected' status in firefox.
>
> The console log is showing:
>
> [WebSocket] policy file: xmlsocket://192.168.1.10:843
> [WebSocket] Flash object is ready
> [WebSocket] FABridge initializad
> [WebSocket] connected
> [WebSocket] request header: GET /socket HTTP/1.1 Upgrade: WebSocket
> Connection: Upgrade Host: 192.168.1.10:9898 Origin:http://192.168.1.10:9898
> Cookie: Sec-WebSocket-Key1: 28 `50e7kptb 6v (35=-1 8U Sec-WebSocket-
> Key2: 2i58 5 334H 8 6' E 4'
> [WebSocket] sent key3: -µ”£Îªç…
> [WebSocket] response header: HTTP/1.1 101 WebSocket Protocol Handshake
> Upgrade: WebSocket Connection: Upgrade 
> Sec-WebSocket-Origin:http://192.168.1.10:9898Sec-WebSocket-Location: 
> ws://192.168.1.10:9898/socket
> [WebSocket] reply digest: ÿICú 8¼ ‡gPÈ” õî
>
> O_o I haven't had time to dig into what that might mean on the socket
> comm protocol; anyone here have some idea?
>
> I recall some discussion about protocol versions or something?
>
> Other things:
>
> As described here, a policy file service needs to 
> run:http://www.lightsphere.com/dev/articles/flash_socket_policy.html
>
> At the moment I'm just running a separate script on the server to
> handle that, but it seems like a dumb solution. Seems like Fedone
> should handle this, but it's a bit hacky to be opening other port just
> for flash websocket support.
>
> thoughts?
>
> Also, how should the code base handle the swf source? At the moment
> I've just dumped the binary into:
> wave-protocol/src/com/google/gwt/websockets/client/binary/
>
> ...but that also seems like a poor long term solution.
>
> ~
> Doug.

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to