-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instant upload tries and fails when connected to a wireless network without internet connection #64
Comments
Interesting. Thanks for the suggestion. |
Does the client recover from connection errors? Because in that case i wouldn't think it's a big issue. |
The Instant Upload feature tries and tries and tries to upload the In my opinion, a connection attempt should be made before uploading. If no On Fri, Jan 25, 2013 at 7:01 AM, Markus Unterwaditzer <
|
True, there should only be a failure notice, if the oc instance can be reached but the pic cannot be (fully?) uploaded. Anything else does not make any sense to me. |
Yep, +1 from my side - maybe it's just me who's strict on this, but I would consider any other behaviour a bug ;). Also, all instant upload of any other software I know of behave that way... |
Please, let me edit a bit the title of this issue . |
The problem described in #231 is that if the Android application is not running (force closed for instance) then there are no notifications about failed upload, and the files are not ever sent to the server. |
We are working in a general solution to recover failed uploads, no matter if 'instant' or not, no matter if notified or not. It is in the branch offline_recover_failed_uploads_without_user_intervention , that comes from offline_upload_new_file (if I remember right). We had to put this in pause a couple of weeks ago for other feature. We plan to resume the work here as soon as possible. We are aware that problems with uploads are very important now, but want to fix them in a global way. All of you who are able to fetch and build the code, feel free to experiment with these branches. |
What a crazy title ;) Pls change it to something like "Instant upload tries and fails when connected to a wireless network without internet connection". That sums up the underlying problem, since the critisised behaviour would also occur in a company intranet-only wireless network etc. This problem has nothing to do with interrupted uploads directly, but with reachability of the oc server. |
Ok, your English is much more inspired than mine :) |
@davivel |
I think the issue #826 will help to solve this problem. |
I think this can be closed as failed errors due to the scenario described can easily be retried |
even better: This should be checked before every upload. |
If I'm on my wifi and internet is down, it would annoy me if the oc client doesnt want to sync to my local oc server. I think its better to try to reach the server instead and retry after some time if the server is unavailable. |
I have Instant Upload enabled for the Android ownCloud client, and have selected "WiFi only". There are a lot of open WiFi networks nearby which require some sort of sign-in. The ownCloud client seems to not pay attention to this fact. As soon as a WiFi network is negotiated on my phone, the ownCloud client tries to upload new photos. It fails because I haven't completed the sign-in process.
An example of this is Starbucks: all of their WiFi SSIDs are "ATT Wifi" (or something similar). My phone remembers this SSID and happily connects to the network. Before I can actually access the Internet, though, I have to open a browser and click on an "I agree" button presented on a splash page.
It would be ideal if the ownCloud client would try to confirm that it can communicate with the ownCloud server in some fashion before trying to upload photos.
The text was updated successfully, but these errors were encountered: