I noticed issue when tried this sample app: https://github.com/martin-g/blogs/tree/master/wicket6-websocket-broadcast
Browsers I tried:
Broadcast example seems to be not working with Safari:
Firefox - works (broadcast messages displayed),
Chrome - works,
Safari - no broadcast messages displayed, console shows error: WebSocket connection to 'ws://localhost:8080/feed?0&pageId=0&wicket-ajax-baseurl=feed?0' failed: Error during WebSocket handshake: 'Connection' header value is not 'Upgrade'
After bunch of different tests, decided to create basic wicket quickstart app - one home page with WebSocketBehaviour added, got same results:
Firefox - works (no errors in console, websocket connection estabished),
Chrome - works,
Safari - websocked connection fails, console shows error: WebSocket connection to 'ws://localhost:8080/?0&pageId=0&wicket-ajax-baseurl=?0' failed: Error during WebSocket handshake: 'Connection' header value is not 'Upgrade'
Another example (jetty chat app on websockets, unrelated to wicket) that I tested with minor fixes (upgraded to 7.6.9 jetty): http://webtide.intalio.com/wp-content/uploads/2011/08/example-websocket.zip
Chat example works for all three browsers: Firefox, Chrome and Safari.
Seems that wicket-native-websocket integration has issues with Safari.
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||6.13.0 [ 12325564 ]|
|Fix Version/s||7.0.0 [ 12322958 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|5d 12h 58m||1||Martin Grigorov||13/Nov/13 10:36|
|19d 22h 16m||1||Lorentz Green||03/Dec/13 08:53|