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

webdav sync problem: Unable to load data from remote #3617

Open
UrbanM opened this issue Oct 22, 2024 · 5 comments
Open

webdav sync problem: Unable to load data from remote #3617

UrbanM opened this issue Oct 22, 2024 · 5 comments

Comments

@UrbanM
Copy link

UrbanM commented Oct 22, 2024

Your Environment

  • Version used: 10.0.11 (installed with superProductivity-Setup-10.0.11.exe)
  • Operating System and version: Windows 11 pro

Expected Behavior

I want to sync everything through WebDAV to a Nextcloud AIO server. I enabled Compression (encryption is disabled). I use this to sync between Fedora Linux 39 and this Win 11 PC.

Current Behavior

Everything works and syncs perfectly. On Windows Machine, after a couple of minutes, I get the following error: "Unable to reload data from remote. Do you want to overwrite the remote data with your local data? All remote data will be lost in the process.". If I click OK it syncs normally. And after some time I get the same error message. If I sync with the Linux machine and open with Windows SuperProductivity everything syncs normally. And then after a couple of minutes, I get this error.

Steps to Reproduce (for bugs)

  1. Instal SuperProductivity on Windows
  2. Sync data with WebDAV (Nextcloud)
  3. Start tracking a task
  4. Wait a couple of minutes

Can you reproduce this reliably?

Yes, I can reproduce this reliably, It happens every time.

Console Output

-1729590003159.log

@UrbanM UrbanM added the bug label Oct 22, 2024
Copy link

Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!

@johannesjo
Copy link
Owner

Can you try adding a slash / to the end of your baseUrl in the settings on android?

@UrbanM
Copy link
Author

UrbanM commented Nov 5, 2024

In my conf. I alredy have / at the end. I tested both, with / and without at the end of baseUrl' on Android. Without /` it does not work at all. The issue I have is only with Windows 11 PC. On Android and Linux it works perfectly. The WebDAV syncing works also with Windows, but I get the error popup every couple of minutes.

@UrbanM
Copy link
Author

UrbanM commented Nov 6, 2024

I found a workaround that works. If I set the sync interval to 5 minutes, I receive no errors, and it works just as expected.

@johannesjo
Copy link
Owner

I am glad that it works now! Also I am unable to reproduce this. Even on windows...

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