Comments (11)
Is this still happening? @OscarDeDios @EddyVinck
@gandarez I'm sorry for the delay to answer. I've just checked that it works with my proxy. Thanks!
from vscode-wakatime.
This is probably related to wakatime/wakatime#111, unless it's still stuck Initializing today?
from vscode-wakatime.
Is this fixed now?
from vscode-wakatime.
No, I still have the same issue with Atom also now.
from vscode-wakatime.
Following these instructions are there any error messages in your VS Code console or ~/.wakatime.log
file?
from vscode-wakatime.
Hi.
I have the same problem. I'm in a corporate net with proxy, but wakatime for sublime text works well in the same computer and environment.
In the wakatime log I only have sublime text logs.
In the developer tools of VSC I have this message:
socket could not be established, cause=write EPROTO 0:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:d:\buildagent\workspace\318698\vendor\node\deps\openssl\openssl\ssl\s23_clnt.c:794:
: Error: tunneling socket could not be established, cause=write EPROTO 0:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:d:\buildagent\workspace\318698\vendor\node\deps\openssl\openssl\ssl\s23_clnt.c:794:
at ClientRequest.onError (C:\Users\xxxxx\.vscode\extensions\WakaTime.vscode-wakatime-1.2.1\node_modules\request\node_modules\tunnel-agent\index.js:177:17)
at Object.onceWrapper (events.js:293:19)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:191:7)
at TLSSocket.socketErrorListener (_http_client.js:358:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:191:7)
at onwriteError (_stream_writable.js:341:10)
at onwrite (_stream_writable.js:359:5)
at fireErrorCallbacks (net.js:480:13)
at TLSSocket.Socket._destroy (net.js:521:3)
at WriteWrap.afterWrite (net.js:815:10)
/C:/Program Files (x86)/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:1306 ERR socket hang up: Error: socket hang up
at createHangUpError (_http_client.js:302:15)
at TLSSocket.socketCloseListener (_http_client.js:334:23)
at emitOne (events.js:101:20)
at TLSSocket.emit (events.js:191:7)
at _handle.close (net.js:510:12)
at TCP.done [as _onclose] (_tls_wrap.js:332:7)
Thanks.
from vscode-wakatime.
Same here. On Ubuntu 18.04.
Error 1
[vscode.git]Error parsing /home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/mime-types/package.json: Unexpected end of JSON input
e.$onExtensionRuntimeError @ mainThreadExtensionService.ts:43
e._doInvokeHandler @ rpcProtocol.ts:261
e._invokeHandler @ rpcProtocol.ts:246
e._receiveRequest @ rpcProtocol.ts:192
e._receiveOneMessage @ rpcProtocol.ts:174
(anonymous) @ rpcProtocol.ts:107
(anonymous) @ rpcProtocol.ts:303
e.fire @ event.ts:140
c @ ipc.net.ts:81
(anonymous) @ ipc.net.ts:108
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
mainThreadExtensionService.ts:44 SyntaxError: Error parsing /home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/mime-types/package.json: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at readPackage (module.js:92:52)
at tryPackage (module.js:102:13)
at Function.Module._findPath (module.js:183:20)
at Function.Module._resolveFilename (module.js:468:25)
at Function.Module._load (module.js:418:25)
at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:814:682)
at Function.o._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:765:373)
at Module.require (module.js:498:17)
at Module.patchedRequire [as require] (/usr/share/code/resources/app/extensions/git/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/request/request.js:13:12)
at Object.<anonymous> (/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/request/request.js:1554:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:814:682)
at Function.o._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:765:373)
at Module.require (module.js:498:17)
at Module.patchedRequire [as require] (/usr/share/code/resources/app/extensions/git/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/request/index.js:143:19)
at Object.<anonymous> (/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/request/index.js:157:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:814:682)
at Function.o._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:765:373)
at Module.require (module.js:498:17)
at Module.patchedRequire [as require] (/usr/share/code/resources/app/extensions/git/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/module.js:20:19)
at /home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/out/extension.js:591:79
at <anonymous>
e.$onExtensionRuntimeError @ mainThreadExtensionService.ts:44
e._doInvokeHandler @ rpcProtocol.ts:261
e._invokeHandler @ rpcProtocol.ts:246
e._receiveRequest @ rpcProtocol.ts:192
e._receiveOneMessage @ rpcProtocol.ts:174
(anonymous) @ rpcProtocol.ts:107
(anonymous) @ rpcProtocol.ts:303
e.fire @ event.ts:140
c @ ipc.net.ts:81
(anonymous) @ ipc.net.ts:108
emitOne @ events.js:96
emit @ events.js:191
readableAddChunk @ _stream_readable.js:178
Readable.push @ _stream_readable.js:136
onread @ net.js:560
Error 2
SyntaxError: Error parsing /home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/mime-types/package.json: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at readPackage (module.js:92:52)
at tryPackage (module.js:102:13)
at Function.Module._findPath (module.js:183:20)
at Function.Module._resolveFilename (module.js:468:25)
at Function.Module._load (module.js:418:25)
at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:814:682)
at Function.o._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:765:373)
at Module.require (module.js:498:17)
at Module.patchedRequire [as require] (/usr/share/code/resources/app/extensions/git/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/request/request.js:13:12)
at Object.<anonymous> (/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/request/request.js:1554:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:814:682)
at Function.o._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:765:373)
at Module.require (module.js:498:17)
at Module.patchedRequire [as require] (/usr/share/code/resources/app/extensions/git/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/request/index.js:143:19)
at Object.<anonymous> (/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/node_modules/request/index.js:157:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Function.t._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:814:682)
at Function.o._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:765:373)
at Module.require (module.js:498:17)
at Module.patchedRequire [as require] (/usr/share/code/resources/app/extensions/git/node_modules/diagnostic-channel/dist/src/patchRequire.js:14:46)
at require (internal/module.js:20:19)
at /home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/out/extension.js:591:79
at <anonymous>
Error 3
console.ts:136 [Extension Host] [WakaTime] [ERROR] python3: can't open file '/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/out/wakatime-master/wakatime/cli.py': [Errno 2] No such file or directory
Error 4
[Extension Host] [WakaTime] [ERROR] Error: Command failed: python3 /home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/out/wakatime-master/wakatime/cli.py --file /home/eddy/Documents/fem/complete-intro-to-react/index.html --plugin vscode/1.25.1 vscode-wakatime/1.2.3 --alternate-project complete-intro-to-react
python3: can't open file '/home/eddy/.vscode/extensions/WakaTime.vscode-wakatime-1.2.3/out/wakatime-master/wakatime/cli.py': [Errno 2] No such file or directory
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
console.ts:136 [Extension Host] [WakaTime] [ERROR] Unknown Error (2); Check your /home/eddy/.wakatime.log file for more details.
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:393
(anonymous) @ extensionHost.ts:210
emitTwo @ events.js:106
emit @ events.js:194
process.nextTick @ internal/child_process.js:766
_combinedTickCallback @ internal/process/next_tick.js:73
_tickCallback @ internal/process/next_tick.js:104
Error 5
[Extension Host] [WakaTime] [ERROR] Unknown Error (2); Check your /home/eddy/.wakatime.log file for more details.
Log
File does not exist
Thanks
from vscode-wakatime.
Is this still happening? @OscarDeDios @EddyVinck
from vscode-wakatime.
I'm on MacOS 10.13.6 and I'm getting the Wakatime initializing error too.
Developer tools show this:
from vscode-wakatime.
from vscode-wakatime.
Got it to work by reinstalling wakatime
removing every instance of wakatime from my machine and installing on vscode first and then sublime
I still haven't tried reinstalling the zsh plugin
from vscode-wakatime.
Related Issues (20)
- Linking work on Untitled documents to project/file
- Backoff rate limiter set too far in future, 2 years HOT 11
- Wakatime: working offline... HOT 2
- Status bar event listeners HOT 1
- VSCode doesn't "see" an `api_key` when using `import_cfg` and still always prompts for _WakaTime API key_
- Wakatime plugin always pops up the window requiring me to fill in my API key HOT 2
- LiteIDE Plugin HOT 1
- WakaTime doesn't work on WSL while using the extension locally on Windows HOT 3
- [Extension Host] [WakaTime][WARN] Failed to download https://github.com/wakatime/wakatime-cli/releases/latest/download/wakatime-cli-windows-amd64.zip
- Wakatime not working: Failed to download wakatime-cli HOT 4
- Open social media and other links on profile page in a new tab HOT 1
- Wakatime Error .wakatime.log HOT 1
- `api_key_vault_cmd` configuration option for shell command to get api key from vault fails with ENOENT HOT 4
- Failed fetching today from api HOT 4
- Live Shared Fix Counter
- WakaTime Initializing forever in Remote-WSL2 HOT 2
- WakaTime: working offline... coding activity will sync next time we are online HOT 15
- Dont ask API key everytime HOT 1
- Does not track time for Terminal HOT 2
- Don't save API key in settings.json HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-wakatime.