Skip to content
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

Can't login! #233

Open
3000ye opened this issue Jun 21, 2022 · 12 comments
Open

Can't login! #233

3000ye opened this issue Jun 21, 2022 · 12 comments

Comments

@3000ye
Copy link

3000ye commented Jun 21, 2022

Problem Summary

when I enter :leetcode user -l

I ' m sure my account is correct, but I can 't log in

then I try: leetcode user -c

and it show: [ERROR] You are not login yet?

So, what should I do?

How to reproduce

Environment

  • leetcode-cli version:

| | | | | |
| | ___ | | ___ ___ __| | ___
| |/ _ / _ \ __|/ __|/ _ \ / ` |/ _
| | _/ / | (| (
) | (
| | __/
|
|_|_|_|_|_/ _,_|___| CLI v2.6.2

[Environment]
Node v12.22.12
OS linux 5.13.0-52-generic
Cache /home/ye/.lc/leetcode.cn/cache
Config /home/ye/.lc/config.json

[Configuration]
autologin {"enable":false,"retry":2}
code {"editor":"vim","lang":"cpp"}
file {"show":"${fid}.${slug}","submission":"${fid}.${slug}.${sid}.${ac}"}
color {"enable":true,"theme":"default"}
icon {"theme":""}
network {"concurrency":10,"delay":1}
app "leetcode.cn"

[Themes]
Colors blue,dark,default,molokai,orange,pink,solarized,solarized.light
Icons ascii,default,win7

[Plugins]
cache default
retry default
leetcode.cn 2018.11.25
leetcode default

@skapeyi
Copy link

skapeyi commented Jun 25, 2022

Been struggling to login too. I just get back and I am sure the password is fine.
Screenshot 2022-06-25 at 14 24 03

@reendael
Copy link

reendael commented Jul 3, 2022

Been struggling to login too. I just get back and I am sure the password is fine. Screenshot 2022-06-25 at 14 24 03

Same problem including the 'padLevels' circular dependency warning on

  • leetcode-cli 2.6.2-5245886
  • node.js v16.15.1
  • WSL2 Ubuntu 20.04.4 LTS (kernel 5.10.102.1-microsoft-standard-WSL2)

@edte
Copy link

edte commented Jul 8, 2022

same problem

@edte
Copy link

edte commented Jul 8, 2022

will,i fixed this problem by change leetcode.com to leetcode.cn at config files

@3000ye
Copy link
Author

3000ye commented Jul 9, 2022

will,i fixed this problem by change leetcode.com to leetcode.cn at config files

but my account is in US website, not Chinese.

@itsdhruvarora
Copy link

same issue

@edte
Copy link

edte commented Jul 26, 2022

#194

@ghost
Copy link

ghost commented Dec 4, 2022

Still looks like this doesn't work. At first i thought it was because I had special characters in my password as there is also an issue about that. But changing my password to just characters and numbers still results in not being able to log in with leetcode-cli -l attempting many times to ensure i am typing the correct account details.

@Sean-Shmulevich
Copy link

Yep me too tried using a VPN but it didn't help the issue

@DahxLi
Copy link

DahxLi commented Jan 16, 2023

me too

@mbledkowski
Copy link

Hi, developer of this extension has not been very active on GitHub since 2019. I created repository where I keep maintaining similar extension - https://github.com/mbledkowski/neuleetcode.vim. Please submit your issues there.

@Felix-hans
Copy link

The easiest way I found to overcome the problem was to do cookie login via "leetcode user -c".
Here is a manual:

LeetCode-OpenSource/vscode-leetcode#478 (comment)

Hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants