New user setting up inkdrop, and have manually added a number of notes with attachments - totalling ~50mb of images - into the app.
Initially it was syncing OK, however after recent edits the app seems to be stuck in “Syncing” mode.
The changes are not showing up on other copies of inkdrop or in the mobile app (iOS).
Inspecting the console there are no errors or warnings.
I would estimate the app has now been syncing for around 30 minutes or more.
I have performed both a full export and a backup to confirm the size and number of notes. Does it just take a long time to sync at first with a large number of changes?
Info
Platform: Fedora 29 (5.0.7-200.fc29.x86_64)
Platform version: Linux Desktop.
App Version: 3.25.4
Reproduce
Manually import a number of notes.
Paste images into the notes as required.
Syncing has failed without any obvious indicators in the developer console as to errors or failures.
Thank you for reporting.
That’s weird.
I’m seeing the server load is increasing and that might be caused by your data.
Could you please stop running the app for now?
I’ll look into it.
Thanks!
I found socket hang up error is happening while syncing your image data but the app keeps retrying.
I guess sending data from the client is taking too long time and the connection timed out.
Huh, that’s strange - they should all be offline, everything else is switched off and I have closed it on my main workstation. Is it still the case now?
The largest image file in the encrypted backups is 11mb if that helps frame the problem.
edit - I’ve shut down everything and uninstalled the app just in case!
So the client is hanging up and retrying repeatedly? Nothing unusual to report about internet speeds here, they seem typical. Are there any client side logs I can send? I went looking for some but couldn’t seem to find them.
Yes. What I can know at the moment is that the connection hangs up while syncing.
So I would like to know if it works: Changing batch size of sync.
I’ll post the config for that.
And launch the app.
It will send only 2 documents per request so the connection should not hang due to timeout.
Since you have many notes and images, it will take for a while until the sync finishes.
I’ll check the server log tomorrow morning if the same error happens.
Not sure for now, but if a particular file/note causes this issue, it will be hard.
You will have to remove local database and have to add notes slowly again while checking the sync is working fine.
Ok thanks for the guidance! Sleep well, I will kick off the sync again in the morning and try to step-test the notes if the issue still happens with the new settings. We are close in time-zones so should be able to give feedback during better hours
Ok, I have the sync settings in place as described and have started the sync process now, please let me know how it looks at your end, or if I need to turn it off again!
Yeah I suspect that some notes causing the problem.
You can run the app from terminal so you can see error logs from the main process. It might be helpful.