You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Network: corporate HTTPS proxy (HTTPS_PROXY=http://proxy.corp:8080) with a custom internal CA certificate installed in the Windows certificate store (but NOT in the system's NODE_EXTRA_CA_CERTS or OpenSSL bundle)
Problem
On first install (or after a CLI update), the extension downloads wakatime-cli via a Node.js HTTPS request. On corporate machines that:
Intercept TLS with a corporate CA (not in Mozilla/Node default bundle), OR
the download fails. The failure mode is silent: the extension shows "WakaTime: Downloading WakaTime CLI..." in the status bar, then stops — no error notification, no Output channel message with the actual TLS or proxy error.
Steps to Reproduce
Install WakaTime extension on a corporate Windows 11 machine behind an intercepting proxy.
On activation, observe status bar shows "Downloading WakaTime CLI..." indefinitely.
Check %USERPROFILE%\.wakatime\wakatime-cli.log — ECONNREFUSED or unable to get local issuer certificate.
Expected
Extension should read http.proxy and http.proxyStrictSSL from VS Code settings and pass them (+ NODE_EXTRA_CA_CERTS if set) to the CLI download request.
On failure: surface actionable error in Notification + Output panel with the raw TLS/proxy error and a pointer to manual CLI install instructions.
Workaround
Manually download wakatime-cli from GitHub Releases to %USERPROFILE%\.wakatime\ and set wakatime.cliPath — but this is not documented in the extension README.
Related
Error when download cli #415 (proxy setting ignored for SSH remote) — similar root cause: system proxy not propagated to extension download code
Environment
HTTPS_PROXY=http://proxy.corp:8080) with a custom internal CA certificate installed in the Windows certificate store (but NOT in the system'sNODE_EXTRA_CA_CERTSor OpenSSL bundle)Problem
On first install (or after a CLI update), the extension downloads
wakatime-clivia a Node.js HTTPS request. On corporate machines that:Proxy-Authorizationheader)the download fails. The failure mode is silent: the extension shows "WakaTime: Downloading WakaTime CLI..." in the status bar, then stops — no error notification, no Output channel message with the actual TLS or proxy error.
Steps to Reproduce
%USERPROFILE%\.wakatime\wakatime-cli.log— ECONNREFUSED orunable to get local issuer certificate.Expected
http.proxyandhttp.proxyStrictSSLfrom VS Code settings and pass them (+NODE_EXTRA_CA_CERTSif set) to the CLI download request.Workaround
Manually download
wakatime-clifrom GitHub Releases to%USERPROFILE%\.wakatime\and setwakatime.cliPath— but this is not documented in the extension README.Related