MateriiApps / OpenCord

An open-source Material You implementation of the Discord Android app
GNU General Public License v3.0
1.24k stars 99 forks source link

bug: handle other login errors such as new location #110

Open exkpwn opened 1 year ago

exkpwn commented 1 year ago

Can't login

rushiiMachine commented 1 year ago

are you gonna provide a log?

rushiiMachine commented 1 year ago

or a description of what actually happens?

zt64 commented 1 year ago

no

exkpwn commented 1 year ago

no i mean yes

so after entering email and pass, and pressing login the hcaptch dialogue shows up, but that's it no captcha or anything then it goes back to login screen with filled credentials

i thought might be isp issue so used vpn the issue remains

X1nto commented 1 year ago

Where did you download the build from?

exkpwn commented 1 year ago

the nightly zip

rushiiMachine commented 1 year ago

send log

exkpwn commented 1 year ago

well fuck

i gotta learn how to take logs I suppose thru adb or root?

exkpwn commented 1 year ago

okay i got it where do i send it

exkpwn commented 1 year ago

[2023-02-16-01-06-20.txt](https://github.com/MateriiApps/OpenCord/files/10746751/2023-02-16-01-06-20.txt)

Henry-Hiles commented 1 year ago

I had the same issue, I fixed it by opening the official client on the same device, logging in with the same account successfully, then after that logging into opencord.

X1nto commented 1 year ago

That makes no sense but if I had to guess, we're not sending some login data to the server properly

Henry-Hiles commented 1 year ago

Well for me it was because the captcha wouldn't load I think.

BigDogg99 commented 1 year ago

same problem captcha not loading

ThajASara commented 1 year ago

Same issue as well.

badbeing commented 1 year ago

For my case, I have successfully logged in (2fa enabled) but the app crashes after a few seconds logcat_02-19-2023_23-58-32.txt

X1nto commented 1 year ago

For my case, I have successfully logged in (2fa enabled) but the app crashes after a few seconds logcat_02-19-2023_23-58-32.txt

It seems like OpenCord is running out of memory. What's your phone specs?

badbeing commented 1 year ago

For my case, I have successfully logged in (2fa enabled) but the app crashes after a few seconds logcat_02-19-2023_23-58-32.txt

It seems like OpenCord is running out of memory. What's your phone specs?

Pixel 7 Pro with 12GB RAM and 128GB storage. It is ridiculous because I just checked my phone and it shows only 40GB storage is used.

Henry-Hiles commented 1 year ago

Its running out of RAM not storage. No idea why though, I have way less ram than you and it runs fine for me.

X1nto commented 1 year ago

Pixel 7 Pro with 12GB RAM and 128GB storage. It is ridiculous because I just checked my phone and it shows only 40GB storage is used.

I'm talking about RAM, not storage. Although the crash seems weird for a 12GB phone. Might be a memory leak. We're working on performance improvements lately so we should be able to identify the issue.

Henry-Hiles commented 1 year ago

Pixel 7 Pro with 12GB RAM and 128GB storage. It is ridiculous because I just checked my phone and it shows only 40GB storage is used. I'm talking about RAM, not storage. Although the crash seems weird for a 12GB phone. Might be a memory leak. We're working on performance improvements lately so we should be able to identify the issue.

You wrote that all in a quote btw.

X1nto commented 1 year ago

You wrote that all in a quote btw.

Goddamn it I hate GitHub

badbeing commented 1 year ago

logcat_02-20-2023_00-16-15.txt Here is the full log if you guys are interested in more details.

devhyper commented 1 year ago

For me it was the new login location prompt, after getting the official client to send the email it worked.