debugging broadway



hi,

I wanted to see the broadway backend in action. Using gtk+3.8 I run
broadwayd --address=<ipaddr> --port=8080 :5
and
BROADWAY_DISPLAY=:5 GDK_BACKEND=broadway ./my-gtk3-app

On the browser side, all I get is a blank window with a title containing "broadway 2.0". Tested with chrome
33.0 and firefox 27.0.

Firefox has this in the firebug console:
"NetworkError: 404 File not found - http://xxx:8084/socket-test"
socket-test
Firefox can't establish a connection to the server at ws://xxx:8084/socket-test.
ws = new WebSocket(loc, "broadway");
broadway.js (line 2625)
"NetworkError: 400 Bad websocket request - http://xxx:8084/socket-bin"
socket-bin
Firefox can't establish a connection to the server at ws://xxx:8084/socket-bin.
ws = new WebSocket(loc, "broadway");

Chrome shows:
WebSocket connection to 'ws://xxx:8084/socket-test' failed: Error during WebSocket handshake: Unexpected response code: 404 broadway.js:2625
WebSocket connection to 'ws://xxx:8084/socket-bin' failed: Error during WebSocket handshake: Unexpected response code: 400 broadway.js:2625
'KeyboardEvent.keyLocation'' is deprecated. Please use 'KeyboardEvent.location' instead.
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

According to http://websocketstest.com/ both browsers have full websocket support.
 
Any ideas?

Stefan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]