-
Notifications
You must be signed in to change notification settings - Fork 665
leetcode-cn.com account can not sign in with Error: certificate has expired #563
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
Comments
+1 |
@alexzhangwhu @kbkbks |
+1 |
how's it going,my friend. |
Still can not sign in. |
Will it work if using the cookie login? See: #478 (comment) |
@jdneo I think its not match leetcode-cn, leetcode-cn use a different way store cookie. |
+1 |
@ALL And if you want login you can try link GitHub and login, and make sure you have at least login once for your computer. |
acount login way still not available |
yeah, i have the same problem with account login...
|
That's wired. I tested locally and can login to @yihong0618 Can you login to leetcode.cn? |
Yes old terminal is fine using vscode-leetcode, I have tested, but when you use a new terminal all methods can not. You can try use leetcode-cli and use a new terminal for test, or you can sign up a new account . |
Thanks @yihong0618 what do you mean by |
@jdneo forget it . |
+1 |
@ALL @jdneo If you do not know how to update node you can try this https://stackoverflow.com/questions/10075990/upgrading-node-js-to-latest-version |
thanks @yihong0618, which solved this error! |
@dageita Its too wired. - - |
@yihong0618 I have nodejs v8.17.0 on centos7.5, but it still needs to update. |
can you help me find which is minimal? I update to 14.3 ... |
I also update to 14.3 😀 |
Minimal seems 10. |
upgrading nodejs to latest stable version solves the problem
sudo npm install n -g
sudo n stable
|
@yihong0618 I upgrade my node by nvm, but still occur 'certificate has expired' error. |
|
THX it's work! |
Thanks a lot! |
I notice that vscode-leetcode plugin requires a Node version newer than 10.0, so I manually fill in the leetcode-node path with a lts/erbium(Node v12.18.2), then I login successfully. 我注意到插件详情页有个需求是需要Node版本要10以上,所以就在vs设置页,找到leetcode的相关配置,手动填入了nodejs 12的版本路径,后来再次登录cn站就OK了 |
@jdneo can we add version check in vscode-leetcode init? |
🐛 Bug Report
leetcode-cn.com account can not sign in.
To Reproduce
Expected behavior
Sign in leetcode-cn.com correctly.
Extension Output
Your Environment
The text was updated successfully, but these errors were encountered: