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

Can not download problems

Open thiner opened this issue 5 years ago • 4 comments

I was not able to download problems after login. I'm running the plugin behind corporate firewall, I am sure the proxy setting is working fine. The LeetCode log as below:

VS Code: 1.47.2

v10.20.1
 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.
 Premium   User                 Host
------------------------------------------------------------
    ✘      undefined            https://leetcode.com
- Downloading problems
[ERROR] Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80
login: pass: - Signing in leetcode.com
[ERROR] Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80
- Downloading problems
[ERROR] Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80
- Downloading problems
[ERROR] Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80
- Downloading problems
[ERROR] Error: tunneling socket could not be established, cause=connect ECONNREFUSED 127.0.0.1:80

thiner avatar Jul 28 '20 07:07 thiner

same issue - not be able to download problems. But different error code: [ERROR] Error: self signed certificate in certificate chain Also behind corp firewall.

Yuhe9 avatar Aug 04 '20 01:08 Yuhe9

Same here. (VSCode 1.63.2)

v17.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.
(node:35028) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
 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.
(node:35029) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
 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.
(node:35030) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
 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.
(node:35031) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
 Premium   User                 Host
------------------------------------------------------------
    ✘      undefined            https://leetcode-cn.com
(node:35032) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
- Downloading problems
(node:35033) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[ERROR] Error: unable to get local issuer certificate
- Downloading problems
(node:35093) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[ERROR] Error: unable to get local issuer certificate
- Downloading problems
(node:35254) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
[ERROR] Error: unable to get local issuer certificate

medopaw avatar Jan 30 '22 09:01 medopaw

same issue:

`TypeError: Cannot read property 'toString' of undefined at /home/shangyexin2/.vscode-server/extensions/labuladong.leetcode-helper-1.0.0/node_modules/vsc-leetcode-cli/lib/log.js:55:31 at Array.map () at Object.log. [as info] (/home/shangyexin2/.vscode-server/extensions/labuladong.leetcode-helper-1.0.0/node_modules/vsc-leetcode-cli/lib/log.js:55:20) at /home/shangyexin2/.vscode-server/extensions/labuladong.leetcode-helper-1.0.0/node_modules/vsc-leetcode-cli/lib/commands/user.js:121:13 at /home/shangyexin2/.vscode-server/extensions/labuladong.leetcode-helper-1.0.0/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:523:14 at Request._callback (/home/shangyexin2/.vscode-server/extensions/labuladong.leetcode-helper-1.0.0/node_modules/vsc-leetcode-cli/lib/plugins/leetcode.js:422:19) at self.callback (/home/shangyexin2/.vscode-server/extensions/labuladong.leetcode-helper-1.0.0/node_modules/request/request.js:185:22) at Request.emit (events.js:375:28) at Request.onRequestError (/home/shangyexin2/.vscode-server/extensions/labuladong.leetcode-helper-1.0.0/node_modules/request/request.js:881:8) at ClientRequest.emit (events.js:375:28)

  • Downloading problems (node:2729138) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created) [ERROR] Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND locakhost`

RamboSofter avatar Apr 19 '22 12:04 RamboSofter