You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Lorentz Green (JIRA)" <ji...@apache.org> on 2013/11/07 22:45:17 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=13816462#comment-13816462 ] 

Lorentz Green edited comment on WICKET-5409 at 11/7/13 9:44 PM:
----------------------------------------------------------------

Safari console screenshot with websocket connection errors.


was (Author: lorentzg):
Errors in safari console.

> 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
>         Attachments: Screen Shot 2013-11-07 at 11.41.06 PM.png, 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)