Bug syncing file using notes all of a sudden (recently updated server and android client)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 43/100
Piste de recherche
Start with the account update handling at ManageAccountsActivity.java:208 and the sync upload path at NotesServerSyncTask.java:150, using the two reported stack traces to follow the failures. Check whether the account error and upload error share a cause after the server and client updates. Done means account recovery works and the edited file syncs successfully without reporting changes when client and server content already matches.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
This issue respects the following points:
- I have read the FAQ
- I have searched for existing issues
- The issue affects the Notes Android app, neither the Notes server app nor the Nextcloud Android app.
Describe the bug
I opened an existing file in the notes app
I edited it
I closed it (it tried to sync and failed with this exception).
I checked the accounts section afterwards and a red circle shown for my account
I couldn't see how to update it so I tried to add a new account, it offered me the same account as an option so I picked it, it updated the existing one and the red circle is now gone but, because I updated the file using the nextcloud app to stop me losing the data, it now fails to sync the file with a new error... I guess technically these are two independent bugs, but they are so likely linked I've added both here
Expected behavior
The file should have synced. It looks like an auth token expired and it should have regenerated a new one itself.
The file sync should have later on correctly identified no changes between client and server and marked the sync as complete
Error 1:
App Version: 35.0.0
App Version Code: 350000090
App Flavor: play
Files App Version Code: 17939 (QA)
Files App Version Code: 350000290 (PROD)
---
OS Version: 4.19.87-27102101(G986BXXSNHYB1)
OS API Level: 33
Device: y2s
Manufacturer: samsung
Model (and Product): SM-G986B (y2sxeea)
---
android.accounts.NetworkErrorException: HTTP status code: 900
at it.niedermann.owncloud.notes.manageaccounts.ManageAccountsActivity$4.lambda$onResponse$0(ManageAccountsActivity.java:208)
at it.niedermann.owncloud.notes.manageaccounts.ManageAccountsActivity$4.$r8$lambda$0gcJTC3yWwHnIcKPdOGbwaOpT10(ManageAccountsActivity.java:0)
at it.niedermann.owncloud.notes.manageaccounts.ManageAccountsActivity$4$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Error2:
App Version: 35.0.0
App Version Code: 350000090
App Flavor: play
Files App Version Code: 17939 (QA)
Files App Version Code: 350000290 (PROD)
---
OS Version: 4.19.87-27102101(G986BXXSNHYB1)
OS API Level: 33
Device: y2s
Manufacturer: samsung
Model (and Product): SM-G986B (y2sxeea)
---
java.lang.Exception: {"errorType":"Exception"}
[com.nextcloud.android.sso.InputStreamBinder.processRequestV2(InputStreamBinder.java:440), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestAndBodyStreamV2(InputStreamBinder.java:113), com.nextcloud.android.sso.InputStreamBinder.performNextcloudRequestV2(InputStreamBinder.java:96), com.nextcloud.android.sso.aidl.IInputStreamService$Stub.onTransact(IInputStreamService.java:112), android.os.Binder.execTransactInternal(Binder.java:1316), android.os.Binder.execTransact(Binder.java:1280)]
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.pushLocalChanges(NotesServerSyncTask.java:150)
at it.niedermann.owncloud.notes.persistence.NotesServerSyncTask.run(NotesServerSyncTask.java:99)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:520)
at java.util.concurrent.FutureTask.run(FutureTask.java:328)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1100)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:1571)
Notes Android version
35.0
Notes server version
35.0
Nextcloud Android version
35.0.2
Nextcloud version
35.0.2
Device
Samsung s20 plus
Android Version
13
App Store
- Google Play Store
- F-Droid
- Huawei App Gallery
Stacktrace
App Version: 35.0.0
App Version Code: 350000090
App Flavor: play
Files App Version Code: 17939 (QA)
Files App Version Code: 350000290 (PROD)
OS Version: 4.19.87-27102101(G986BXXSNHYB1)
OS API Level: 33
Device: y2s
Manufacturer: samsung
Model (and Product): SM-G986B (y2sxeea)
android.accounts.NetworkErrorException: HTTP status code: 900
at it.niedermann.owncloud.notes.manageaccounts.ManageAccountsActivity$4.lambda$onResponse$0(ManageAccountsActivity.java:208)
at it.niedermann.owncloud.notes.manageaccounts.ManageAccountsActivity$4.$r8$lambda$0gcJTC3yWwHnIcKPdOGbwaOpT10(ManageAccountsActivity.java:0)
at it.niedermann.owncloud.notes.manageaccounts.ManageAccountsActivity$4$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
- Langage dominant
- Java
- Étoiles
- 1.1k
- Forks
- 176
- Merge moyen
- 21 h 27 min
- PR mergées (30 j)
- 32
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de nextcloud/notes-android
-
enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
nextcloud/notes-android#3367 ·
Les mainteneurs répondent en général sous 1 jour
-
0. Needs triage bug
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
nextcloud/notes-android#3353 · 2 commentaires · 2 réactions ·
Les mainteneurs répondent en général sous 1 jour
-
Sync failurePeut-être pris Une pull request liée à cette issue est ouverte ou déjà fusionnée. Ouverte0. Needs triage bug
Difficulté 4/5 3-5 jours Accessibilité débutants 18/100
nextcloud/notes-android#3420 · 2 commentaires · 3 réactions ·
Les mainteneurs répondent en général sous 1 jour
-
Android 17 Behavior changesOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 38/100
nextcloud/notes-android#3418 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
nextcloud/notes-android#3415 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de nextcloud/notes-android
Issues similaires
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
Vakore/ZappierGames#285 ·
-
Type: Possible bug
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
AntennaPod/AntennaPod#8895 ·
Les mainteneurs répondent en général sous 1 jour
-
bug build failed
Difficulté 1/5 Moins d'une heure Accessibilité débutants 91/100
objectionary/eo#9852 · 1 commentaire ·
Les mainteneurs répondent en général sous 2 jours
-
dependencies enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
BrendonButler/Shops#79 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
jdsalasca/open-civic-signal-os#144 ·
Les mainteneurs répondent en général sous 1 jour