You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/11/13 11:37:21 UTC

[jira] [Resolved] (WICKET-5409) wicket-native-websocket does not work with Safari/Safari iOS

     [ https://issues.apache.org/jira/browse/WICKET-5409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5409.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 7.0.0
                   6.13.0

Fixed.
The headers are set explicitly only for Tomcat7WebSocketFilter.
Some improvements have been downported from master branch.

Please retest with latest 6.13.0-SNAPSHOT if you can. You can use http://wicket.apache.org/start/quickstart.html to generate a quickstart.
Thanks!

> wicket-native-websocket does not work with Safari/Safari iOS
> ------------------------------------------------------------
>
>                 Key: WICKET-5409
>                 URL: https://issues.apache.org/jira/browse/WICKET-5409
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-native-websocket
>    Affects Versions: 6.11.0
>            Reporter: Lorentz Green
>            Assignee: Martin Grigorov
>             Fix For: 6.13.0, 7.0.0
>
>         Attachments: Screen Shot 2013-11-07 at 11.41.06 PM.png, double_upgrade_header.pcapng, wicket-quickstart-websocket.zip
>
>
> I noticed issue when tried this sample app: https://github.com/martin-g/blogs/tree/master/wicket6-websocket-broadcast
> Browsers I tried:
> Firefox v25.0
> Chrome v30.0.1599.101
> Safari v6.1
> 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.



--
This message was sent by Atlassian JIRA
(v6.1#6144)