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

Cant connect to leetcode.com

Open littlebeandog opened this issue 7 years ago • 19 comments

🐛 Bug Report

It's fine to access leetcode.com using chrome,but unable to login or submit problem with the extension. Error message: [ERROR] Error: connect ETIMEDOUT 104.24.124.31:443

This condition didn't appear until 2019.03.27, is it my network problem?

littlebeandog avatar Mar 27 '19 02:03 littlebeandog

Are you behind a proxy?

jdneo avatar Mar 27 '19 10:03 jdneo

Got the same issue while I can login in browser normally.... "[ERROR] Error: connect ETIMEDOUT 104.24.125.31:443"

gislu avatar Mar 27 '19 16:03 gislu

Same issue, No proxy.

defalt1996 avatar Mar 29 '19 05:03 defalt1996

Are you behind a proxy?

nope.. and it happens frequently since I firstly report this issue.

littlebeandog avatar Mar 29 '19 09:03 littlebeandog

@all

Is this a stable repro issue or does it just appear sometimes?

jdneo avatar Apr 01 '19 06:04 jdneo

for me it always failed like that Works good without company proxy. So I guess it's proxy issue... Is there any way to let this plugin work under proxy? I try to capture the network request by toggle tool but get nothing. So the whole process is black to me....

gislu avatar Apr 01 '19 16:04 gislu

Solution:

We should embed the plugins by default and remove the install plugin logic in the code to avoid user get blocked because of the network issue.

jdneo avatar Apr 02 '19 13:04 jdneo

Solution:

We should embed the plugins by default and remove the install plugin logic in the code to avoid user get blocked because of the network issue.

Dude, I've read and tried to understand your reply for couple times, but still can't get it - -

I think gislu is right, it seems like network promblem cuz endpoint leetcode-cn works perfectly. Is that possible to add a feature to config proxy for this plugin?

littlebeandog avatar Apr 03 '19 08:04 littlebeandog

Config proxy is supported, actually, the extension should honor the proxy setting in VS Code.

See: https://github.com/jdneo/vscode-leetcode/issues/117#issuecomment-466770086

jdneo avatar Apr 03 '19 08:04 jdneo

Config proxy is supported, actually, the extension should honor the proxy setting in VS Code.

See: #117 (comment)

Thanks !

littlebeandog avatar Apr 03 '19 08:04 littlebeandog

@littlebeandog Does that work?

jdneo avatar Apr 03 '19 08:04 jdneo

@littlebeandog Does that work?

It works fine. Seems quit stable with proxy~

littlebeandog avatar Apr 03 '19 10:04 littlebeandog

@jdneo hi, I have the same problem image I didn't use any proxy, leetcode-cn work for me in broswer. when I test my code, or submit my code, this error happen. [ERROR] Error: connect ETIMEDOUT 47.99.228.218:443

Dark-Existed avatar Apr 04 '19 04:04 Dark-Existed

The needed plugins are now embedded into the cli.

jdneo avatar Apr 16 '19 12:04 jdneo

Using 0.13.3 right now, but still got this problem.

Error: connect ETIMEDOUT 104.24.125.31:443

Leslie-Wong-H avatar Apr 19 '19 10:04 Leslie-Wong-H

Same problem: [ERROR] Error: connect ETIMEDOUT 47.99.228.218:443

jianlong-yuan avatar Aug 13 '19 06:08 jianlong-yuan

I also meet this problem today, but since yesterday I can't open the leetcode page, and then the vscode appear this problem too, but the day before yesterday everything is OK..... I don't know the reason.....

chenxli avatar Mar 31 '20 08:03 chenxli

Same problem: Error: connect ETIMEDOUT 104.18.35.28:443

Hxyspace avatar Apr 13 '20 10:04 Hxyspace

[SOLVED]

For me I turned off my VPN extension on my browser through Manage Extensions, it accessed leetcode.com instantly! Interesting, why these VPN extensions specifically block some websites... [obviously]... [is that allowed?]

ifirdavs avatar Sep 28 '23 18:09 ifirdavs