laurent22 / joplin

Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.

Home Page:https://joplinapp.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dropbox sync on iOS never starts. Errors out with: Request to files/download failed. Retrying with workaround.

baldengineer opened this issue · comments

Operating system

iOS

Joplin version

12.14.8

Desktop version info

No response

Current behaviour

iOS Joplin stopped synchronizing via Dropbox. It had been syncing as expected for two months. The last synced note appears to be about six weeks ago.

I am seeing the same behavior on iPhone and iPad. Syncing via Dropbox with the desktop client is still working as expected.

  1. Joplin client starts to Syncrynoize.
  2. The Sync icon endlessly spins
  3. An error is generated in the log
  4. Tapping Cancel shows the message Cancelling..., but it never clears, and the sync icon never stops spinning.

Sync Status

Attachments
Not downloaded: 0
Downloading: 0
Downloaded and decrypted: 10030
Downloaded and encrypted: 0
Created locally: 24
Error: 0
---
Sync status (synced items / total items)
Note: 3405/3419

Expected behaviour

I expected Joplin to synchronize notes via Dropbox.

Logs

05-21T08:37:08: file-api-driver-dropbox: "Request to files/download failed. Retrying with workaround. Error: ", "TypeError: Network request failed
TypeError: Network request failed
    at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:11103:33)
    at apply (native)
    at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:8734:26)
    at _callTimer (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:8682:17)
    at callTimers (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:8829:19)
    at apply (native)
    at __callFunction (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:1827:36)
    at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:1666:31)
    at __guard (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:1778:15)
    at callFunctionReturnFlushedQueue (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:1665:21)"
05-21T08:35:40: file-api-driver-dropbox: "Request to files/download failed. Retrying with workaround. Error: ", "TypeError: Network request failed
TypeError: Network request failed
    at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:11103:33)
    at apply (native)
    at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:8734:26)
    at _callTimer (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:8682:17)
    at callTimers (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:8829:19)
    at apply (native)
    at __callFunction (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:1827:36)
    at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:1666:31)
    at __guard (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:1778:15)
    at callFunctionReturnFlushedQueue (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-diwyqlzmvthyrbaopjjmecdqvnbe/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:1665:21)"

Thank you for reporting this!

I'm linking to several related issues, discussions, and commits:

* [iOS,Android: Dropbox sync broken #10396](https://github.com/laurent22/joplin/issues/10396)

Thanks for linking to that issue. I didn't find it when I did my search. (I was probably focused on open issues.) It seems related, and the timeline aligns.

Interestingly, my iPhone client started syncing yesterday, but the iPad client still does not. As far as I can tell, I have not changed anything since submitting the report. I just opened Joplin and noticed notes from my Desktop were suddenly popping in.

Also, now on the iPhone client, when I go to Sync Status, there is an entry for Folders with all my notebooks. That was not there before (and it still is not showing in the iPad client.)