Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deck (and Notes) apps stopped syncronizing after update - Offline exception #1619

Open
4 of 7 tasks
tezeb opened this issue Apr 30, 2024 · 2 comments
Open
4 of 7 tasks

Comments

@tezeb
Copy link

tezeb commented Apr 30, 2024

This issue respects the following points:

Describe the bug

  1. Open 'Nextcloud Deck' app
  2. Pull down for sync
  3. Offline exception show up

The issue seems related to #1604, but the resolution there does not help in my case.
It also happens in Nextcloud Notes app, but official Nextcloud client works fine.
I tried curl command from that issue and it works fine: curl https://<username>:<passwod>@example.com/ocs/v2.php/cloud/capabilities?format=json -H 'OCS-APIRequest: true', response contains expected json.
I had Nextcloud Deck app installed previously (and working) and this started to happen with one of recent updates.
I don't remember if I ever switched 'Sync only on Wi-Fi', but I doubt it and it is currently switched off.

I've also tried updating Nextcloud server, but this did not change anything. I am using self-hosted instance without Cloudflare.

Expected behavior

Sync completes succesfully.

Deck Android version

1.24.1

Deck server version

1.9.2

Nextcloud Android version

3.28.2

Nextcloud version

26,28,29

Device

Sony Xperia

Android Version

12

App Store

  • Google Play Store
  • Google Play Store (Beta channel)
  • F-Droid
  • Huawei App Gallery

Stacktrace

App Version: 1.24.1
App Version Code: 1024001
Server App Version: 1.9.2
App Flavor: fdroid

Files App Version Code: 30280290 (PROD)

---

OS Version: 4.4.302-gf0cba75d4546(eng.root.20240112.013109)
OS API Level: 32
Device: H4113
Manufacturer: Sony
Model (and Product): H4113 (H4113)

---

it.niedermann.nextcloud.deck.exceptions.OfflineException: Connection rejected
	at it.niedermann.nextcloud.deck.remote.api.ServerCommunicationErrorHandler$Handler.handle(ServerCommunicationErrorHandler.java:52)
	at it.niedermann.nextcloud.deck.remote.api.ServerCommunicationErrorHandler.translateError(ServerCommunicationErrorHandler.java:28)
	at it.niedermann.nextcloud.deck.remote.api.RequestHelper$ResponseConsumer.onFailure(RequestHelper.java:95)
	at it.niedermann.nextcloud.deck.remote.api.RequestHelper$ResponseConsumer.onResponse(RequestHelper.java:70)
	at com.nextcloud.android.sso.helper.Retrofit2Helper$1.lambda$enqueue$0(Retrofit2Helper.java:87)
	at com.nextcloud.android.sso.helper.Retrofit2Helper$1.$r8$lambda$n0izO5V3AflskH7z1H8dSLmVKXo(Unknown Source:0)
	at com.nextcloud.android.sso.helper.Retrofit2Helper$1$$ExternalSyntheticLambda0.run(Unknown Source:6)
	at java.lang.Thread.run(Thread.java:920)
@stefan-niedermann
Copy link
Owner

Did you already try clearing the storage of the corresponding Android clients and reimport your account? If that does not help, please also try removing your account from the Nextcloud Android App (Not Deck nor Notes) and try setting it up again for the sake of completness. Keep in mind that un- and reinstalling apps is not the same.

If you don't have success please set up a temporary test account on your instance and send the credentials to info@niedermann.it

@tezeb
Copy link
Author

tezeb commented May 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants