vscode-leetcode icon indicating copy to clipboard operation
vscode-leetcode copied to clipboard

sign in error: unable to get local issuer certificate

Open chendl111 opened this issue 6 years ago • 12 comments

I can't sign in leetcode.com and the log is

[ERROR] You are not login yet?
login: pass: - Signing in leetcode.com
[ERROR] Error: unable to get local issuer certificate

chendl111 avatar Jul 17 '19 05:07 chendl111

Are you behind a proxy?

jdneo avatar Jul 17 '19 05:07 jdneo

I have the same problem and I closed the proxy.

v12.4.0 Active Name Version Desc

✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions. ✔ company 2017.12.18 Plugin to query by company for free user. ✔ cache default Plugin to provide local cache. ✔ retry default Plugin to retry last failed request if autologin.enable is on. ✘ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs. ✔ leetcode default Plugin to talk with leetcode APIs. Active Name Version Desc

✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions. ✔ company 2017.12.18 Plugin to query by company for free user. ✔ cache default Plugin to provide local cache. ✔ retry default Plugin to retry last failed request if autologin.enable is on. ✘ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs. ✔ leetcode default Plugin to talk with leetcode APIs. Active Name Version Desc

✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions. ✔ company 2017.12.18 Plugin to query by company for free user. ✔ cache default Plugin to provide local cache. ✔ retry default Plugin to retry last failed request if autologin.enable is on. ✔ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs. ✔ leetcode default Plugin to talk with leetcode APIs. Active Name Version Desc

✔ solution.discuss 2019.02.03 Plugin to fetch most voted solution in discussions. ✔ company 2017.12.18 Plugin to query by company for free user. ✔ cache default Plugin to provide local cache. ✔ retry default Plugin to retry last failed request if autologin.enable is on. ✘ leetcode.cn 2018.11.25 Plugin to talk with leetcode-cn APIs. ✔ leetcode default Plugin to talk with leetcode APIs. [ERROR] You are not login yet? login: pass: - Signing in leetcode.com [ERROR] invalid password?

CayChance avatar Jul 26 '19 03:07 CayChance

Hi @CayChance,

Thank you for reporting this. Does your password contain any special words in it? I'm not sure if it is possible for you to change to a simple password (just for testing purpose) to see if the problem still exist. It seems that someone has the same problem as yours: https://github.com/jdneo/vscode-leetcode/issues/304

jdneo avatar Jul 26 '19 03:07 jdneo

Thanks, @jdneo The problem has been solved by changing the password

CayChance avatar Jul 26 '19 11:07 CayChance

Hi @CayChance,

Thank you for the quick response. While it supposed that same password should both work for the website and the extension. But since you could not login using your previous password in the extension. I think there must be something wrong with the implementation.

Since the password contains secret information. So is it possible for you to just give me some hint to help investigation? Like, what kind of character will make the login fail.

jdneo avatar Jul 28 '19 08:07 jdneo

HI I have a similar issue here that i am able to login/refresh status etc. but always failed to do any thing about problems, like preview problem, submit/Test solution. it show the error [ERROR] Error: unable to get local issuer certificate image

I search for solution and it said i need to add certificate file to config, but which file i should add? and which config i can add to ?
pls help, thanks

asen0057 avatar Jul 29 '19 01:07 asen0057

HI I have a similar issue here that i am able to login/refresh status etc. but always failed to do any thing about problems, like preview problem, submit/Test solution. it show the error [ERROR] Error: unable to get local issuer certificate image

I search for solution and it said i need to add certificate file to config, but which file i should add? and which config i can add to ? pls help, thanks

some more info: I change my password this time and now can not even login... my new password only include numbers and lowercase

asen0057 avatar Jul 29 '19 02:07 asen0057

@asen0057 Your error is different from @CayChance's. Changing password would not help I think.

jdneo avatar Jul 29 '19 03:07 jdneo

Having same issue. got the below error while Testing solution

Input data: ["NumArray","sumRange","sumRange","sumRange"] [[[-2,0,3,-5,2,-1]],[0,2],[2,5],[0,5]]

  • Sending code to judge [ERROR] Error: unable to get local issuer certificate

And Yes, I'm behind a proxy and have set below proxy settings

"http.proxy": "myproxy:myport", "http.proxyStrictSSL": false,

aruntonic avatar Sep 11 '19 15:09 aruntonic

@jdneo I got this error in my work PC.With wireShark,I find that the firewall of my cimpany changed HTTPS handshake process.The ca file is replaced by the firewall.But I haven't found a solution for the problem,the firewall is not controlled.

LANB0 avatar Oct 21 '19 08:10 LANB0

@jdneo I got this error in my work PC.With wireShark,I find that the firewall of my cimpany changed HTTPS handshake process.The ca file is replaced by the firewall.But I haven't found a solution for the problem,the firewall is not controlled.

same with you

zeevenn avatar Dec 27 '24 04:12 zeevenn

你好,邮件已收到

chendl111 avatar Dec 27 '24 04:12 chendl111