App cannot connect to OneDrive to sync data. This is only happening with the Linux desktop app. The Windows desktop app and the Android mobile app can connect to OneDrive as usual with no issues.
I am seeing this error message above the "Synchronize" button in the sidebar:
I enabled debugging, restarted the app and saw a FetchError message multiple times. The error message contains links so as a new user, I can't paste the message due to the "2 links in a post" limitation.
I have uploaded a screenshot of the error message and a truncated version of the log file. I removed the log messages after the 3rd retry attempt at a GET.
An update to the issue:
I updated the computer to the Joplin desktop app for Linux v.3.4.5 pre-release. Now I am seeing a different error message when the app tries to synchronize with OneDrive.
await in processTicksAndRejections
timeoutCallback @ registry.ts:190
Logger.ts:317 16:37:00: Synchronizer: TypeError: Failed to fetch
at shim-init-node.ts:532:11
at Object.fetchWithRetry (shim.ts:286:28)
at di.default.fetch (shim-init-node.ts:531:15)
at nRt.exec (onedrive-api.ts:329:28)
at nRt.execText (onedrive-api.ts:460:31)
at aRt.get (file-api-driver-onedrive.js:113:37)
at file-api.ts:364:42
at tryAndRepeat (file-api.ts:89:25)
at VEt.get (file-api.ts:364:10)
at fetchSyncInfo (syncInfoUtils.ts:87:39)
log @ Logger.ts:317
error @ Logger.ts:147
I switched the synchronization target from OneDrive to Dropbox. I noticed that sometimes I have to manually start a synchronization (sometimes more than once) on whatever device I used to make changes to my Joplin notes in order for my other devices to properly detect and download all the changes. But at least now all the devices can connect to Dropbox.
It’s also worth noting that on Joplin desktop, there is a 15 second delay before the changes are automatically synced, after you change a note. On mobile it always syncs continually as you type, but exhibits the above issue