Rate limited: Joplin overwrites files in the “/locks” folder too often

Operating system

Windows

Joplin version

2.14.20

Desktop version info

Joplin 2.14.20 (prod, win32)

Client ID: ea7b051e60754562ad6a5e2e9f62cb9b
Synchronisatieversie: 3
Profielversie: 46.
Keychain ondersteund: Ja

Revisie: cfd98e3

Backup: 1.4.0

Sync target

WebDAV

What issue do you have?

I cannot get my notes synced on my IceDrive webdav server. Already contact IceDrive and they stated that from the server logs, they can see that Joplin is overwriting some file in the “/locks” folder too often - every few seconds. "Please make sure this happens about once a minute. This should solve the problem."

At the moment Joplin tries to upgrade the sync target version form 1 to 2. But it cannot succeed due to this temporary rate limit.

How can I prevent Joplin from overwriting such a lock file so often?

The full error was:

PUT locks/2_1_ea7b051e60754562ad6a5e2e9f62cb9b.json: Unknown error 2 (429): You have been temporarily rate limited.

Error: PUT locks/2_1_ea7b051e60754562ad6a5e2e9f62cb9b.json: Unknown error 2 (429): You have been temporarily rate limited.
at newError (C:\Users\Oart\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\WebDavApi.js:415:11)
at WebDavApi.exec (C:\Users\Oart\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\WebDavApi.js:455:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async FileApiDriverWebDav.put (C:\Users\Oart\AppData\Local\Programs\Joplin\resources\app.asar\node_modules@joplin\lib\file-api-driver-webdav.js:203:10)

@EsEngyA welcome to the forum.

This has come up on the forum before (Search for "IceDrive").

It seems that the problem is that IceDrive applies rate-limiting to its implementation of WebDAV.

Their users have complained about the introduction of rate-limiting on their forum, Please make WebDav work.

In this thread one of the IceDrive team states (my emphasis),

Unfortunately our implementation of WebDAV wasn’t designed to facilitate syncing but this is one of our major priorities and will look to improve as soon as possible.

1 Like

@laurent it's nearly a year since you made the above comment in another thread and it looks like IceDrive still does not allow their storage to be used for syncing. Just wondering whether it should be classed as an unsupported WebDAV host so that users are made aware if they try to use it as a sync target.

2 Likes

@laurent IceDrive has now explicitly stated the following to me:

Blockquote
"We have no plans to soften the WebDAV rate limits."

So allegedly they have changed their intentions regarding this matter over the course of last 12 months. It sounds therefore reasonable to class IceDrive as unsuppoted WebDAV host.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.