element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Cannot login even though I can with web and MacOS app

Open ccjon opened this issue 5 years ago • 11 comments

I have two sessions open: on in MacOSX Element app and one in web browser Element app. I reset my pw and re logged in to both and imported session message keys into both successfully. Then I downloaded the Element Android app. But I cannot login using the Android app (matrix.org) using email or username. I have never used the Android app b4.

To Reproduce Steps to reproduce the behavior:

  1. Open android app
  2. Select a server: matrix.org
  3. Click Sign In
  4. Enter username and pw or email and pw

Exclamation mark icon displays next to username/email field and message is 'invalid username and/or password'

Expected behavior Get logged in.

Screenshots If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: Cat s61
  • OS: Android 9

Additional context

  • App version and store [e.g. 1.0.4 - Play Store]
  • Homeserver: matrix.org

ccjon avatar Aug 15 '20 01:08 ccjon

Did you enter your full username? For example: @user:matrix.org?

TR-SLimey avatar Aug 16 '20 11:08 TR-SLimey

I can successfully login using full matrix id (ex: @user:matrix.org), simple matrixId (ex: user) or email and the password of the account.

@ccjon ensure that you are using the correct password...

bmarty avatar Aug 17 '20 11:08 bmarty

I have the same issue here, but on a Element Matrix Services server.

I double-checked my user name, password, and server address : still can't login. I also tried with my full matrix id.

Actually, 3 different users of my EMS server reported that they couldn't login through the Android app.

I have physical access to these users and double-checked their login info with them : not one managed to login.

druxstr avatar Aug 27 '20 15:08 druxstr

Do you still have the issue with the latest Element Android application? This issue is getting old and I would like to fix it or to close it.

bmarty avatar Apr 29 '21 13:04 bmarty

I have this issue, i had element android working ok, but it did something screwy (or I did) so I logged out of the session, and tried logging back in. the login sequence is different to how I remember it, but put my home server in the customer server field:

http colon // matrix (dot) erb (dot) pw

then on next page enter my username and password. username either as @user:home.server.domain or just user, and the password which I reset to something simple just to eliminate me being stoopid.

I can log in fine on desktop and web, but not through android anymore. Please fix.

Interesting side note; I have a user on matrix.org with the same username, which i had before I made my own homeserver. If I reset my own homeserver's user's password to the same password that I use on matrix.org and enter my homeserver details, it will sign me in, but to the matrix.org's user instead.

So I wonder if there's something borky going on with the new sign in process in the android app. It's either ignoring the custom homeserver entirely and just assuming matrix.org is the homeserver, or something else like that.

christiansacks avatar Apr 27 '22 00:04 christiansacks

I also tried logging in with the matrix id as @user:my.home.server and that still doesn't work. I did the rage shake submit reports a few times with various screenshots for you's.

christiansacks avatar Apr 27 '22 00:04 christiansacks

same... :( I can login into my homeserver with desktop app, windows, but when i enter same homeserver url with android it just says unrecognized request

andzejsp avatar Oct 23 '23 20:10 andzejsp

for me, 'well_known_client_name:' dendrite config entry was missing/empty. Setting it resolved my 'unrecognized request' error on android element.

randyg503 avatar Nov 03 '23 03:11 randyg503

turned out my problem was my reverse proxy not forwarding well-known locations, so if your your federation is not working then you cant loging using the app, even though youre on the same network - wifi

andzejsp avatar Nov 04 '23 13:11 andzejsp