On Mac, the process of syncing my notes with Inkdrop Sync Server never ends ( âSyncing âŠâ is always display on the side bar) and the app crashes after some times ( typically 30 minutes).
The app doesnât crash if I disable syncing.
Info
Platform: macOS
Platform version: El Capitan 10.11.6
App Version: 3.14.2
Reproduce
I suspect the problem may be specifically related to some content in my notes, so I canât say how you could reproduce it.
For me, I just have to launch the app with syncing activated and wait enough time.
Crash report
I can send the detailed crash report if it can be useful.
Thank you for the report and sorry for the trouble.
I looked into the server logs and found that it encountered an unexpected error while receiving data from the app.
It seems that the app tries to sync again and again but fails.
The failed request is kind of large (18MB).
Did you create very large note or insert large images?
Are you in a slow network?
Heroku server interrupts the request if it takes longer than 30 seconds to complete.
The request size is 26MB, so I guess it is failing to complete within 30 seconds.
Ah, seems like heroku doesnât cause the problem. It only interrupts requests which took over 30 seconds after receiving whole request bodies.
Please give me time to investigate.
This problem happens when the app is sending bulk docs with POST method.
After having some investigations, I found that the server successfully received some docs in a part of the request but couldnât receive the entire body. After a while, it timed out.
Here is an error log:
âH27 - Client Request Interruptedâ will be logged if the client socket was closed either in the middle of the request or before a response could be returned. (See this documentation for more info)
Iâm stuck to find the actual reason for it. This problem is not occurring for other people at all.
It might depend on your network environment. Do you have any idea about that?