-
Notifications
You must be signed in to change notification settings - Fork 30
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
NextcloudApiNotRespondingException #162
Comments
@tobiasKaminsky just said, this is reproducable when the files app is updated and SSO should recreate the API instance after a 5s timeout 🤷♂ |
Okay, I tried reproducing the issue. I installed the news app and put it into debugging mode. I updated the nextcloud files app using the following command: ./adb install ~/Downloads/gplay-release-30100090.apk As I would expect I was able to see the following in the LogCat:
So the lost connection (due to the reinstall process) is re-established successfully. So at this point I'm not able to reproduce the issue. I'll need to investigate a little further.. |
I've tried connecting with both, the "stable" version of NextCloud Files and the dev version, from the F-Droid repository, as well as the Google Play version. None worked properly. Is there any solution for this yet? |
@teras Unfortunately not. I'm on my way back from my vacation and hopefully I'll have some time in the next few days to investigate further. I didn't update my nextcloud files app on the phone yet so I am hoping to be able to reproduce the error and grab some logcat output from it. Like I said before manually reinstalling the files app using Call for action: If anyone wants to help to investigate this issue, it would be very helpful to grab the logcat output (of both the nextcloud files app as well as the client app; e.g. nextcloud news / nextcloud notes) while updating the nextcloud files app trough the app store. |
Looks like I was able to fix this issue today. Planning on releasing a new version in the next couple days. Reference: #163 |
Here we go again :( SSO-Version |
Another one: nextcloud/notes-android#753 (comment) Though i find the different stack traces interesting. The first one looks like 5 retrys, the second one has only one entry. |
Another one with 2 stack traces: nextcloud/notes-android#710 (comment) (If i receive another stacktrace i will merge all references to one comment to not flood this thread) |
This comment has been minimized.
This comment has been minimized.
I'm seeing this issue as well:
|
And did you follow the steps we mentioned earlier in this thread @PinkFreud ? Edit Sorry @PinkFreud i was in the wrong issue - Please read starting here: nextcloud/notes-android#752 (comment) TL;DR: Clear Storage of both apps, Notes and the main Nextcloud android app. |
This was almost a month ago (sorry, I seem to have missed your reply, argh!), but I did manage to get it working. I don't recall what I did now, but I may very well have done that. |
Relevant closed Meizu issue: nextcloud/notes-android#753 I installed Notes and Deck apps for Android on Meizu M5s, and they both didn't work because of the NextcloudApiNotRespondingException error. I fixed the issue by disabling Smart Background feature and allowing all Nextcloud related apps to run in the background. Previously I tried clearing cache, storage and reinstalling apps multiple times without any positive results. Logs are the same as above, so I won't provide them. |
@David-Development Good Day! Count 3 apps now!! Nextcloud-bookmark I wished to integrate SSO with Nextcloud bookmark. the latest code is here. However, this is stopping me from releasing the fix for SSO. This feature is already live however this issue blocking SSO feature. |
For documentation @David-Development another one where disabling battery optimization worked as solution: nextcloud/notes-android#710 (comment) |
Just reiterating what I said in nextcloud/notes-android#1312 For me battery optim or autostart (or basically anything) haven't fixed it. But scratching app storage did: Notes re-requested the NC account then re-pulled the data and now it works. However I have the suspicion that if I do not use the app for a while (weeks?) it will be stopped by the |
By now two apps are having issues with the
NextcloudApiNotRespondingException
Bug.A few days ago I was experiencing the same issue on my device (I think right after I updated the news app via the play store). Several restarts of the app did not help. Only setting up the account again solved the problem for me. Still not sure if the Nextcloud Files App has something to do with it or if the problem is on the "client" side. @stefan-niedermann Do you have new insights into why this error happens? Or any ideas if the files app is involved in this?
Maybe some old Service Connections are reused which are broken? But that wouldn't make sense in terms of the app restarts I performed. Maybe restarting the phone helps..? That would be interesting to find out.
Confirmed devices
The text was updated successfully, but these errors were encountered: