Skip to content
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

Server replied: Locked and client didn't notified the user #5500

Closed
tuxayo opened this issue Jan 29, 2017 · 9 comments
Closed

Server replied: Locked and client didn't notified the user #5500

tuxayo opened this issue Jan 29, 2017 · 9 comments
Assignees
Labels
Design & UX ReadyToTest QA, please validate the fix/enhancement
Milestone

Comments

@tuxayo
Copy link

tuxayo commented Jan 29, 2017

Expected behaviour

The client should notify of "server replied: Locked"

Actual behaviour

It's logged but in the desktop notifications I see updated files but not this error.
Error transferring https://example.org/remote.php/webdav/linux - server replied: Locked
Error transferring https://example.org/remote.php/webdav/prog - server replied: Locked
So it's been 2 weeks without sync on two folders at the root that contain more that 70% of all the files synced.

Client configuration

Client version: 2.2.4

Operating system: Arch Linux

OS language: en_US

Qt version used by client package (Linux only, see also Settings dialog):
Built from Git revision eaeed0 on Sep 28 2016, 20:08:09 using Qt 5.7.0, OpenSSL 1.0.2j 26 Sep 2016

Client package (From ownCloud or distro) (Linux only): owncloud-client 2.2.4-1

Logs

  1. Client logfile:
    After running the client with owncloud --logwindow, waiting for sync and then pausing:
    https://gitlab.com/snippets/934882
@dragotin
Copy link
Contributor

This is most probably a server problem. You should check the server logs.

@tuxayo
Copy link
Author

tuxayo commented Feb 6, 2017

I agree that there is also a server issue that must be investigated. But here the issue is that the client didn't notify the user.

@hodyroff
Copy link

hodyroff commented Feb 9, 2017

Don't understand how this can be reproduced. Please add info. Running against 9.1.4?

@guruz guruz added this to the 2.3.1 milestone Feb 10, 2017
@ckamm
Copy link
Contributor

ckamm commented Feb 10, 2017

@tuxayo Do you still have a client log that you could share? My expectation is that the error should be shown, then blacklisted for a bit (5 min initially). I can try to reproduce.

@ckamm
Copy link
Contributor

ckamm commented Feb 10, 2017

@tuxayo The reason you're not seeing an error message is that the client currently assumes 423 is transient. So when it encounters it, it considers it a soft error (not shown to the user, but visible in Activity tab) and schedules another sync.

It seems like the client should track the error and eventually realize it's permanent and notify the user.

The special casing for 423 errors is done in our classifyError() function.

@ckamm
Copy link
Contributor

ckamm commented Feb 20, 2017

@guruz You added this to 2.3.1, what were your thoughts here?

What could be in scope for that in my opinion:

  • Make 423 go to the blacklist. (it should stay a soft error initially, since in most cases retrying will make it not happen again) - this will make it show up in the "Not Synced" tab.
  • Possibly: Escalate a repeated 423 to a NormalError?

ckamm added a commit to ckamm/owncloud-client that referenced this issue Feb 20, 2017
@ckamm
Copy link
Contributor

ckamm commented Feb 20, 2017

Pull request: #5548

@tuxayo
Copy link
Author

tuxayo commented Feb 22, 2017

Don't understand how this can be reproduced. Please add info. Running against 9.1.4?

I renamed in my file manager two top level directories in my synced folder. And the folders that were locked were the old ones and due this error, the rename didn't get synced (as well as all latter changes).

I don't know if it's reproducible, that would be another issue to open in the server bug tracker if I manage to reproduce it.

@ckamm ckamm self-assigned this Mar 7, 2017
@ckamm ckamm added the ReadyToTest QA, please validate the fix/enhancement label Mar 14, 2017
@SamuAlfageme
Copy link
Contributor

I could not reproduce the locking state in server either. Let's close since these errors would not abort the sync (see #5859 (comment)) and that was the original root for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design & UX ReadyToTest QA, please validate the fix/enhancement
Projects
None yet
Development

No branches or pull requests

6 participants