Skip to content

Cant connect to leetcode.com #240

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

Closed
littlebeandog opened this issue Mar 27, 2019 · 19 comments
Closed

Cant connect to leetcode.com #240

littlebeandog opened this issue Mar 27, 2019 · 19 comments
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@littlebeandog
Copy link

🐛 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?

@jdneo
Copy link
Member

jdneo commented Mar 27, 2019

Are you behind a proxy?

@gislu
Copy link

gislu commented Mar 27, 2019

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

@defalt1996
Copy link

Same issue, No proxy.

@littlebeandog
Copy link
Author

Are you behind a proxy?

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

@jdneo
Copy link
Member

jdneo commented Apr 1, 2019

@ALL

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

@jdneo jdneo added the need more info Further information is requested label Apr 1, 2019
@gislu
Copy link

gislu commented Apr 1, 2019

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....

@jdneo jdneo added bug Something isn't working and removed need more info Further information is requested labels Apr 2, 2019
@jdneo jdneo added this to the 0.13.3 milestone Apr 2, 2019
@jdneo
Copy link
Member

jdneo commented Apr 2, 2019

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.

@littlebeandog
Copy link
Author

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?

@jdneo
Copy link
Member

jdneo commented Apr 3, 2019

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

See: #117 (comment)

@littlebeandog
Copy link
Author

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

See: #117 (comment)

Thanks !

@jdneo
Copy link
Member

jdneo commented Apr 3, 2019

@littlebeandog Does that work?

@littlebeandog
Copy link
Author

littlebeandog commented Apr 3, 2019

@littlebeandog Does that work?

It works fine.
Seems quit stable with proxy~

@Dark-Existed
Copy link

@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

@jdneo jdneo added the help wanted Extra attention is needed label Apr 4, 2019
@jdneo jdneo modified the milestones: 0.13.3, 0.13.4 Apr 4, 2019
@jdneo
Copy link
Member

jdneo commented Apr 16, 2019

The needed plugins are now embedded into the cli.

@jdneo jdneo closed this as completed Apr 16, 2019
@Leslie-Wong-H
Copy link

Using 0.13.3 right now, but still got this problem.

Error: connect ETIMEDOUT 104.24.125.31:443

@jianlong-yuan
Copy link

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

@chenxli
Copy link

chenxli commented Mar 31, 2020

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.....

@Hxyspace
Copy link

Same problem:
Error: connect ETIMEDOUT 104.18.35.28:443

@ifirdavs
Copy link

[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?]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

10 participants