Receiving sync errors between my iPhone & BrailleSense notetaker

Hi,
I'm summarizing two possible causes for the issue and describing how to get more information.

Possible cause: Corrupted or very large resources

For me, Joplin includes the following at the top of the screen:

Joplin failed to decrypt these items multiple times, possibly because they are corrupted or too large. These items will remain on the device but Joplin will no longer attempt to decrypt them.

Getting more information

Getting the full error: It should be possible to determine the error from the "Log" screen. On mobile, this can be accessed from configuration > tools > log. To find the log entry related to the errors:

  1. At the bottom of the screen (last item in the focus order) should be an "errors only" button. Clicking it should filter out log items that aren't errors.
  2. Searching for the resource ID (for example 6050425a40dc48b1b9ff9ff1a5495ce7) should show errors related to the resource.

Determining which resource is causing the error: It's also possible (and perhaps easier) to get more information about the resources from a desktop app. To do this, for example, for the resource with ID 6050425a40dc48b1b9ff9ff1a5495ce7,

  1. Open a version of the desktop app that's in sync with the iOS/Android apps.
  2. Open the "tools" menu, then select "note attachments".
  3. Search for the resource ID in the "Search input".
  4. Inspect the value in the "Size" column.

Possible cause: Beta encryption enabled & old versions of Joplin

Newer versions of Joplin include an opt-in "Use beta encryption" option (see Final report of the Native Encryption project). When enabled, new items will be encrypted in a way that should be faster and more secure, but isn't compatible with older versions of Joplin.

The version of Joplin listed in the "Joplin version" section is 2.13.5, which doesn't support the new encryption method. The latest stable Joplin versions (as of February 21st) should be:

  • Android: v3.2.7
    • Newer versions are available as pre-releases.
  • iOS: v13.2.4
  • Desktop: v3.2.12

On Android and iOS, the "use beta encryption" setting can be found in two places:

  • configuration > synchronization > advanced > use beta encryption
  • configuration > more information (one of the last settings in that tab).
1 Like