-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Consistent timeouts when syncing #761
Comments
Huh, 1700 Notes... insane 😄 Are you able to grab a logcat? I would love to see the timestamps to check if it is really that long running and therefore closing the connection. Can you try to delete the storage of the app and perform a full synchronization with a good wifi, so the initial sync completes fast? Next notes should theoretically sync faster because it will only be incremental one not by another. |
bump @weierophinney |
I tried deleting the storage and cache of the app, and then doing a full synchronization; same result. Click to expand log
Can you provide instructions on how to do a logcat? |
Sure, you can grab any free LogCat-app from F-Droid or the Play Store (for example this one). Then just start recording in the LogCat-app, do what every you want in the Notes app and after you get the timeout, go back to the LogCat-app and stop recording. The logfile might contain private information, so you better should send it via e-mail at [email protected] instead of attaching it here. If you have further questions, just let me know. |
FWIW I have exactly the same error, even after dumping Android app data. QOwnNotes on Mac and Windows still work fine.
|
Here also a logcat would be interesting. How many notes (number of files and complete size in kB / MB) do you have on your clouds? |
Hi,
|
Can you all please check if there is a hint about an access in your server logs? Interesting would be (if one has the possibility to) if you could remove all notes from your server and add them one by one back to your cloud (syncing after each note) and check whether this depends on a single special note or on the pure amount. Also try switching between mobile data and wifi so we can get a hint if this is related to the network type. How is the sync with the normal files app? Does it work flawlessly? |
Hi, i'm having this problem now.
I can confirm adding notes in small chunks seems to work and not trigger the timeout. A chunk of 213 files (~290KiB) fails, but small chunks of 50 (89KiB) or 100 files (~160KiB) work fine. My total amount of notes is 382 (2.8MB), the whole amount does not sync.
In my case, the network type didn't make any difference.
The normal files app works flawlessly. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Yeah, well. I guess the probably best solution will be to exclude the For following synchronizations this shouldn't matter since we already use It will require some work in the |
I'm working on an enhancement of the API, so that you (as client developer) can define a maximum amount of notes that should be transferred in one response. This is the last feature that I want to add to the API version 1.2 and then I will release the app version 4.1. Using this should be more comfortable. :-) |
Same issue here with 200+ files, F-Droid version of the app v3.4.11, copying files in chunks solves it. |
Signed-off-by: Stefan Niedermann <[email protected]>
So, something is happening here, i just commited the first change in this direction (5801f00) to synchronize notes one by one while importing. This can (and probably will) of course be extended in the future to use the chunk API provided in the Notes server app |
Adding account did formerly not require any network access. This commit mocks those resources. Signed-off-by: Stefan Niedermann <[email protected]>
When I open the app, I consistently receive network timeouts when syncing notes from my server. This means that I am no longer receiving new notes from the server, and notes created on my device are not synced to the server.
To Reproduce
Steps to reproduce the behavior:
OR
Expected behavior
Successful sync.
Stacktrace
I receive the following stacktrace in the app:
Server
I have around 1700 notes on the server.
Smartphone
The text was updated successfully, but these errors were encountered: