Skip to content

Properly deal with loss of network #16

Closed

Description

@danimo
  • Introduce "disconnected" state
    • not an error, use offline icon
    • verify that QNetworkConfigurationManager is sufficient.
    • consider implementing a fallback solution / manual intervention
  • when the state changes to disconnected, gracefully shut down the sync process
  • when the stat changes back to connected, resume

Activity

  1. danimo commented on Oct 23, 2012

    @danimo
    ContributorAuthor

    This also includes scenarios where the app starts, but the network is not available (yet). No network should never be a hard error.

  2. ghost assigned on Oct 23, 2012
  3. MTRichards commented on Oct 31, 2012

    @MTRichards

    Also it happens when a machine goes to sleep, and then resumes. The client needs a restart to get the client working again in this situation as well. We need to up the priority on this one.

  4. andrewtch commented on Dec 13, 2012

    @andrewtch

    Any plans when to expect this?

  5. danimo commented on Dec 13, 2012

    @danimo
    ContributorAuthor

    I am currently working on this and it will hopefully be in 1.2, the next feature release.

  6. helllo commented on Jan 24, 2013

    @helllo

    Well, I am using 1.20 beta 2 and if I've forgotten to switch on Wifi, OC client (win7) will not reconnect unless I close it completely and start it again.

    A buttom "refresh....." could be a deal. There where elsewhere "connected to www.abc.com as blabla" is displayed.

    UPDATE: and make OC Client try to reconnect every x minutes as well.

  7. krstfrs commented on Feb 10, 2013

    @krstfrs

    I don't think this is display-only error as stated in e.g. #316, as only the default clientsync folder reappears. All other configured sync folders disappear forever and are not synchronized.

  8. laryllian commented on Feb 10, 2013

    @laryllian

    For every disconnect, I have a ".filename.ext.~xxxxxx" (read: dotfile with xxxxxx being a random number, such as 9o3vu0) in my owncloud folder, I guess this is also part of not properly dealing with network loss. This looks like the tries / partially downloaded file. This is a bug, I think.

  9. laryllian commented on Mar 5, 2013

    @laryllian

    I don't think it is already closed: OC client 1.2. shows the "everything synced" symbol with the white checkmark on a green circle when I am disconnected. This is confusing; it could be that it wasn't synced for days. How about no special symbold at all (just the clouds) in the case of network loss. Maybe this is difficult to do, but this would be great and helpful, since an indicator should indicate something. ;-)

  10. Overand commented on Mar 8, 2013

    @Overand

    I'm unsure if this is working "as expected" at least in OS X. Upon connection loss (due to sleeping), I left the thing for hours and it never restarted the sync. After restarting the client, the sync started - BUT there was no visual feedback.

  11. webstudiolund commented on Mar 9, 2013

    @webstudiolund

    Have this problem too. My father's computer connects with a usb stick to 3G and the program for connecting is much, much slower. The owncloud client failes almost immeditely and has to be closed through the process manager for making a restart possible. First then it connects, and works as it should. This procedure is too complicated for my father so it would really be good if the client did not break down but could try to connect periodically until it succeeds when the network is estabilished. Or maybe another icon in the activity field for "not connected" and a choice in the menu to "try to connect now".

  12. andrewtch commented on Mar 10, 2013

    @andrewtch

    Yup, still not working as needed. At least, button 'try to reconnect now' or auto-reconnecting every minute would be a very nice feature.

  13. reopened this on Mar 10, 2013
  14. danimo commented on Mar 10, 2013

    @danimo
    ContributorAuthor

    Ok will investigate

  15. bluecola commented on May 12, 2013

    @bluecola

    Any idea when this issue will be resolved?

  16. danimo commented on Nov 25, 2013

    @danimo
    ContributorAuthor

    This should be fixed for 1.5, so I will close this now. I would like to encourage everyone subscribed to this bug to try the first beta (due to be released later this week) to verify that everything works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions