UploadBlob time out on iOS

Operating system

iOS

Joplin version

13.2.5

Sync target

Joplin Server

What issue do you have?

I'm back to getting an uploadBlob error. I previously requested help on this but it suddenly resolved itself. It's doing the same thing now. I'm using self-hosted Joplin Server.

I don't have a problem at all with my MacOS desktop 3.2.11. My Android 3.2.7 version synch'ed initially but now it doesn't sync but doesn't error. I had started this forum post and started including various logs when suddenly my iOS decided to do a full sync!

Ok, so now I think we're getting somewhere. Are there settings either on the server or on the clients that would alleviate contention between multiple clients? Reason I ask, I'm beginning to suspect that if I only have one client connected then it works fine. Otherwise, for iOS, as an example, I'll get an uploadBlob timeout error, like this:

04-22T10:17:38: RevisionService: maintenance: Done in 106ms
04-22T10:17:38: RevisionService: collectRevisions: Created revisions for 0 notes
04-22T10:17:38: RevisionService: maintenance: Starting...
04-22T10:17:38: RevisionService: maintenance: Service is enabled
04-22T10:17:26: root: root.biometrics: shouldShowMainContent <true>
04-22T10:17:26: root: root.biometrics: this.state.sensorInfo {"enabled":false,"sensorsHaveChanged":false,"supportedSensors":""}
04-22T10:17:26: root: root.biometrics: biometricsDone <true>
04-22T10:17:26: root: root.biometrics: biometricsEnabled <false>
04-22T10:17:24: root: root.biometrics: this.state.sensorInfo {"enabled":false,"sensorsHaveChanged":false,"supportedSensors":""}
04-22T10:17:24: root: root.biometrics: biometricsDone <true>
04-22T10:17:24: root: root.biometrics: biometricsEnabled <false>
04-22T10:17:24: root: root.biometrics: shouldShowMainContent <true>
04-22T10:17:21: DecryptionWorker: cannot start because no master key is currently loaded.
04-22T10:17:20: root: root.biometrics: biometricsDone <true>
04-22T10:17:20: root: root.biometrics: biometricsEnabled <false>
04-22T10:17:20: root: root.biometrics: shouldShowMainContent <true>
04-22T10:17:20: root: root.biometrics: this.state.sensorInfo {"enabled":false,"sensorsHaveChanged":false,"supportedSensors":""}
04-22T10:17:20: checkDisabledSyncItemsNotification: No errors: Hiding notification
04-22T10:17:20: Synchronizer: Total folders: 1
04-22T10:17:20: Synchronizer: Total notes: 0
04-22T10:17:20: Synchronizer: Total resources: 3
04-22T10:17:20: Synchronizer: There was some errors:
04-22T10:17:20: Synchronizer: Error: uploadBlob: PUT https://joplin.mydomain.org/api/items/root:/.resource/4a288ebb5cd540339b6bf67b8b81eb73:/content: Error: The request timed out.
Error: uploadBlob: PUT https://joplin.mydomain.org/api/items/root:/.resource/4a288ebb5cd540339b6bf67b8b81eb73:/content: Error: The request timed out.
    at ?anon_0_ (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:405028:26)
    at throw (native)
    at asyncGeneratorStep (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:65318:19)
    at _throw (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:65335:29)
    at tryCallOne (address at InternalBytecode.js:1:1180)
    at anonymous (address at InternalBytecode.js:1:1874)
    at apply (native)
    at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:14625:26)
    at _callTimer (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:14514:17)
    at _callReactNativeMicrotasksPass (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:14552:17)
    at callReactNativeMicrotasks (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:14755:44)
    at __callReactNativeMicrotasks (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:3583:48)
    at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:3447:45)
    at __guard (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:3555:15)
    at flushedQueue (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:3446:21)
    at invokeCallbackAndReturnFlushedQueue (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-ewsyxzklwwggmtdeyavpfmrkhqhv/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:3440:33)

When iOS is working, Android is not and vice versa.

This has been been variously nagging and haunting me. I don't know if the multiple client theory has any merit but in brief the description of the problem is: intermittently when using multiple mobile clients one will stop synching. On Android, there's no error, it just minimizes the app (this part could be an Android thing) and stops synching. On iOS, when it's not working it gives an uploadBlob timeout error (above). The problem only seems to impact the mobile clients, not the desktop.

Any thoughts would be appreciated!

Could you maybe search for this resource 4a288ebb5cd540339b6bf67b8b81eb73 to find out how large it is? If it's unusually large, like several GB, that may be the issue.

And is it always on that resource?

Thanks... I searched both desktop and mobile clients and couldn't find a note with that ID so.. I don't know. Anyhow, I don't believe I have any notes that are that large.

As of now, I just keep trying and eventually I can get one to start a sync.