Description
Operating system
Windows
Joplin version
3.0.13
Desktop version info
Joplin 3.0.13 (prod, linux)
Client ID: b542ac283077423b9e9e96dda6ddaa4b
Sync Version: 3
Profile Version: 47
Keychain Supported: No
Revision: 599cf5b
Backup: 1.4.1
Favorites: 1.3.2
Note list (Preview): 1.0.0
Current behaviour
I am seeing sync errors on the Windows and Linux beta clients that are Joplin Server-synced for attachments larger than about 20Mb.
After the Synchronise
button is clicked, the orange "Some items cannon be synchronised." banner appears.
Clicking on the bar displays the sync status page with messages of the following form:
My Mate Manners - 20190408 - Final.zip (ab2702a244100fed72865510d4a9347c): Request timed out. Timeout value: undefinedms.
There are no problems on the Android beta or on the release desktop clients (e.g. Linux 2.14.20). Encryption is disabled.
The version are:
Android client: 3.0.8
Windows and Linux clients: 3.0.13
Joplin Server: 2.14.2-Beta (behind NGINX reverse-proxy)
It appears that the HTTP time-out option is being set to undefined
and this is resulting in a very short value being used.
In packages/lib/shim-init-node.ts:
Line 518: if (!options.timeout) options.timeout = undefined;
I have patched the build to use the default value of 120000 ms, which resolves the problem i.e. the attachment are correctly synchronised from server resources.
I have previously reported this on Discourse but this seems to be a more appropriate forum.
Thank you all for your amazing work on Joplin!
Expected behaviour
Synchronise the server attachment to local storage.
Logs
No response
Activity