Skip to content

First sync after encrypt and multiple errors #13884

@ak1dd

Description

@ak1dd

Operating system

Windows

Joplin version

3.5.9

Desktop version info

Being a longtime Onenote user, I read that the importing has been improved in 3.59 so I installed it on my Windows 11 machine, imported my Onenote stuff and it mostly worked - there were errors afterward but I manually looked at every single note and only 3 were missing and formatting changes. I set up syncing with OneDrive and everything sync'd.

So I then installed the appimage on my linux machine. I synchronized and it appeared to work correctly. I then enrolled in iOS test flight and installed the beta there and sync'd. All seemed well until I realized encryption was off by default. (perhaps Joplin should ask if they want to encrypt during setting up Sync for the first time? This is a big reason I chose to try Joplin) I followed the instructions on the Joplin site to enable encryption and afterward there were errors after the sync? I have a 2GB internet connection and fast.com reports near full speed access, low jitter and latency) There were mismatched notes and cryptic error messages after completion:

Fetched items: 851/900.
Completed: 09/12/2025 17:32 (79s)
Last error: FetchError: On file 9a7a75e611ba4aafa10306d79233d8b6.md: request to https://my.microsoftpersonalcontent.com/personal/9d0eb5ce5495f368/_layouts/15/download.aspx?UniqueId=4f1abec0-7520-4155-bacd-f7d5f6437558&Translate=false&tempauth=v1e.eyJzaXRlaWQiOiIyNWY5ZjM2ZS1jZDUxLTRjNzYtOTI4Mi1jZGYyYTczNmFjY2EiLCJhcHBfZGlzcGxheW5hbWUiOiJKb3BsaW4iLCJhcHBpZCI6ImUwOWZjMGRlLWM5NTgtNDI0Zi04M2EyLWU1NmE3MjFkMzMxYiIsImF1ZCI6IjAwMDAwMDAzLTAwMDAtMGZmMS1jZTAwLTAwMDAwMDAwMDAwMC9teS5taWNyb3NvZnRwZXJzb25hbGNvbnRlbnQuY29tQ

I'm not sure what to post to help I've included a snippet from the Joplin debug console.

Current behaviour

  1. Import Onenote
  2. Set up syncing
  3. Installed Joplin on Windows, Linux and iOS.
  4. Sync'd
  5. Realized encryption wasn't on
  6. encrypted and resync'd and got errors.

Expected behaviour

no sync errors?

Logs

There are several errors like the second one, I only see one like the first in the debug console on linux. I haven't enabled the logging on my Windows or iOS device.

Logger.ts:317 17:49:56: Synchronizer: There was some errors:
Logger.ts:317 17:49:56: Synchronizer:
FetchError {message: 'On file 886a9365e66049aa8a403873ac9b55af.md: reque…irByKzIBT1LzI2Z6A&ApiVersion=2.0 failed, reason: ', type: 'system', errno: 'EHOSTUNREACH', code: 'EHOSTUNREACH', stack: 'FetchError: request to https://my.microsoftpersona…ections (node:internal/process/task_queues:90:21)'}

Logger.ts:317 17:49:56: OneDriveApi: Got unhandled error: EHOSTUNREACH request to https://my.microsoftpersonalcontent.com/personal/9d0eb5ce5495f368/_layouts/…6zmCpgou6FJwNxD.NfDSDKmkASypwgku7eBkAqOwPmtxaBAi8WyRWMVzWSo&ApiVersion=2.0 failed, reason:
FetchError {message: 'request to https://my.microsoftpersonalcontent.com…txaBAi8WyRWMVzWSo&ApiVersion=2.0 failed, reason: ', type: 'system', errno: 'EHOSTUNREACH', code: 'EHOSTUNREACH', stack: 'FetchError: request to https://my.microsoftpersona…ections (node:internal/process/task_queues:90:21)'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIt's a bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions