incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (JIRA)" <>
Subject [jira] [Commented] (CB-1012) Client and target don't automatically try to reconnect to eachother
Date Fri, 06 Jul 2012 18:40:34 GMT


Patrick Mueller commented on CB-1012:

I agree this is pretty annoying behavior.

On the other hand, it's very difficult behavior to get right.  Think about all the different
things connected to each other.  There's also "auto-connect" logic, so that a client will
always connect to the newest target that connects to the server, etc.

Best of luck!
> Client and target don't automatically try to reconnect to eachother
> -------------------------------------------------------------------
>                 Key: CB-1012
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: weinre
>    Affects Versions: Master
>         Environment: Ubuntu Linux 12.04, node 0.8.1,  
>            Reporter: Gorgi Kosev
>            Assignee: Patrick Mueller
>             Fix For: Master
> If for some reason the target loses its connection to the server, the whole page will
have to be reloaded. This is kinda annoying for single-page apps running in a webview without
a refresh button.
> The target should automatically try to reconnect to the server (and get connected to
the previous debug client).
> What would it take to make this happen? Will adding reconnect code for the WebSocketXhr
instance (_socket) to MessageDispatcher.prototype._handleClose work?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message