Problems to sync with JoplinCloud on my iPad

Operating system

iOS

Joplin version

3.5.5

Desktop version info

Joplin Mobile 13.4.4
iOS 26.0.1

Sync target

Joplin Cloud

What issue do you have?

Hello,
I'm trying to get my JoplinCloud data on my iPad Air 2
Everything is ok on my iPhone or Mac but when i try to sync on my iPad it doesn't manage to get all the notes.
It starts getting some, then i get some Timeouts or Internal Server Errors in the logs.
When i restart my ipad and try again it can get some more notes but always ends in getting those errors .. what can i check ?

Example of logs :
10-31T10:59:46: JoplinServerApi: curl -v -X GET -H "X-API-AUTH: ******" -H "X-API-MIN-VERSION: 2.6.0" 'https://api.joplincloud.com/api/items/root:/:/delta?'
10-31T10:59:46: JoplinServerApi: Code: 500
10-31T10:59:43: root: root.biometrics: shouldShowMainContent
10-31T10:59:43: root: root.biometrics: this.state.sensorInfo

or

Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4278:38)
at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4034:31)
at __guard (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4224:15)
at callFunctionReturnFlushedQueue (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4033:21)
10-31T10:59:56: JoplinServerApi: curl -v -X GET -H "X-API-AUTH: ******" -H "X-API-MIN-VERSION: 2.6.0" 'https://api.joplincloud.com/api/items/root:/:/delta?'
10-31T10:59:56: JoplinServerApi: Code:
10-31T10:59:51: root: root.biometrics: biometricsDone

Thanks for your help

It may have been a one off issue - could you try again please?

I have restarted it and i still get Network request failed and Internal Server errors, it keeps on trying but no new notes are coming .. :frowning:

i have closed the app and then restarted it and now i have a huge list of fetchingProcessed : Processing fetched item .. i hope it will stay like that

No it just crashed again : Gateway timeout

I don't know what to do :frowning:

With the logs :


nginx/1.18.0 (Ubuntu)

Code: 504
Error: Error 504 Gateway Timeout:

504 Gateway Time-out

504 Gateway Time-out


nginx/1.18.0 (Ubuntu)
at construct (native)
at apply (native)
at _construct (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:413362:28)
at Wrapper (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:413326:42)
at construct (native)
at _callSuper (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:413292:106)
at JoplinError (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:413301:26)
at newError (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:614854:46)
at ?anon_0_ (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:614897:29)
at throw (native)
at asyncGeneratorStep (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:108321:26)
at _throw (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:108343: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-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:28657:26)
at _callTimer (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:28575:17)
at _callReactNativeMicrotasksPass (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:28605:17)
at callReactNativeMicrotasks (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:28769:44)
at __callReactNativeMicrotasks (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4241:48)
at anonymous (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4052:45)
at __guard (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4224:15)
at flushedQueue (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4051:21)
at invokeCallbackAndReturnFlushedQueue (/Users/laurent/Library/Developer/Xcode/DerivedData/Joplin-edxzozheopbzrxcbnoxpcrfiiktm/Build/Intermediates.noindex/ArchiveIntermediates/Joplin/BuildProductsPath/Release-iphoneos/main.jsbundle:4045:33)

10-31T16:13:55: JoplinServerApi: curl -v -X GET -H "X-API-AUTH: ******" -H "X-API-MIN-VERSION: 2.6.0" 'https://api.joplincloud.com/api/items/root:/:/delta?cursor=HT9DLW6lpzOHVsJC0TeuFu'
10-31T16:13:35: RevisionService: maintenance: Done in 145ms
10-31T16:13:35: RevisionService: collectRevisions: Created revisions for 0 notes
10-31T16:13:35: RevisionService: maintenance: Starting...
10-31T16:13:35: RevisionService: maintenance: Service is enabled
10-31T16:13:05: RevisionService: maintenance: Done in 153ms
10-31T16:13:05: RevisionService: collectRevisions: Created revisions for 0 notes
10-31T16:13:05: RevisionService: maintenance: Service is enabled
10-31T16:13:05: RevisionService: maintenance: Starting...
10-31T16:12:53: Synchronizer: Sync: fetchingProcessed: Processing fetched item
10-31T16:12:53: Synchronizer: Sync: fetchingProcessed: Processing fetched item
10-31T16:12:53: Synchronizer: Sync: fetchingProcessed: Processing fetched item
10-31T16:12:53: Synchronizer: Sync: fetchingProcessed: Processing fetched item
10-31T16:12:53: Synchronizer: Sync: fetchingProcessed: Processing fetched item
10-31T16:12:53: Synchronizer: Sync: fetchingProcessed: Processing fetched item
10-31T16:12:53: Synchronizer: Sync: fetchingProcessed: Processing fetched item
10-31T16:12:53: Synchronizer: Sync: fetchingProcessed: Processing fetched item

Hmm i have installed the latest version of prerelease on my Mac too today and now it is not synchronizing anymore with Internal Server Error from JoplinCloud :frowning:

EDIT : Ok now but there were errors before succeeding

After two days of trying to sync on my iPad, it is still getting many errors from Joplin Cloud.
Maybe i could give you exact hours of these errors to allow you to check the servers' logs ?
I have let my iPad download, but it is really really slow with all these errors ..

I'm sorry but it's still impossible to finish a sync with the iPad, I have too many Gateway timeout.
What could i do ? can i send you a full log by mail with precise hours of errors to let you check ?

I have seen other posts about almost the same errors but they are quite old and should be fixed now

Thanks for your help

Just one small note, i have tried to sync everything to a self hosted Joplin Server and it works fine on the iPad .. so it really seems to be when sync-ing on JoplinCloud that causes these issues

1 Like

Maybe in sync advanced settings, try setting max connections to 20, or if no luck try setting it to 1. And maybe try toggling the ignore tls certificate errors option as well, but that’s a longshot.

Also is it an old or new iPad?

Hello,
thanks for your answer. I have tried both solutions : huge number of connections or only one connection and it seems to do the same ..
The Joplin Cloud connection is https and it works fine for some first items and then get the error .. if i restart everything it manages to connect correctly and the process starts but not for long.

It is a iPad Air 2 quite old but it works fine with latest iOS.

I have switched to my own Joplin Server in Docker and it works perfectly .. I wish i could stay on JoplinCloud to avoid admin tasks but well for the moment it's ok and it's sync-ing all notes with no issues.

1 Like

FYI if you ever think of going back to Joplin Cloud at some point:

Thanks @mrjo118
Nice to see that i'm not the only one with this issue, it's not my iPad's fault :slight_smile:
I hope something will get fixed soon.. I was a bit disappointed by lack of answer for an issue which was coming from the remote server and I think I'll stay with my Joplin Server for now.
Maybe there are some huge memory/cpu usage when synchronizing large libraries : the example we see there seems to have more than 60000 notes.
I also have a big number of notes and when i was trying Joplin Server on a small VPS (4GB + 8 vCpu) it crashed quickly because it needed a huge amount of RAM and CPU to sync (even if no notes are too big) .. Maybe there's something to do to avoid using too much memory/cpu when sync-ing E2EE big libraries ?