laurent22 / joplin

Joplin - the secure note taking and to-do app with synchronisation capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
44.19k stars 4.78k forks source link

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

Open baldengineer opened 1 month ago

baldengineer commented 1 month ago

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)"
personalizedrefrigerator commented 1 month ago

Thank you for reporting this!

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

baldengineer commented 1 month ago
* [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.)

github-actions[bot] commented 2 weeks ago

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? If you require support or are requesting an enhancement or feature then please create a topic on the Joplin forum. This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.

baldengineer commented 2 weeks ago

My iPad client is still unable to sync via Dropbox. I'm not clear from the provided issues if a version with another fix is coming or if it was assumed that 12.14.8 fixed it.

personalizedrefrigerator commented 2 weeks ago

My iPad client is still unable to sync via Dropbox. I'm not clear from the provided issues if a version with another fix is coming or if it was assumed that 12.14.8 fixed it.

Another fix should be coming:

fesilvajacquier commented 4 days ago

Hey all!

Got here because I had this error:

07-02T15:40:29: file-api-driver-dropbox: "Request to files/download failed. Retrying with workaround. Error: ", "TypeError: Network request failed
TypeError: Network request failed

Installing (or was it updating) Joplin via TestFlight solved the issue. Now it is syncing.