-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
Authentication problem #125
Comments
Me, too. |
Me, too. edit : install cert not working too |
I'll have a look. i assume only the latest version of the server app (2.0.2) is affected? |
On my server it is the previous and the latest. Before I didn't use it. |
Same issue. |
Please wait for 0.9.0 where more detailed error messages are generated. maybe we can find the source of the issue easier (i can not reproduce it :/ ) |
Greetings, Thank you! |
Hi, I just updated through F-Droid, I still have the same issue :( I made some other tests (short/long passwords, with ou without special characters, self-signed or official certificate...), and I don't have anything in my server's log. Can the Android app generate some useful log with this new version ? |
Bummer. I was hoping it would fix your problem too. I agree, it would be nice to get more detail of what is going wrong. |
@Dark-Fenix what das the Toast say? @dklueh79 @gantispam @frederiiiic can you retest, too, please? |
@stefan-niedermann Sorry, but what do you mean by the "Toast" ? :) |
Toasts are the small message pop ups at the bottom in android ;-) https://developer.android.com/guide/topics/ui/notifiers/toasts.html |
So here is the Toast : "Invalid login : server connection is broken". Sure fact : my other ownCloud apps (for files and news) run well, so it is not network-related. |
The error is right now for me in french : "Détails de connexion incorrects: Erreur d'E/S" I think it's not the same meaning... but i don't known what is an E/S error... As @Dark-Fenix, some other app are working fine. Thanks. |
I think, we should provide the full java exception thrown somewhere in the app, so debugging will be easier. However, could this be a certificate problem? Maybe you could try to manually import the certificates for your domain with the app CAdroid (e.g. https://f-droid.org/repository/browse/?fdid=at.bitfire.cadroid, also in Google Play). |
@Dark-Fenix , @frederiiiic |
Ok, here is little feedback about some tests we have made :
The error message changed since morning (don't know why) : "Invalid login : URL/server has errors". So :
|
I think it would be useful (almost necessary) to integrate a good logging solution into the app. Maybe, there are frameworks for this. But I haven't tried any, just found https://github.com/ACRA/acra . Do you have any experiences, @stefan-niedermann ? Meanwhile, I sent a version with more logging in form of toasts to @Dark-Fenix . I hope we find the error source on this way. |
@korelstar : I can't install your apk, I have a message "Parse error : There was a problem parsing the package". |
Strange. I've made a pull request with my changes, so @stefan-niedermann could provide an updated version in F-Droid. Then, the installation should work. The pull requests only introduces a toast with more information. In the long-term, a better logging solution has to be used (see above). |
The installation issue could be caused by f-droud signing. try delete the old app (no data should be lost) first please. |
About logging, yeah, i agree. maybe there is some kind of standard solution for android, let's google it ;-) |
Nevertheless, I suggest to merge #145 until a better solution is found. The next user with problems will come for sure 😉 |
I have a similar problem as described in: #168 Connecting via http works but https does not! On the other hand the MyOwnNotes app works with https as expected. |
Same issue for me. |
Hi, I have the same problem... no solution. |
@adamsson6 Please help in finding the source for this bug: please don't copy all of your notes at once back to your folder after removing them, but do this stepwise and check at each step if the app still works. Then please give detailed information about the kind of note (e.g. filename, size, ...) which breaks the app. See also: nextcloud/notes#75 |
@dimqua please try it with https:// in front of your domain -> https://cloud.disroot.org |
I'm copying a message i posted in another thread for my problem : I ve made some more advanced tests, syncing at each modification. And i found that it was in the content of some files, i don't know why, nor which characters create the problem, but it's it. For example : file addressnumber2.txt contains " word1, word2, blabla..." I hope these information could help ! |
@adamsson6 |
Yes, i found a way to convert all my notes into utf8. But now i'm facing another problem... connexion in https doesn't work :) I tried with 3 accounts, one of them with empty notes folder. I doesn't want to connect. |
Not yet. There is a pull request, which waits for a review from @stefan-niedermann :-)
|
Oh okay so that's the problem thanks. |
Now it's working with http + notes clean. It helped me a lot ! |
@stefan-niedermann with https doesn't work too (nextcloud 12), but with nextcloud 11 works fine. |
It seems I had the same problem with authentication. After converting encoding from ANSI to UTF-8 it's working again. |
I believe I have the same error message as Dark-Fenix (on Oct 7, 2016). (It is auto-translated to Swedish, but it seems to be a direct translation). In my case it seems to be related to using https:// (doesn't work, says Invalid login: Server connection is broken). If I use http://, it works. I have a Let's encrypt certificate, so no self-signed. Chrome, on the same phone, accepts the certificate as an official one. I'd be happy to send you a test account if needed! --- UPDATE!!! --- @Vitriia, maybe you could check your server? |
Okay folks. I would like to thank you all for contributing here. Hunting bugs is very important, especially if it causes one to be not able to use the app at all. Though this issue has gone completely wild, because many people responded who had similar (still different) problems.
I would like everyone here who still hast connection issues, to wait for |
Hi,
I just installed the app from F-Droid on my Andoid phone (Cyanogen 13.0, Android 6.0.1) and my tablet (Cyanogen 12.1, Android 5.1.1).
On both devices, I can't connect to my ownCloud instance (I get an error message about a "failed login"). I tried with other accounts on the same server, in both http and https, same issue. Unfortunately I can't test on an other ownCloud instance for now.
I installed the Notes app from the official Github repo (ownCloud 9.1.0, Notes 2.0.2).
Tell me if you need whatever information or log message.
Thanks :)
The text was updated successfully, but these errors were encountered: