skygragon / leetcode-cli

A cli tool to enjoy leetcode!
MIT License
3.65k stars 458 forks source link

https://leetcode.com/accounts/login 403问题 #203

Open k2229293 opened 4 years ago

k2229293 commented 4 years ago

所有方法都已用尽. OS:cent os 7 npm:最新版 问题:登陆失败. 结果反馈:[ERROR] invalid password? 原因: 肯定不是我密码问题,美国区和中国区的账号密码都试了. -vv查看: https://leetcode.com/accounts/login 403 各种方法最后总是403.

ALL way had been tried. OS:cent os 7 nom version: the latest problem: log in failed response:[ERROR] invalid password? BUT password is right, I'm sure about that. Response of the command with -vv is "403 https://leetcode.com/accounts/login" .

eleijonmarck commented 4 years ago

same here

linivor commented 4 years ago

same here, any update?

sigino commented 4 years ago

Same here. Tried to log in using leetcode user -l -vv After entering the password and hitting ENTER, console shows [ERROR] invalid password?

In the debug information I can see

[TRACE] REQUEST %s make request https://leetcode.com/accounts/login/
| Signing in leetcode.com
[TRACE] REQUEST %s onRequestResponse https://leetcode.com/accounts/login/ 200 {...}

...

[TRACE] REQUEST %s reading response's body
[TRACE] REQUEST %s finish init function https://leetcode.com/accounts/login/
[TRACE] REQUEST %s response end https://leetcode.com/accounts/login/ 200 {...}

...

[TRACE] REQUEST %s end event https://leetcode.com/accounts/login/
[TRACE] REQUEST %s has body https://leetcode.com/accounts/login/ xxxxx
[TRACE] REQUEST %s emitting complete https://leetcode.com/accounts/login/
[TRACE] REQUEST %s {...}

...

[TRACE] REQUEST %s make request https://leetcode.com/accounts/login/
[TRACE] REQUEST %s onRequestResponse https://leetcode.com/accounts/login/ 403 {...}

...

[TRACE] REQUEST %s reading response's body
[TRACE] REQUEST %s finish init function https://leetcode.com/accounts/login/
[TRACE] REQUEST %s response end https://leetcode.com/accounts/login/ 403 {...}
sigino commented 4 years ago

Duplicate of #194

sigino commented 4 years ago

Fix in #194 works for me.

TianhuiHu commented 4 years ago

same here

zxmrlc commented 4 years ago

the same

luxp commented 4 years ago

You can try this for workaround: https://github.com/skygragon/leetcode-cli/issues/194#issuecomment-667641990