Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Certificate has expired" error when syncing with certain servers #5513

Closed
PetrVladimirov opened this issue Sep 30, 2021 · 12 comments
Closed
Labels
bug It's a bug upstream There's a problem with upstream code.

Comments

@PetrVladimirov
Copy link

PetrVladimirov commented Sep 30, 2021

Environment

Joplin version: 2.3.5
Platform: Linux
OS specifics: Fedora 33

Steps to reproduce

  1. Setup Nextcloud server with valid let's encrypt certificate
  2. Install Joplin Client via standard script
  3. Try to sync
  4. Joplin Client on Linux gives an error: request to https://... failed, reason: certificate has expired (Code CERT_HAS_EXPIRED)
  5. Android clients sync fine

Describe what you expected to happen

Sync happens

Related discussion

flathub/net.cozic.joplin_desktop#22

Logfile

19:27:11: CommandService::execute: synchronize false
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:11: Scheduling sync operation... 0
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:11: Preparing scheduled sync
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:11: Starting scheduled sync
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:11: Synchronizer: Sync: starting: Starting synchronisation to target 5... supportsAccurateTimestamp = false; supportsMultiPut = false [1633019231808]
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:12: Synchronizer: Indexing resources...
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:12: ResourceService::indexNoteResources: Start
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:12: ResourceService::indexNoteResources: Completed
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:12: models/Folder: updateFolderShareIds: {shareUpdateCount: 0, unshareUpdateCount: 0}
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:12: models/Folder: updateNoteShareIds: notes to update: 0
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:12: models/Folder: updateResourceShareIds: resources to update: 0
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:12: FileApi: get info.json
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Synchronizer: FetchError {name: "FetchError", message: "request to https://anonymized/remote.php/dav/fil…info.json failed, reason: certificate has expired", type: "system", errno: "CERT_HAS_EXPIRED", code: "CERT_HAS_EXPIRED", …}
log @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188
error @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:64
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:988
rejected @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:6
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:4
start @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:322
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:112
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:4
timeoutCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:73
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:137
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:4
Registry.scheduleSync @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:53
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:53
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:4
execute @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:25
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:145
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:4
execute @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:136
onClick @ /tmp/.mount_JoplinjENDoY/resources/app.asar/gui/Sidebar/Sidebar.js:458
onClick @ /tmp/.mount_JoplinjENDoY/resources/app.asar/gui/Button/Button.js:189
callCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:347
invokeGuardedCallbackDev @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:397
invokeGuardedCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:454
invokeGuardedCallbackAndCatchFirstError @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:468
executeDispatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:600
executeDispatchesInOrder @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:622
executeDispatchesAndRelease @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:725
executeDispatchesAndReleaseTopLevel @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:733
forEachAccumulated @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:707
runEventsInBatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:750
runExtractedPluginEventsInBatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:881
handleTopLevel @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5901
batchedEventUpdates @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:2344
dispatchEventForPluginEventSystem @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5996
dispatchEvent @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6025
unstable_runWithPriority @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/scheduler/cjs/scheduler.development.js:643
runWithPriority$2 @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:11305
discreteUpdates$1 @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:21672
discreteUpdates @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:2359
dispatchDiscreteEvent @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5979
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Synchronizer: Sync: finished: Synchronisation finished [1633019231808]
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Synchronizer: Operations completed: 
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Synchronizer: Total folders: 106
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Synchronizer: Total notes: 1064
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Synchronizer: Total resources: 478
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Synchronizer: There was some errors:
log @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188
warn @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:63
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:232
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:4
logSyncSummary @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:206
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:1019
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
rejected @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:6
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:4
start @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:322
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:112
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:4
timeoutCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:73
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:137
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:4
Registry.scheduleSync @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:53
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:53
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:4
execute @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:25
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:145
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:4
execute @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:136
onClick @ /tmp/.mount_JoplinjENDoY/resources/app.asar/gui/Sidebar/Sidebar.js:458
onClick @ /tmp/.mount_JoplinjENDoY/resources/app.asar/gui/Button/Button.js:189
callCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:347
invokeGuardedCallbackDev @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:397
invokeGuardedCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:454
invokeGuardedCallbackAndCatchFirstError @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:468
executeDispatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:600
executeDispatchesInOrder @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:622
executeDispatchesAndRelease @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:725
executeDispatchesAndReleaseTopLevel @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:733
forEachAccumulated @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:707
runEventsInBatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:750
runExtractedPluginEventsInBatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:881
handleTopLevel @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5901
batchedEventUpdates @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:2344
dispatchEventForPluginEventSystem @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5996
dispatchEvent @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6025
unstable_runWithPriority @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/scheduler/cjs/scheduler.development.js:643
runWithPriority$2 @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:11305
discreteUpdates$1 @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:21672
discreteUpdates @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:2359
dispatchDiscreteEvent @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5979
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Synchronizer: FetchError {name: "FetchError", message: "request to https://anonymized/remote.php/dav/fil…info.json failed, reason: certificate has expired", type: "system", errno: "CERT_HAS_EXPIRED", code: "CERT_HAS_EXPIRED", …}
log @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188
warn @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:63
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:235
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:4
logSyncSummary @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:206
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:1019
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
rejected @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:6
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:4
start @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Synchronizer.js:322
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:112
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:4
timeoutCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:73
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:137
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:4
Registry.scheduleSync @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/registry.js:53
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:53
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
fulfilled @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:5
Promise.then (async)
step @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:7
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:4
execute @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/commands/synchronize.js:25
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:145
(anonymous) @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:8
__awaiter @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:4
execute @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/services/CommandService.js:136
onClick @ /tmp/.mount_JoplinjENDoY/resources/app.asar/gui/Sidebar/Sidebar.js:458
onClick @ /tmp/.mount_JoplinjENDoY/resources/app.asar/gui/Button/Button.js:189
callCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:347
invokeGuardedCallbackDev @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:397
invokeGuardedCallback @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:454
invokeGuardedCallbackAndCatchFirstError @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:468
executeDispatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:600
executeDispatchesInOrder @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:622
executeDispatchesAndRelease @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:725
executeDispatchesAndReleaseTopLevel @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:733
forEachAccumulated @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:707
runEventsInBatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:750
runExtractedPluginEventsInBatch @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:881
handleTopLevel @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5901
batchedEventUpdates @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:2344
dispatchEventForPluginEventSystem @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5996
dispatchEvent @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:6025
unstable_runWithPriority @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/scheduler/cjs/scheduler.development.js:643
runWithPriority$2 @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:11305
discreteUpdates$1 @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:21672
discreteUpdates @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:2359
dispatchDiscreteEvent @ /tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/react-dom/cjs/react-dom.development.js:5979
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Setting up recurrent sync with interval 300
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:33: Sync has finished and note has never been changed - reloading it
/tmp/.mount_JoplinjENDoY/resources/app.asar/node_modules/@joplin/lib/Logger.js:188 19:27:34: DecryptionWorker: cannot start because no master key is currently loaded.
@PetrVladimirov PetrVladimirov added the bug It's a bug label Sep 30, 2021
@shubmehetre
Copy link

