Nextcloud Notes App - Daten werden nicht korrekt abgerufen

Hallo,
ich nutze die Niedermann IT Notizen App und bekomme Fehlermeldungen.
Laut dem Support ist wohl meine NC App dafür verantwortlich.

Alle notwendigen Energie Modies sind abgeschaltet.

OS Version: 4.14.141(1628061231)

OS API Level: 29

Device: Gigaset_GS4

Manufacturer: Gigaset

Model (and Product): E940-2795-00 (Gigaset_GS4_EEA)

java.lang.RuntimeException: com.nextcloud.android.sso.exceptions.NextcloudApiNotRespondingException: Die API der Nextcloud Dateien-App reagiert nicht. Dies ist höchstwahrscheinlich auf die Akkuoptimierungen Ihres Telefons zurückzuführen. Versuchen Sie, die Akkuoptimierung für beide Apps (Nextcloud Android und diese App) zu deaktivieren. In allen anderen Fällen versuchen Sie bitte, den Speicher beider Apps zu löschen.
at io.reactivex.internal.util.ExceptionHelper.wrapOrThrow(ExceptionHelper.java:46)
at io.reactivex.internal.observers.BlockingMultiObserver.blockingGet(BlockingMultiObserver.java:93)
at io.reactivex.Maybe.blockingGet(Maybe.java:2321)
at io.reactivex.Observable.blockingSingle(Observable.java:5381)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pullRemoteChanges(NotesServerSyncTask.java:219)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:96)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: com.nextcloud.android.sso.exceptions.NextcloudApiNotRespondingException: Die API der Nextcloud Dateien-App reagiert nicht. Dies ist höchstwahrscheinlich auf die Akkuoptimierungen Ihres Telefons zurückzuführen. Versuchen Sie, die Akkuoptimierung für beide Apps (Nextcloud Android und diese App) zu deaktivieren. In allen anderen Fällen versuchen Sie bitte, den Speicher beider Apps zu löschen.
at com.nextcloud.android.sso.api.AidlNetworkRequest.waitForApi(AidlNetworkRequest.java:162)
at com.nextcloud.android.sso.api.AidlNetworkRequest.performAidlNetworkRequestV2(AidlNetworkRequest.java:298)
at com.nextcloud.android.sso.api.AidlNetworkRequest.performNetworkRequestV2(AidlNetworkRequest.java:180)
at com.nextcloud.android.sso.api.NextcloudAPI.performNetworkRequestV2(NextcloudAPI.java:199)
at com.nextcloud.android.sso.api.NextcloudAPI.lambda$performRequestObservableV2$1$com-nextcloud-android-sso-api-NextcloudAPI(NextcloudAPI.java:129)
at com.nextcloud.android.sso.api.NextcloudAPI$$ExternalSyntheticLambda2.subscribe(Unknown Source:6)
at io.reactivex.internal.operators.observable.ObservableFromPublisher.subscribeActual(ObservableFromPublisher.java:31)
at io.reactivex.Observable.subscribe(Observable.java:12284)
at io.reactivex.internal.operators.observable.ObservableSingleMaybe.subscribeActual(ObservableSingleMaybe.java:31)
at io.reactivex.Maybe.subscribe(Maybe.java:4290)
at io.reactivex.Maybe.blockingGet(Maybe.java:2320)

Unfortunately I can’t tell you more than i already told you - just want to put some more background information in here for other people reading this:

  1. The NextcloudApiNotRespondingException is not directly caused by the Notes Android app, but by the Single-Sign-On library provided by Nextcloud
  2. This type of exception is known and indicates that the 3rd party app (Notes in this case) is not able to communicate with the Nextcloud Android app
  3. Known workarounds are
  4. There is an open issue in the repository of the SSO lib which tries to gather information to find some commonality (manufacturers, OS version, …).

Maybe @tobiasKaminsky or David Luhmer can weigh in and further investigate the cause and help finding workarounds for the cases where the proposals did not help like yours. At least from my point of view (= the view of 3rd party app), there is nothing I can do to fix the actual issue. :slightly_frowning_face:

1 Like

sorry guys… due to german-only on TS i moved this topic to subforum german. You guys could go on talking german now.

Hi,

ich habe nun herausgefunden, das wenn ich die Nextcloud App vorher öffne, dann der Zugriff auf Notizen in Funktion ist.
Vermutlich liegt es auch am Android 10…