lloydtorres / stately

A NationStates app for Android.
https://play.google.com/store/apps/details?id=com.lloydtorres.stately
Apache License 2.0
30 stars 8 forks source link

Can't login anymore #16

Open drehtisch opened 5 years ago

drehtisch commented 5 years ago

I recently changed my password. And it works fine on the website. But if i try to login with that same combination on the app it says "invalid nation name or password".

I tried to delete the app data and to reinstall the app but the problem persists. Does someone have an idea how to solve that problem?

Same behaviour with another nation i yesterday created which i never used with stately. Login on Nationstaates works but on stately not.

I'm using Keepass2Android could this be an problem?

lloydtorres commented 5 years ago

Hi! This is a major issue that's been plaguing a fair amount of users. I haven't been able to track it down to something specific since I haven't been able to reproduce it.

I have some ideas on how to possibly fix it or at least mitigate it, but I'll need someone facing the issue to test out my fixes. Would you mind if I sent you beta versions of the app to test out?

drehtisch commented 5 years ago

I do have this issue on different devices as well. I wouldn't mind to help solving this Issue by testing an beta version.

drehtisch commented 5 years ago

Any updates on this? The issue still persists :(

Tomaasci commented 4 years ago

Yes, it still persists.

SJTheGreat06 commented 1 year ago

Yep, same problem with me as well! I can't login in on the app...

iSaluki commented 1 year ago

I've just observed this issue on my first install of the app, making it unusable for me.

lloydtorres commented 1 year ago

Sorry all for the continued login issues. Unfortunately, I'm not able to repro the issue on my end.

To help debug the issue, can folks comment on:

SJTheGreat06 commented 1 year ago

Sorry all for the continued login issues. Unfortunately, I'm not able to repro the issue on my end.

To help debug the issue, can folks comment on:

  • Which Android device and OS version are they using
  • Which keyboard is used to type on the device (e.g. default system keyboard, a keyboard app, physical keyboard)
  • Whether copy-pasting credentials (either manually or through a password manager) resolves the issue
  • Whether resetting nation passwords on NationStates resolves the issue

I'm using Google Pixel with the latest A13

I'm using inbuilt GBoard to type

I have tried both Copy/Pasting and using inbuilt password manager to fill out my credentials and login but still, no success so far.

It does not resolve the issue as I have done it 3 times already.

Erz3 commented 1 year ago

could it be produced by specials characters on passwords? I have got the same problem, I would check tomorrow with and easy password.

Erz3 commented 1 year ago

could it be produced by specials characters on passwords? I have got the same problem, I would check tomorrow with and easy password.

Checked, there are problems with special characters. For example, I have not problems with "@" and "*", but impossible with "&".

lloydtorres commented 1 year ago

@Erz3 Thanks so much for testing this! Part of this could definitely be an encoding issue, as you've called out with &. However, from previous user reports, I do recall simple alphanumeric passwords also being impacted somehow.

The bit of the app which sends the password to NationStates during login is here: https://github.com/lloydtorres/stately/blob/master/Stately/app/src/main/java/com/lloydtorres/stately/helpers/network/NSStringRequest.java#L125-L128

I'll play around with changing the encoding here once I have some free time.

samolukadjo commented 7 months ago

I don't encounter this bug only when using a letter only password

BillyMcGuyer commented 6 days ago

Just want to add that - for whatever reason - @samolukadjo fixed the problem for me. Changing my password a couple of times gave no results. However, removing the numbers from my password (leaving it consisting of letters and symbols still) randomly decided to let me log in again.

BillyMcGuyer commented 6 days ago

Just want to add that - for whatever reason - @samolukadjo fixed the problem for me. Changing my password a couple of times gave no results. However, removing the numbers from my password (leaving it consisting of letters and symbols still) randomly decided to let me log in again.

I was going to edit, but I'm not remotely familiar with how GitHub works so idk if it would notify of an edited message.

Turns out I was wrong, the numbers were not the issue for me. For me it seems the app doesn't like any password longer than 12 characters - I made one with 12 characters (mixed letters and symbols) and it worked, bumping it up to 16 broke it again. I knocked it back down to 13 and still didn't work.

A password of 12 characters - still containing letters, symbols and numbers - worked to let me in again.