same same

@lsascha
Copy link

lsascha commented Sep 30, 2021

Same here. I wondered why it fails, because i am hosting my own joplin server.
I checked the letsencrypt certificate there and its still valid for 1 month and browsers can still access it.

🙈

Workaround for now is checking Ignore TLS certificate errors which is of course not the best solution

@lsascha
Copy link

lsascha commented Sep 30, 2021

Looks like we need to wait until its fixed on the Electron level.
see: electron/electron#31212

@vractal
Copy link

vractal commented Sep 30, 2021

Same here, and also seems to break note publishing when viewing them in the browser, so not sure this is only electron related

@lsascha
Copy link

lsascha commented Sep 30, 2021

tested. (with Ignore TLS certificate errors enabled)

Can't confirm any issue with note publishing and accessing it in browser. tested with Edge 95.0.1020.9, Chrome 96.0.4656.4 and Firefox 93.0b9 (64-bit)

If you are talking about publishing when Ignore TLS certificate errors is disabled (so syncing throws the error)
It can of course not publish the note, because it needs to sync the published note to the server (which does not work)

But you should still get a "Not Found" error from the server if accessing with a browser. that means the server itself works. just not the sync

@laurent22
Copy link
Owner

@laurent22
Copy link
Owner

@vractal, could you provide more info about what's broken in publishing note? Any screenshot maybe?

@msartiano
Copy link

For the current workaround go to
Tools -> Options -> Synchronisation -> Show advanced settings -> check ignore TLS certificate errors -> Apply

image

@tessus
Copy link
Collaborator

tessus commented Oct 3, 2021

2 options to fix the problem:

@tessus tessus pinned this issue Oct 3, 2021
@laurent22 laurent22 changed the title DST root cerficate expired, effects syncs "Certificate has expired" error when syncing with certain servers Oct 3, 2021
@moontan

This comment has been minimized.

@tessus

This comment has been minimized.

@fhaefemeier

This comment has been minimized.

Repository owner locked as resolved and limited conversation to collaborators Oct 9, 2021
@tessus tessus closed this as completed Oct 9, 2021
@laurent22 laurent22 unpinned this issue Oct 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug It's a bug upstream There's a problem with upstream code.
Projects
None yet
Development

No branches or pull requests

9 participants