-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
App does not not log in on Android or crashes #3427
Comments
Can you create us a test account, test if the problem occurs also there and if so send the credentials to tobias at nextcloud dot com with a reference to this issue? |
@tobiasKaminsky Test account created and credentials just sent via Email. Interestingly, the problem does not occur with the test account! I am confused. Hmm... my own user was a fresh one, I did not import any backup which could have imported old problems... |
If the problem does not occur on the test account, I cannot try to reproduce it. |
@tobiasKaminsky Tried that today. Same error without admin rights. Still no log entry in the settings when the issue occurs on the phone. I don't wanna invest more time here bugfixing it, especially because it seems I cannot make it reproducible for you. I probably create a new user for me and take the effort of migrating the configuration (esp. calender, contacts). |
Is the problematic username something special? Like special chars, whitespaces, etc? |
@tobiasKaminsky: Nope, just normal chars. |
Update: After update to 15.0.2 today, an error is shown. I updated the problem description in the very first post. |
@nextcloud/server-triage do you have an idea? |
@tobiasKaminsky Could you reproduce this on your device? Because I'm not aware of something related to this. It looks like the HTTP header is not correctly send over. |
No, I cannot reproduce it and @MathiasRenner also cannot reproduce it with a new account… |
Update: For me this is reproducible now. Any new user I create and try to log in with in the Android App fails. It's always the same error as above. I did not change the environment, just added and deleted new users to try out... This is really frustrating :-( @tobiasKaminsky I just sent you new login infos. |
@MorrisJobke thanks to the credentials by @MathiasRenner I can now reproduce it. |
As we get "Error Invalid request" I assume that somewhere the header is not correctly passed and thus it refuses to login. |
There is something strange happening during weblogin flow, we cannot debug this from here. Can you give us a bit more insight on your server? apache/nginx? config, etc? |
@tobiasKaminsky Thanks for your effort. There is not much config. Traefik just forwards incoming requests to the domain to the latest official nextcloud container... |
@tobiasKaminsky Figured out that this bug is introduced with server version 15 and higher. I deleted my testing env (incl. your test account) and will go down to 14.0.6 now, waiting until v 15 is of higher quality. I am not that eager in testing more, wanna use the system eventually :-) |
@nextcloud/server-triage do you have an idea how we can help @MathiasRenner to get this working on 15+? |
Not really. Since this is working as advertised on all the instances I have access to. And without a test system there is not really a way to fix this. Only thing that might be is it that |
Ok, then I'll close this for now, as I read that the test system is deleted. |
Actual behaviour
Cannot login into nextcloud with official app. This bug has been filed here #1738 for app version 2, but now I have a similar issue with the latest app.
Expected behaviour
Steps to reproduce
Provide server URL and credentials to the app via the wizard. The credentials seem to be accepted, this screen is shown:
Environment data
Android version:
LineageOS 14.1, Android 7.1.2
Device model:
Samsung S7, SM-G930F
Stock or customized system:
Stock system with MariaDB. Docker images fresh from upstream, no relevant changes in config.
Nextcloud app version:
3.4.1
Nextcloud server version:
15.0.0
Logs
Neither in Nextcloud server nor in App are relevant log entries. I used LogCat to record the log while reproducing this issue.
Fun facts
Several notebooks are connected with the same account I'd like to use on the phone to the app and work fine.
Also the "Notes" app with the same Account works fine. The Nextcloud app is the only part in the ecosystem I have an issue with.
I had the same issue with version 13 of Nextcloud. Updating to v 15 unfortunately did not help.
The text was updated successfully, but these errors were encountered: